- Stable model ID:
gemini-3-pro-image - LaoZhang API price: currently $0.09/call; confirm price and charges in the console
- Professional capabilities: 1K/2K/4K, complex layout, text rendering, thinking, and Search grounding
- Multi-image workflows: Brand assets, product images, posters, infographics, and precise editing
API Console
🚀 Live Demo
Prerequisites
Get API Key
Configure Billing Mode
- Pay-per-use Priority (Recommended): Use balance first, auto-switch when insufficient. Best for most users
- Pay-per-use: Direct charge per request. Best for strict budget control

Model Overview
Nano Banana Pro is the market name for Google’s Gemini 3 Pro Image (gemini-3-pro-image). The current model ID is stable and designed for high-quality professional asset production and complex semantic control.
Core Advantages
- 🌟 Native 4K Resolution: Generate up to 4096×4096 ultra-high-definition images.
- 🧠 Gemini 3 Intelligence: Built-in logical reasoning, understands abstract descriptions like “a cat looking at an empty bowl with disappointment after missing breakfast”.
- 💪 Complex Composition: Precise control over object placement, quantity, and text rendering.
- 💰 Best Price: $0.09/image for premium image generation use cases.
🌟 Core Features
- ⚡ Fast Response: ~10 seconds average, significantly faster than OpenAI series
- 💰 Cost-Controlled: $0.09/image (current price shown in console)
- 🔄 Dual Compatibility: Supports OpenAI SDK and Google native formats
- 📐 Flexible Sizes: Google native format supports 14 aspect ratios
- 🖼️ High Resolution: Supports 1K, 2K, 4K resolutions
- 🧠 Thinking Mode: Built-in reasoning process, optimizes composition before generation (enabled by default)
- 🌐 Search Grounding: Supports Google Search for fact verification and image generation
- 🎨 Multi-Image Reference: Supports up to 14 reference images (6 objects + 5 characters, etc.)
- 📦 Base64 Output: Returns base64 encoded image data directly, no secondary download needed
🔀 Two API Modes
Nano Banana Pro supports two endpoints, each with unique advantages:📋 Model Comparison
Comparison with Other Image Models
🚀 Quick Start
Prerequisites
Create Token

Select Billing Type
Save Token
sk-xxxxxxMethod 1: OpenAI Compatible Mode (1:1 Images)
Best for quick integration, generates 1024x1024 (1K) images by default.Basic Example - Curl
Python SDK Example
Method 2: Google Native Format (Custom Aspect Ratio + 4K)
Best for 4K resolution or custom aspect ratio needs.Supported Aspect Ratios
Supported Resolutions
Complete Curl Example (Text-to-Image 4K)
Python Code Examples
Example 1: Text-to-Image → Generate First Image
Example 1: Text-to-Image → Generate First Image
Example 2: Image-to-Image → Use First Image to Generate Second
Example 2: Image-to-Image → Use First Image to Generate Second
Example 3: Multi-Image Mix → Use First and Second to Generate Third
Example 3: Multi-Image Mix → Use First and Second to Generate Third
Complete Demo Script (All Three Scenarios)
Complete Demo Script (All Three Scenarios)
Bash Script Example
Expand to view complete Bash script (with aspect ratio config)
Expand to view complete Bash script (with aspect ratio config)
🚀 Gemini 3 Pro Advanced Features (Nano Banana Pro Exclusive)
🧠 Thinking Mode
Nano Banana Pro has built-in reasoning capability that automatically optimizes composition and logic before generating images to ensure higher quality output. This feature is enabled by default, no extra configuration needed.🌐 Google Search Grounding
The model can use Google Search as a tool to generate images using real-time data (weather, stock prices, news).responseModalities must include "TEXT" (i.e., ["TEXT", "IMAGE"]). Pure image mode cannot return search results.🎨 Multi-Image Reference (Reference Images)
Nano Banana Pro supports mixing up to 14 reference images:- Up to 6 high-fidelity object images (for inclusion in final image)
- Up to 5 person images (for maintaining character consistency)
💡 Best Practices
Prompt Optimization
Clear Description
Reference Style
Avoid Vagueness
English First
Aspect Ratio Selection Guide
❓ FAQ
How to test Nano Banana Pro API online?
How to test Nano Banana Pro API online?
- Visit api2.laozhang.ai to register
- Create token and select “Pay-per-use”
- Call the
gemini-3-pro-imagemodel - Check actual charges in the console call logs
What is the Nano Banana Pro API price?
What is the Nano Banana Pro API price?
How to test Nano Banana Pro API online?
How to test Nano Banana Pro API online?
What's the difference between Nano Banana Pro and Nano Banana?
What's the difference between Nano Banana Pro and Nano Banana?
How to choose the API mode?
How to choose the API mode?
- For 1:1 square images only, use OpenAI Compatible Mode - simpler
- For specific aspect ratios (like 16:9 widescreen) or high-res (2K/4K), use Google Native Format
How to use 4K resolution?
How to use 4K resolution?
imageSize parameter:Does it support Chinese prompts?
Does it support Chinese prompts?
How to get better generation results?
How to get better generation results?
- Detailed description: Provide specific details (color, style, scene, etc.)
- English prompts: English typically works better
- Reference style: Specify art style (like “oil painting style”, “watercolor”)
- Multiple attempts: Try different prompts, pricing is affordable
How to use the returned Base64 data?
How to use the returned Base64 data?
🔗 Related Resources
Pro Image Editing
Nano Banana 2 Image Generation
Standard Image Generation
Token Management
Pricing
📝 Changelog
2025-01: Nano Banana Pro standalone documentation launched
2025-01: Nano Banana Pro standalone documentation launched
- Split from combined documentation into dedicated Pro version
- Complete 4K resolution usage guide
- Detailed advanced features (thinking mode, search grounding, multi-image reference)
- Complete code examples and best practices
- Comparison with Nano Banana Standard