🚀 Nano Banana 2 is Now Live!
Google’s latest generation image model Nano Banana 2 (internal code name) is officially released!
- 🆕 Model Name:
gemini-3-pro-image-preview - 🧠 Powered by Gemini 3: Stronger reasoning capabilities and image quality
- 🔄 Seamless Switch: Same calling method as the old version, just change the model name
- ✅ Legacy Supported:
gemini-2.5-flash-imagecontinues to serve stably - 📐 High-Res Support: Supports 1K, 2K, 4K resolutions (Nano Banana 2 only)
- 💰 Pricing: Nano Banana $0.025/edit (37.5% off), Nano Banana 2 $0.05/edit (79% off official $0.24)
Model Overview
Google’s Nano Banana series is the internal code name for its image generation technology, currently offering two generations:🆕 Nano Banana 2 (Latest)
- Model Name:
gemini-3-pro-image-preview - Version: Preview
- Technology: Based on Gemini 3 architecture, stronger reasoning
- Features: Latest technology, superior image quality and details
- Resolution: Supports 1K, 2K, 4K resolutions
- Price: $0.05/edit (79% cheaper than official $0.24)
- Use Case: Best quality, high resolution, willing to try new features
🛡️ Nano Banana (Stable)
- Model Name:
gemini-2.5-flash-image - Version: Stable
- Technology: Based on Gemini 2.5 architecture
- Features: Stable and reliable, production recommended
- Resolution: Fixed 1K (1024px), does not support imageSize parameter
- Price: $0.025/edit (37.5% cheaper than official $0.04)
- Use Case: Production environments requiring stability
🌟 Common Features
Both generations support the following core capabilities:🎨 Core Functions
- ✅ Supports both OpenAI-compatible format and Google native format
- 🎭 Supports single/multi-image intelligent editing
- 📐 Supports custom aspect ratios (16:9, 9:16, and 10 ratios)
- 🖼️ Nano Banana 2 Exclusive: Supports 1K, 2K, 4K resolutions
- ⚡ Completes editing in ~10 seconds on average
- 💰 Great value: Nano Banana $0.025/edit (37.5% off), Nano Banana 2 $0.05/edit (79% off)
🔀 Two Calling Methods
| Feature | OpenAI Compatible Mode | Google Native Format |
|---|---|---|
| Endpoint | /v1/chat/completions | /v1beta/models/gemini-2.5-flash-image:generateContent |
| Output Size | Default ratio | Supports 10 aspect ratios |
| Resolution | Fixed 1K | Nano Banana 2 supports 1K/2K/4K, Nano Banana fixed 1K |
| Multi-image | ✅ Supported | ✅ Supported |
| Compatibility | Perfect OpenAI SDK compatibility | Requires native calling |
| Return Format | Base64 | Base64 |
| Image Input | URL or Base64 | Base64 (inline_data) |
📋 Nano Banana Series Comparison
Series Model Comparison
| Model | Code Name | Model ID | Version | Tech Base | Resolution | Price | Recommended Scenario |
|---|---|---|---|---|---|---|---|
| Nano Banana 2 | 🆕 Latest | gemini-3-pro-image-preview | Preview | Gemini 3 | 1K/2K/4K | $0.05/edit | Best quality, high resolution needed |
| Nano Banana | 🛡️ Stable | gemini-2.5-flash-image | Stable | Gemini 2.5 | 1K (Fixed) | $0.025/edit | Production environment |
Comparison with Other Models
| Model | Model ID | Billing | LaoZhang Price | Official Price | Savings | Resolution | Speed |
|---|---|---|---|---|---|---|---|
| Nano Banana 2 | gemini-3-pro-image-preview | Per Request | $0.05/edit | $0.24/edit | 79% | 1K/2K/4K | ~10s |
| Nano Banana | gemini-2.5-flash-image | Per Request | $0.025/edit | $0.04/edit | 37.5% | 1K (Fixed) | ~10s |
| GPT-4o Edit | gpt-4o | Token | - | - | - | - | ~20s |
| DALL·E 2 Edit | dall-e-2 | Per Request | - | $0.018/image | - | Fixed | Slower |
🚀 Quick Start
Prerequisites
1
Create Token
Log in to LaoZhang API Token Management and create a per-request billing token

2
Select Billing Method
Important: Must select “Per-Request Billing” type, not “Pay-As-You-Go”
3
Save Token
Copy the generated token, format is
sk-xxxxxxMethod 1: OpenAI Compatible Mode
Single Image Edit - Curl
Single Image Edit - Python SDK
Multi-image Composition - Python SDK
Method 2: Google Native Format (Custom Aspect Ratios)
Python Code Examples
💡 Progressive Relationship of Three Examples
Example 1 edits image → Example 2 uses it for style transfer → Example 3 combines the first two. Clear logic!
Example 1 edits image → Example 2 uses it for style transfer → Example 3 combines the first two. Clear logic!
Example 1: Single Image Edit → Add Elements to Generate First Image
Example 1: Single Image Edit → Add Elements to Generate First Image
Example 2: Style Transfer → Use First Image to Generate Second Image
Example 2: Style Transfer → Use First Image to Generate Second Image
Example 3: Multi-Image Fusion → Combine First and Second Images to Generate Third
Example 3: Multi-Image Fusion → Combine First and Second Images to Generate Third
Complete Python Tool Script
Expand to view complete Python script (with aspect ratio support)
Expand to view complete Python script (with aspect ratio support)
🎯 Use Cases
Element Addition
Add new elements to existing images (people, animals, objects, etc.)
Style Conversion
Convert images to different art styles (oil painting, watercolor, cartoon, etc.)
Multi-image Composition
Merge multiple images into one creative work
Scene Transformation
Change image background, lighting, season, and other environmental factors
Product Display
Place product images in different scenarios for display
Creative Design
Provide rapid prototyping and creative inspiration for designers
💡 Best Practices
Editing Prompt Tips
1
Preserve Original
If you want to preserve most of the original, clearly state “keep the original composition” or similar
2
Specific Description
Describe in detail the elements to add or modify, including position, size, style, etc.
3
Style Consistency
If style consistency is needed, state “in the same style as the original image”
4
Multi-image Processing
When processing multiple images, clearly explain how to combine them (“merge”, “combine”, “place side by side”, etc.)
Aspect Ratio Selection Guide
| Original Ratio | Recommended Output | Notes |
|---|---|---|
| Landscape photo | 16:9 or 4:3 | Suitable for horizontal display |
| Portrait photo | 9:16 or 3:4 | Suitable for phone wallpaper, posters |
| Square | 1:1 | Suitable for social media |
| Uncertain | 1:1 | Universal choice |
❓ FAQ
Q1: What’s the difference between Nano Banana and Nano Banana 2?
| Feature | Nano Banana | Nano Banana 2 |
|---|---|---|
| Model ID | gemini-2.5-flash-image | gemini-3-pro-image-preview |
| Version | Stable | Preview |
| Tech Base | Gemini 2.5 | Gemini 3 |
| Resolution | Fixed 1K (1024px) | 1K/2K/4K |
| Price | $0.025/edit | $0.05/edit |
| Thinking Mode | ❌ No | ✅ Yes (built-in) |
| Search Grounding | ❌ No | ✅ Yes |
| Multi-image | ✅ Yes (up to 3) | ✅ Yes (up to 14) |
| Speed | ~10s | ~10s |
| Recommended For | Production, stability priority | Best quality, high resolution |
Q2: Which model should I choose?
Choose Nano Banana (gemini-2.5-flash-image) if:
- ✅ You need production stability
- ✅ 1K resolution is sufficient
- ✅ You want the lowest cost ($0.025/edit)
gemini-3-pro-image-preview) if:
- ✅ You need high resolution (2K/4K)
- ✅ You want the best image quality
- ✅ You need advanced features (Thinking Mode, Search Grounding)
- ✅ You’re willing to use a preview version
Q3: How do I switch between models?
Very simple! Just change the model name: OpenAI Compatible Mode:Q4: How do I use 4K resolution?
4K is only supported by Nano Banana 2, use Google native format and add theimageSize parameter:
Q5: What image formats are supported?
Supports common image formats:- JPG/JPEG
- PNG
- WebP
- GIF (static)
Q6: Is there a size limit?
- Recommended size: Single image ≤ 5MB
- Maximum size: ≤ 10MB
- Oversized images increase processing time, recommend compressing before upload
Q7: How many images can be processed at once?
- Nano Banana: Supports multiple images (recommend ≤ 3)
- Nano Banana 2: Supports multiple images (up to 14, recommend ≤ 4)
- Too many images affect generation quality and processing time
Q8: Why is Nano Banana 2 so much cheaper on LaoZhang API?
| Model | LaoZhang API | Official | Savings |
|---|---|---|---|
| Nano Banana 2 | $0.05/edit | $0.24/edit | 79% |
| Nano Banana | $0.025/edit | $0.04/edit | 37.5% |
📝 Changelog
2025-01-XX
- 🆕 Added Nano Banana 2 (
gemini-3-pro-image-preview) support - 🎨 Added 4K resolution support (Nano Banana 2 only)
- 🧠 Added Thinking Mode (built-in reasoning, enabled by default)
- 🌐 Added Google Search Grounding support
- 🖼️ Expanded multi-image support to 14 images (Nano Banana 2)
- 💰 Updated pricing: Nano Banana 2 $0.05/edit (79% off official $0.24)
- 📊 Added complete resolution table
- 🔧 Updated model comparison and switching instructions
2024-12-XX
- 🎉 Initial release of Nano Banana (
gemini-2.5-flash-image) - 🎨 Support for 10 aspect ratios
- 💰 Pricing: $0.025/edit (37.5% off official)