gemini-3.1-flash-image-preview retirement
gemini-3.1-flash-image-preview stopped working on Jun 25, 2026.
Google Breaking model
gemini-3.1-flash-image-previewstopped working on Jun 25, 2026. The Gemini 3 image preview models gemini-3.1-flash-image-preview and gemini-3-pro-image-preview were shut down on the Gemini API on June 25, 2026. Google now lists gemini-nano-banana-2.1 and gemini-3-pro-image as their replacements.What to do: Switch gemini-3.1-flash-image-preview to gemini-nano-banana-2.1 and
gemini-3-pro-image-previewto gemini-3-pro-image, then re-check output quality on your evals. Skipgemini-3.1-flash-image, which Google deprecated on October 6, 2026.