Post-Cutoff.com
  1. Home
  2. Models
  3. Nano Banana 2 (Gemini 3.1 Flash Image)

Nano Banana 2 (Gemini 3.1 Flash Image)

Google DeepMindcurrentimage-genGemini Image

Preview id gemini-3.1-flash-image-preview (2026-02-26, still served); stable id GA 2026-05-28. Replacement for gemini-2.5-flash-image and Imagen 4. OpenRouter lists 131k context for stable id.

Context window
131,072 tokens
Max output
32,768 tokens
Input
text, image, video, pdf
Output
image, text
License
proprietary
Pricing
input: $0.5 · output: $3 · per image 1k: $0.067 · per image 4k: $0.151 (per 1M tokens text/image input and text output; image output $60 per 1M tokens = $0.045 (0.5K) / $0.067 (1K) / $0.101 (2K) / $0.151 (4K) per image) source
Verified
2026-09-29

How to call it

ProviderModel idEndpoint / URLDocs
Gemini APIgemini-3.1-flash-imagehttps://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image:generateContentdocs
Google Cloud Gemini Enterprise Agent Platform (Vertex AI)——docs
OpenRoutergoogle/gemini-3.1-flash-image——
Web app—gemini.google.com—

Notable capabilities (4)

Default Google image generation/editing model: fast, text-accurate, search-grounded.

curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image:generateContent" \
  -H "x-goog-api-key: $GEMINI_API_KEY" -H "Content-Type: application/json" \
  -d '{"contents":[{"parts":[{"text":"A poster that says HELLO WORLD in neon letters"}]}]}'

Sources: model page, pricing, deprecations, launch blog.

Other Google DeepMind models

Gemini 3.8 Flash TTS · Gemini 3.8 Live · Gemini 3.8 Flash · Gemini 3.5 Transcribe (and Transcribe Live) · Lyria 3.5 · Gemini 3.5 Flash-Lite · Nano Banana 2 Lite (Gemini 3.1 Flash-Lite Image) · Gemini Omni Flash (Omni 1.1 Flash) · Gemini Embedding 2 · Gemma 4 · Nano Banana Pro (Gemini 3 Pro Image) · Gemini Robotics 2 · Gemini Robotics ER 2 · Gemini Robotics On-Device 2 · Gemini 3.5 Live Translate · Gemini 3.1 Pro · Veo 3.1 · Genie 3 · Lyria RealTime · Gemini 3.7 Flash · Gemini 3.6 Flash · Gemini 3.5 Flash · Gemini 3.1 Flash TTS (preview) · Gemini 3.1 Flash Live (preview) · Lyria 3 (Clip / Pro) · Lyria 2 · Gemini 2.5 Flash Native Audio (Live, preview) · Gemini 2.5 Flash-Lite · Gemini 2.5 Flash · Gemini 2.5 Pro · Gemini 2.5 Flash TTS / Pro TTS · Gemini 3.1 Flash-Lite · Nano Banana (Gemini 2.5 Flash Image) · Gemini Robotics-ER 1.5 / 1.6 · Imagen 4