Nano Banana 2.1 is released on October 6, 2026, and gemini-3.1-flash-image is deprecated
Google released gemini-nano-banana-2.1 as a stable image model on October 6, 2026. gemini-3.1-flash-image is deprecated.
Google released gemini-nano-banana-2.1 as a stable image model on October 6, 2026. gemini-3.1-flash-image is deprecated.
The Gemini API changelog entry for October 6, 2026 announces Nano Banana 2.1, model ID gemini-nano-banana-2.1. The model page lists it as the stable version.
The changelog says it updates Nano Banana 2 (gemini-3.1-flash-image) in visual quality, following the prompt, character consistency, text in images, and wide and panoramic aspect ratios at 1K, 2K and 4K. The model page gives 1K as the default output size.
The same entry says gemini-3.1-flash-image is deprecated, with no shutdown date announced, and tells you to move to gemini-nano-banana-2.1. The image generation guide recommends Nano Banana 2.1 for all new projects.
gemini-3.1-flash-image.gemini-nano-banana-2.1. Change only the model name.gemini-3.1-flash-image.Request one image with the model set to gemini-nano-banana-2.1 and confirm an image comes back with no error.
gemini-nano-banana-2.1.gemini-3.1-flash-image.gemini-nano-banana-2.1, but none is included here because it could not be copied exactly.