gemini-3.1-flash-image

proprietary

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

Context
131K
Max output
33K
Input price
$0.5/1M tokens
Output price
$3/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Creator Google AI
Licenseproprietary
Statusactive
Typechat
Input modalitiestext, image, video, audio
Output modalitiestext, image, audio
Open weightNo
Parameters—
Architecture—
Context window131K tokens
Max input—
Max output33K tokens
Reasoning tokens—
Knowledge cutoff
Release date—
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

Generate ContentPOST
Generate text from multimodal inputhttps://us-central1-aiplatform.googleapis.com/v1beta/models/{model}:generateContent
Stream ContentPOST
Stream text generation responseshttps://us-central1-aiplatform.googleapis.com/v1beta/models/{model}:streamGenerateContent

Pricing

Text tokensPer 1M tokens
InputCached inputOutput
Standard$0.5—$3
Priority———
Flex$0.25—$1.5

Family Comparison: gemini-3.1

ModelContextMax outPricing
gemini-3.1-flash-live-preview131K66K—
gemini-3.1-flash-tts-preview8K16K—
gemini-3.1-flash-lite-image66K4K$0.25$1.5
gemini-3.1-flash-lite-preview1.0M66K$0.25$1.5
gemini-3.1-flash-lite1.0M66K$0.25$1.5
gemini-3.1-flash-image-preview131K33K$0.5$3
gemini-3.1-flash-image131K33K$0.5$3
gemini-3.1-pro-preview1.0M66K$2$12

API

GET/v1/models/vertex/gemini-3.1-flash-image