All Models

Gemini 3.1 Flash Image Preview (Nano Banana 2)

gemini Reasoning Attachments

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)

Providers 1
Released Feb 26, 2026
Input Modalities text, image
Output Modalities text, image

Available Providers (1)

Provider Model ID Input Cost Output Cost Context Max Output Docs
Vercel AI Gateway 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