What is Nano Banana
Nano Banana is Gemini’s multimodal image generation capability, using the samegenerateContent endpoint as text models.
| Model | Model ID | Features |
|---|---|---|
| Nano Banana | gemini-2.5-flash-image | Speed optimized for high-volume tasks |
| Nano Banana Pro | gemini-3-pro-image-preview | Professional production, advanced reasoning, high-fidelity text rendering, up to 4K resolution |
Endpoints
Same as text models:| Type | Endpoint |
|---|---|
| Non-Streaming | POST /v1beta/models/{model}:generateContent |
| Streaming | POST /v1beta/models/{model}:streamGenerateContent |
Text to Image
- cURL
- Python
- Node.js
Image to Image (with Reference)
Upload a reference image and generate a new one with text prompts:- cURL
- Python
- Node.js
Response Format
Image generation responses are multimodal, containing text and base64-encoded image data:More Features
Nano Banana Documentation
Supports multi-turn editing, 4K resolution, multi-image composition, and more