gemini-2.0-flash-preview-image-generation
Google (Gemini API) retired gemini-2.0-flash-preview-image-generation on 14 November 2025. Replacement: gemini-nano-banana-2.1.
| Provider | Google (Gemini API) |
|---|---|
| Status | retired |
| Shutdown date | |
| Deprecated on | |
| Replacement | gemini-nano-banana-2.1 |
| Source | https://ai.google.dev/gemini-api/docs/deprecations |
| Note | gray row = shut down; rel 2025-05-07 |
Move off it now
- Find every call to it in your code (Python, JS/TS, Go, Java, configs, notebooks), with nothing to install:
uvx llmshift scan - Turn your real traffic into tests, so you compare on what your users send:
llmshift snapshot logs/ --model "gemini-2.0-flash-preview-image-generation" - See exactly what changes on the replacement: formats, facts, tone, tool calls and settings it rejects:
llmshift compare --to gemini-nano-banana-2.1 - Swap the model in your code and open a pull request with the results:
llmshift upgrade --from "gemini-2.0-flash-preview-image-generation" --apply --compare --pr
Then llmshift init --github keeps the check on every pull request. LLMShift is free and open source (MIT) and runs on your machine.
The error you get now
Calls to a model after its shutdown fail. The answer usually reads (the wording varies by SDK and endpoint):
404 NOT_FOUND: models/gemini-2.0-flash-preview-image-generation is not found for API version v1beta, or is not supported for generateContent.
Other Google (Gemini API) retirements
gemini-3.1-flash-live-preview: retires 2026-11-17gemini-2.5-flash: retires 2026-12-01gemini-2.5-pro: retires 2026-12-01gemini-omni-1.1-flash: retires 2026-12-03gemini-2.5-flash-preview-tts: retires 2026-12-18gemini-2.5-pro-preview-tts: retires 2026-12-18
Wrong date or replacement? Tell us on GitHub, with a link to the provider's page.
Lifecycle data updated 2026-11-14, collected from the providers' official deprecation pages. Dates can move: check the source before you plan around one. Visits are counted with GoatCounter, which sets no cookies.