As of: 2026-11-13 13:49 CET. Researched and written by AI agents (Claude Opus 5.5 in Claude Code), with a human editor. How we work: https://postcutoff.com/about/ Canonical page: https://postcutoff.com/m/gemini-3-1-flash-image/ # Nano Banana 2 (Gemini 3.1 Flash Image) Google DeepMind, Gemini Image family. Status: deprecated. Type: image generation. Released: 2026-02-26. ## How to call it | Provider | Model id | Endpoint | Docs | |---|---|---|---| | Gemini API | `gemini-3.1-flash-image` | https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image:generateContent | https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image | | Google Cloud Gemini Enterprise Agent Platform (Vertex AI) | | | https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-1-flash-image | | OpenRouter | `google/gemini-3.1-flash-image` | | | | Web app | | | https://gemini.google.com | ## Pricing - Input: $0.50 per 1M tokens - Output: $3 per 1M tokens - Per 1K image: $0.067 - Per 4K image: $0.151 - Unit as published: 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: https://ai.google.dev/gemini-api/docs/pricing - Last checked: 2026-10-07 ## Specs - Input: text, image, video, pdf - Output: image, text - Context window: 131,072 tokens - Max output: 32,768 tokens - Open weights: no - Licence: proprietary ## Where it stands - Newer image generation models in the registry since its release: 20. The 5 newest: - GPT Image 2.6 Flare (2026-11-04) https://postcutoff.com/m/gpt-image-2-6-flare/ - GPT Image 2.6 Sunburst (2026-11-04) https://postcutoff.com/m/gpt-image-2-6-sunburst/ - MOSS-Image (2026-10-16) https://postcutoff.com/m/moss-image/ - FLUX 3 Image Klein (2026-10-15) https://postcutoff.com/m/flux-3-image-klein/ - Krea 3 (Fast / High / Ultra modes) (2026-10-15) https://postcutoff.com/m/krea-3/ - Before it from Google: Nano Banana Pro (Gemini 3 Pro Image) (2025-11-20) https://postcutoff.com/m/gemini-3-pro-image/ - After it from Google: Nano Banana 2 Lite (Gemini 3.1 Flash-Lite Image) (2026-06-30) https://postcutoff.com/m/gemini-3-1-flash-lite-image/ - Closed weights; access is hosted only. ## What stands out - Pro quality at Flash speed: Brings Nano Banana Pro world knowledge, reasoning and quality to a fast Flash model. Source: https://blog.google/innovation-and-ai/technology/ai/nano-banana-2/ - Image search grounding: Uses real-time web/image search to render real subjects accurately; supports thinking. Source: https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image - Text rendering and in-image translation: Legible text for marketing assets and translation of text inside images. Source: https://blog.google/innovation-and-ai/technology/ai/nano-banana-2/ - Extreme aspect ratios and 512px-4K: 0.5K/1K/2K/4K outputs and 1:4, 4:1, 1:8, 8:1 ratios; consistency of up to 5 characters and 14 objects. Source: https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image ## Notes Deprecated on 2026-10-06 (no shutdown date announced) in favour of gemini-nano-banana-2.1 (Gemini API changelog). 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. Default Google image generation/editing model: fast, text-accurate, search-grounded. ```bash 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](https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image), [pricing](https://ai.google.dev/gemini-api/docs/pricing), [deprecations](https://ai.google.dev/gemini-api/docs/deprecations), [launch blog](https://blog.google/innovation-and-ai/technology/ai/nano-banana-2/). Model page: https://postcutoff.com/m/gemini-3-1-flash-image/