The Interactions API is now generally available. We recommend using this API for access to all the latest features and models. Home Gemini API Docs Send feedback Gemini 3.1 Flash Image Nano Banana 2 provides high-quality image generation and conversational editing at a mainstream price point and low latency. It serves as the high-efficiency counterpart to Gemini 3 Pro Image , optimized for speed and high-volume developer use cases. Key updates: New output resolution options: New support for 0.5K, 2K and 4K, default 1K New Image Search Grounding: Integration of both text and image search results to inform generation with real-time web data Supported with Thinking on or off New 1:4, 4:1, 1:8 and 8:1 aspect ratios Improved aspect ratio adherence Improved image quality and consistency Improved i18n text rendering
| Model | Context | Max out | Pricing |
|---|---|---|---|
| gemini-3.1-flash-lite-image | 66K | 4K | $0.25$1.5 |
| gemini-3.1-flash-lite-preview | 1M | 66K | $0.25$1.5 |
| gemini-3.1-flash-lite | 1M | 66K | $0.25$1.5 |
| gemini-3.1-flash-image-preview | 131K | 33K | $0.5$3 |
| gemini-3.1-flash-image | 131K | 33K | $0.5$3 |
| gemini-3.1-pro-preview | 1M | 66K | $2$12 |
/v1/models/vercel/google/gemini-3.1-flash-image