Google: Nano Banana 2 (Gemini 3.1 Flash Image)
google/gemini-3.1-flash-image- Modalities
- text+image->text+image
- In / out price
- $0.5 / $3
- Context
- 131K
- Released
- Jun 18, 2026
- Knowledge cutoff
- —
per 1M
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...
Supported parameters
include_reasoningInclude reasoning
Include a reasoning summary in the response.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
reasoningReasoning
Enable or configure reasoning. The fields differ by model.
reasoning_effortReasoning effort
How much compute to spend reasoning. Often low, medium, or high.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
structured_outputsStructured outputs
Generate a parseable structure that follows a JSON Schema.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.