All Models
Gemini 3.1 Flash Image Preview (Nano Banana 2)
Gemini 3.1 Flash Image Preview, 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](https://openrouter.ai/docs/features/multimodal/image-generation#image-aspect-ratio-configuration)
Available Providers (1)
| Provider | Model ID | Input Cost | Output Cost | Context | Max Output | Docs |
|---|---|---|---|---|---|---|
| | google/gemini-3.1-flash-image-preview | $0.50/MTok | $3.00/MTok | 131.1K | 32.8K |
Capabilities
Reasoning
Tool Calling
Attachments
Open Weights
Structured Output