gemini-2.0-flash-exp-image-generation

Google (Gemini API) retired gemini-2.0-flash-exp-image-generation on 14 November 2025. Replacement: gemini-nano-banana-2.1.

ProviderGoogle (Gemini API)
Statusretired
Shutdown date
Deprecated on
Replacementgemini-nano-banana-2.1
Sourcehttps://ai.google.dev/gemini-api/docs/changelog
Noterelease notes shutdown announcement; replacement by analogy with gemini-2.0-flash-preview-image-generation

Move off it now

  1. Find every call to it in your code (Python, JS/TS, Go, Java, configs, notebooks), with nothing to install:
    uvx llmshift scan
  2. Turn your real traffic into tests, so you compare on what your users send:
    llmshift snapshot logs/ --model "gemini-2.0-flash-exp-image-generation"
  3. See exactly what changes on the replacement: formats, facts, tone, tool calls and settings it rejects:
    llmshift compare --to gemini-nano-banana-2.1
  4. Swap the model in your code and open a pull request with the results:
    llmshift upgrade --from "gemini-2.0-flash-exp-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-exp-image-generation is not found for API version v1beta, or is not supported for generateContent.

Other Google (Gemini API) retirements

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.