Repository Public
1# Gemini 3.1 Flash Image Preview23<br />45**Nano Banana 2** provides high-quality image generation and conversational6editing at a mainstream price point and low latency. It serves as the7high-efficiency counterpart to [Gemini 3 Pro Image](https://ai.google.dev/gemini-api/docs/models/gemini-3-pro-image-preview), optimized for speed and8high-volume developer use cases.910**Key updates:**1112- New output resolution options:13 - New support for 0.5K, 2K and 4K, default 1K14- New Image Search Grounding:15 - Integration of both text and image search results to inform generation with real-time web data16 - Supported with Thinking on or off17- New 1:4, 4:1, 1:8 and 8:1 aspect ratios18- Improved aspect ratio adherence19- Improved image quality and consistency20- Improved i18n text rendering2122[Try in Google AI Studio](https://aistudio.google.com?model=gemini-3.1-flash-image-preview)2324## Documentation2526Visit the [Image generation](https://ai.google.dev/gemini-api/docs/image-generation) page for full27coverage of features and capabilities.2829## gemini-3.1-flash-image-preview3031| Property | Description |32|---|---|33| Model code | `gemini-3.1-flash-image-preview` |34| Supported data types | **Inputs** Text and Image / PDF **Output** Image and Text |35| Token limits^[\[\*\]](https://ai.google.dev/gemini-api/docs/tokens)^ | **Input token limit** 131,072 **Output token limit** 32,768 |36| Capabilities | **Audio generation** Not supported **Batch API** Supported **Caching** Not supported **Code execution** Not supported **File search** Not supported **Function calling** Not supported **Grounding with Google Maps** Not supported **Image generation** Supported **Live API** Not supported **Search grounding** Supported **Structured outputs** Not supported **Thinking** Supported **URL context** Not supported |37| Versions | Read the [model version patterns](https://ai.google.dev/gemini-api/docs/models/gemini#model-versions) for more details. - `Preview: gemini-3.1-flash-image-preview` |38| Latest update | February 2026 |39| Knowledge cutoff | January 2025 |