Nano Banana 2: the 4K, high-throughput value route
- Stable model ID:
gemini-3.1-flash-image - LaoZhang API price: currently $0.055/call; confirm price and charges in the console
- Resolution: 0.5K, 1K, 2K, and 4K
- Full workflow: Generation, editing, text rendering, OpenAI SDK, and Gemini-native requests
API Console
Create an API key, review balance, and inspect call logs
🚀 Live Demo
YingTu AI - Try instantly, no code required
Prerequisites
1
Get API Key
Login to laozhang.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
Both modes have identical pricing at $0.055/image, only the billing method differs.

Model Overview
Nano Banana 2 is the market name for Google’s Gemini 3.1 Flash Image (gemini-3.1-flash-image). The current model ID is stable and targets speed, high throughput, 4K, and general production image work.
Nano Banana 2 uses the same core request patterns as Nano Banana Pro. Replace the model name with gemini-3.1-flash-image and follow this page’s resolution and feature boundaries.
📋 Nano Banana Model Comparison
🚀 Quick Start: OpenAI Compatible Mode
Curl Example
Python SDK Example
🎨 Image Editing
Nano Banana 2 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.
For more image editing features (multi-image fusion, 4K output, Google native format, etc.), see the Nano Banana Pro Image Editing docs and replace the model name with
gemini-3.1-flash-image.📖 Complete Usage Guide
Nano Banana 2 API calls are identical to Nano Banana Pro, including OpenAI compatible mode and Google native format. Simply replace the model name from
gemini-3-pro-image to gemini-3.1-flash-image - no other code changes needed.Pro Text-to-Image Guide
4K resolution, Google native format, multiple aspect ratios, complete code examples
Pro Image Editing Guide
Style transfer, multi-image fusion, 4K HD editing, URL input method
Token Management
Create and manage your API tokens
Pricing
View detailed pricing and billing information
❓ FAQ
What's the difference between Nano Banana 2 and Nano Banana Pro?
What's the difference between Nano Banana 2 and Nano Banana Pro?
Both use the same core request structure. Nano Banana 2 prioritizes speed and high throughput, while Pro prioritizes complex professional assets.
How to migrate from Pro to Banana 2?
How to migrate from Pro to Banana 2?
Replace
gemini-3-pro-image with gemini-3.1-flash-image, then verify resolution, Search grounding, reference-image, and response-parsing behavior against this page’s capability boundaries.Does Banana 2 support Google native format?
Does Banana 2 support Google native format?
Yes, fully supported! Use this endpoint:Supports 14 discrete aspect ratios and 0.5K/1K/2K/4K output. The core request shape is similar to Pro, but follow this page’s capability boundaries.
Does Banana 2 support image editing?
Does Banana 2 support image editing?
Yes! Full text-to-image and image editing features. See the Pro Image Editing docs for details.
How much does the Nano Banana 2 API cost?
How much does the Nano Banana 2 API cost?
LaoZhang API currently charges $0.055 per call; confirm pricing and charges in the console. Google Standard currently varies from $0.045 at 0.5K to $0.151 at 4K, so compare like-for-like resolutions.
Does the Nano Banana 2 API support high concurrency?
Does the Nano Banana 2 API support high concurrency?
Nano Banana 2 targets high-throughput workloads, and LaoZhang API does not publish a fixed low gateway concurrency plan. Google upstream can still enforce RPM/IPM, project quota, real-time capacity, and safety policy. Confirm capacity before sustained large-volume launch.
How do I get a Nano Banana 2 API key?
How do I get a Nano Banana 2 API key?
Create an API key in Token Management and authenticate with
Authorization: Bearer YOUR_API_KEY. Never expose the key in browser code or a public repository.📝 Changelog
May 2026: Nano Banana 2 stable model update
May 2026: Nano Banana 2 stable model update
Nano Banana 2 now uses the stable model ID
- Uses
gemini-3.1-flash-imageinstead of the retired preview ID - Pricing has been synced to the current page rate while keeping the same value positioning
- Supports generation, editing, and 0.5K/1K/2K/4K output