Google: Nano Banana 2 (Gemini 3.1 Flash Image)
google/gemini-3.1-flash-image
Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the image_config API Parameter
Input
$0.5
/ 1M tokens
Output
$3
/ 1M tokens
Context window
131.07K
tokens
Limits
Context
131,072
tokens
Max output
32,768
25% of the context window
Model facts
Author
Tokenizer
Gemini
Modality
Text + Image -> Text + Image
Created
Jun 18, 2026
Reasoning
Default MinimalHighMinimalNone
Publication status
Hugging Face: not mappedLicense: not publishedParameter count: not published
Modalities
Input · ImageInput · TextOutput · ImageOutput · Text
Generation controls
Include reasoningMax tokensReasoningReasoning effortResponse formatSeedStructured outputsTemperatureTop p