- Great Value: Only $0.055/image, cheaper than Pro
- 4K Quality: Supports 1K, 2K, 4K resolutions
- Full Features: Text-to-image + image editing, compatible with OpenAI SDK and Google native format
🎁 Free Trial
Register and get $0.5 credit toward Nano Banana2 usage🚀 Live Demo
AI Images - Try instantly, no code requiredPrerequisites
1 Get API Key Login to YeLIn AI console to get your API key 2 Configure Billing Mode Edit token settings and select one of these billing modes (same price):- Pay-per-use Priority (Recommended): Use balance first, auto-switch when insufficient
- Pay-per-use: Direct charge per request, best for strict budget control
请在 Console 查看对应界面截图。
Model Overview
Nano Banana2 is LaoZhang API’s custom name for Google’s Gemini 3.1 Flash Image Preview (gemini-3.1-flash-image-preview) model. Built on the latest Gemini 3.1 Flash architecture, it delivers high-quality output with better value.
Nano Banana2 usage is identical to Nano Banana Pro - just replace the model name with gemini-3.1-flash-image-preview.
📋 Nano Banana Model Comparison
| Model | Model ID | Billing | LaoZhang API Price | Resolution | Speed | Highlight |
|---|---|---|---|---|---|---|
| Nano Banana Pro | gemini-3-pro-image-preview | Per-use | $0.09/image | 1K/2K/4K | ~10s | Most intelligent, complex instructions |
| Nano Banana2 | gemini-3.1-flash-image-preview | Per-use | $0.055/image | 1K/2K/4K | ~10s | Best value, high quality |
| Nano Banana | gemini-2.5-flash-image | Per-use | $0.025/image | 1K (fixed) | ~10s | Basic, stable & reliable |
- Ultimate quality & complex instructions: Choose Nano Banana Pro ($0.09/image)
- Best value for advanced use: Choose Nano Banana2 ($0.055/image)
- Budget-conscious, basic needs: Choose Nano Banana Standard ($0.025/image)
🚀 Quick Start: OpenAI Compatible Mode
Curl Example
Python SDK Example
🎨 Image Editing
Nano Banana2 also supports image editing, with usage identical to Pro. Simply include reference images and editing instructions in your request, using model namegemini-3.1-flash-image-preview.
gemini-3.1-flash-image-preview.
📖 Complete Usage Guide
Nano Banana2 API calls are identical to Nano Banana Pro, including OpenAI compatible mode and Google native format. Simply replace the model name fromgemini-3-pro-image-preview to gemini-3.1-flash-image-preview - no other code changes needed.
Pro Text-to-Image Guide
4K resolution, Google native format, multiple aspect ratios, complete code examplesPro Image Editing Guide
Style transfer, multi-image fusion, 4K HD editing, URL input methodToken Management
Create and manage your API tokensPricing
View detailed pricing and billing information❓ FAQ
What’s the difference between Nano Banana2 and Nano Banana Pro?| Feature | Nano Banana Pro | Nano Banana2 |
|---|---|---|
| Model | gemini-3-pro-image-preview | gemini-3.1-flash-image-preview |
| Technology | Gemini 3 Pro | Gemini 3.1 Flash |
| Resolution | 1K/2K/4K | 1K/2K/4K |
| Price | $0.09/image | $0.055/image |
| API Usage | Identical | Identical |
gemini-3-pro-image-preview to gemini-3.1-flash-image-preview. Everything else stays the same.
Does Banana2 support Google native format?
Yes, fully supported! Use this endpoint:
📝 Changelog
2026-02: Nano Banana2 Launched 🆕 Nano Banana2 Released- Based on Gemini 3.1 Flash architecture
- Pricing has been synced to the current page rate while keeping the same value positioning
- Usage identical to Nano Banana Pro
- Supports text-to-image, image editing, 4K resolution