The generative AI
news ticker
AI ticker

Image Deprecated Released Feb 26, 2026

Nano Banana 2

by Google

In short

Nano Banana 2 is Google's name for Gemini 3.1 Flash Image (gemini-3.1-flash-image), a high-efficiency image generation and conversational editing model built for speed and high-volume use. It outputs 512 px to 4K images in 14 aspect ratios, accepts up to 14 reference images, and can ground images in Google Web and Image Search results. It is available in the Gemini API and Vertex AI; Google deprecated it in October 2026 in favor of Nano Banana 2.1, with no shutdown date announced.

Max resolution
4096×4096 (4K at 1:1)
References
14 images
Formats
PNG, JPEG
Price from
$0.045/image · Gemini API

What it can do

  • Text → image supported
  • Image editing supported
  • Multi-image reference supported
  • Inpainting supported
  • Outpainting not documented
  • Style reference not supported
  • Output sizes 512 px, 1K, 2K and 4K (4096×4096 at 1:1)
  • 14 aspect ratios, including 1:8, 1:4, 4:1 and 8:1
  • Up to 14 reference images: up to 10 objects and 4 characters
  • From $0.045 (512 px) to $0.151 (4K) per output image
  • Accepts video and PDF input; grounding with Google Web and Image Search

Where to use it

  • Gemini API gemini/gemini-3.1-flash-image Available
  • Google Vertex AI gemini-3.1-flash-image Available

Specs

Maker Google
Type Image
Released Feb 26, 2026[1]
Status Deprecated[1][2]
Max resolution 4096×4096 (4K at 1:1)[4][6]
Aspect ratios 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9[4][6]
Output formats PNG, JPEG[7][8]
Reference images 14 images[4][6]
Text rendering Google lists improved i18n text rendering and legible, stylized text for infographics, menus, diagrams and marketing assets.[3][4]
Good to know Model ID gemini-3.1-flash-image. Preview launched February 26, 2026; GA on May 28, 2026; deprecated October 6, 2026 with gemini-nano-banana-2.1 as the replacement (no shutdown date announced). Default size is 1K. Supports Thinking. Inpainting is prompt-based (semantic masking). Google's 14-image breakdown has no style-reference slot for this model. Image Search grounding cannot use real-world images of people. All outputs carry a SynthID watermark.[1][2][3][4]
Weights Closed[3]

Prices by provider

Provider Tier Price Checked
Gemini API — $0.045/image Dec 5, 2026
Google Vertex AI — $0.0672/image Dec 5, 2026
Google Vertex AI image output tokens $60.00/1M out Dec 5, 2026
Gemini API image output tokens $60.00/1M out Dec 5, 2026

Sources · 8

  1. 1ai.google.dev
  2. 2ai.google.dev
  3. 3ai.google.dev
  4. 4ai.google.dev
  5. 5ai.google.dev
  6. 6docs.cloud.google.com
  7. 7docs.cloud.google.com
  8. 8ai.google.dev

Specs checked Nov 17, 2026. Prices update daily.