Gemini 3.1 Flash Image (Nano Banana 2) is optimized for image understanding and generation and offers a balance of price and performance.
Try in Agent Platform (Preview) Deploy example app
| Model ID | gemini-3.1-flash-image |
|
|---|---|---|
| Supported inputs & outputs |
|
|
| Token limits |
|
|
| Capabilities |
|
|
| Consumption options |
|
|
| See Consumption options for more information. | ||
| Input size limit | 500 MB | |
| Technical specifications | ||
| Images |
|
|
| Documents |
|
|
| Parameter defaults |
|
|
| Supported regions | ||
|
Model availability |
|
|
| See Deployments and endpoints for more information. | ||
| Knowledge cutoff date | January 2025 | |
| Versions |
|
|
| Security controls | ||
| Online prediction |
|
|
| Batch inference |
|
|
| See Security controls for more information. | ||
| Supported languages | See Supported languages. | |
| Pricing | See Pricing. | |
Image generation specifications
Gemini 3.1 Flash Image consumes 1120 input image tokens per input image. Gemini 3.1 Flash Image consumes 747 output image tokens for 512 (roughly 0.25MP), 1120 tokens for 1K (roughly 1MP), 1680 tokens for 2K (roughly 4MP), and 2520 tokens for 4K (roughly 16MP). Additional charges for input and output tokens for other modalities such as text and video also apply. Refer to the pricing page for the latest.
For more information about image generation using Gemini 3.1 Flash Image, see Generate and edit images with Gemini.
Preview features
The following features remain in Preview:
- 4K image outputs
- Video inputs