gemini-2.5-flash-image-preview retirement
gemini-2.5-flash-image-preview stopped working on Jan 15, 2026.
Google Breaking model
gemini-2.5-flash-image-previewstopped working on Jan 15, 2026. gemini-2.5-flash-image-preview was shut down on the Gemini API January 15, 2026; the listed replacement is gemini-nano-banana-2.1.What to do: Switch to gemini-nano-banana-2.1, the replacement the deprecations page lists. Don't move to
gemini-2.5-flash-image, which the same page gives a March 15, 2027 shutdown date. Re-test image outputs before switching.