Nano Banana 2
Speed-optimized image generation and conversational editing model for high-volume use.
Specs
- Context
- —
- Max output
- 32.8K
- Input price
- $0.5/ 1M tokens
- Output price
- $60/ 1M tokens
- Released
- 2026-05-28
Context
- Context window
- —
- Max input
- 131.1K
- Max output
- 32.8K
Pricing · USD / 1M tokens
- Input
- $0.5
- Output
- $60
- Cache read
- —
- Cache write
- —
Modalities
- Input
- TextImageVideoDocument
- Output
- ImageText
API
- API types
Reasoning
- Reasoning
- Yes
- Levels
- —
Info
- Status
- Deprecated
- Released
- 2026-05-28
- Knowledge cutoff
- 2025-01
Features
- Confirmed
How to call
1 provider
googlemodel = gemini-3.1-flash-image
images
POSThttps://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent
batch
POSThttps://generativelanguage.googleapis.com/v1beta/models/{model}:batchGenerateContent
JSON
Standard format
{
"id": "gemini-3.1-flash-image",
"object": "model",
"created": 1779926400,
"owned_by": "google",
"name": "Nano Banana 2",
"api": {
"types": [
"images",
"batch"
]
},
"limits": {
"context": null,
"input": 131072,
"output": 32768
},
"modalities": {
"input": [
"text",
"image",
"video",
"document"
],
"output": [
"image",
"text"
]
},
"reasoning": {
"supported": true,
"efforts": []
},
"pricing": {
"currency": "USD",
"unit": "1M_tokens",
"input": 0.5,
"output": 60,
"cache_read": null,
"cache_write": null
},
"features": [
"batch"
],
"info": {
"status": "deprecated",
"release_date": "2026-05-28",
"knowledge_cutoff": "2025-01",
"description": "Speed-optimized image generation and conversational editing model for high-volume use.",
"docs": "https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image",
"verified_at": "2026-10-11"
}
}Official sources
7
Nano Banana 2 | Gemini APIai.google.dev2026-10-10Models | Gemini APIai.google.dev2026-10-10Pricing | Gemini APIai.google.dev2026-10-11Deprecations | Gemini APIai.google.dev2026-10-11Generating content | Gemini APIai.google.dev2026-10-10Release notes | Gemini APIai.google.dev2026-10-11Gemini 3.1 Flash Image - Model Card — Google DeepMinddeepmind.google2026-10-11