Imagen 4 on the Gemini API (imagen-4.0-generate-001, imagen-4.0-ultra-generate-001, imagen-4.0-fast-generate-001)
by Google
Announced
2026-06-15
Complete
2026-08-17
Refund window closes
—
Refund status
No refund applicable
On June 15, 2026, Google's Gemini API changelog announced that the three generally available Imagen 4 models, imagen-4.0-generate-001, imagen-4.0-ultra-generate-001 and imagen-4.0-fast-generate-001, were being deprecated and would be shut down on August 17, 2026. As read November 18, 2026, Google's Imagen page says "Imagen models are shut down" and are "no longer available in the Gemini API", and the deprecations table lists all three with an August 17, 2026 shutdown date and gemini-nano-banana-2.1 as the recommended replacement. The two Imagen 4 preview models (imagen-4.0-generate-preview-06-06 and imagen-4.0-ultra-generate-preview-06-06) were shut down earlier, on February 17, 2026, and imagen-3.0-generate-002 on November 10, 2025. There is no Imagen model left on the Gemini API.
Refund flow
- 1
Not applicable. The Google pages we read describe no refund or credit tied to the shutdown. Imagen 4 was billed per image on a pay-as-you-go API, so there is no plan to cancel.
- 2
Search your code, environment variables and tool settings for the string imagen-4.0 and for calls to generate_images (Python) or generateImages (JavaScript). Those are the calls that broke. The exact error now returned is not stated on the pages we read, and we did not send a request to test it.
- 3
Change the method, not just the model name. Google's migration note says to use client.models.generate_content instead of client.models.generate_images, and that Nano Banana returns content parts containing image data instead of a dedicated image response object. Code that reads response.generated_images will need rewriting.
- 4
Pick the replacement model on purpose. The deprecations table recommends gemini-nano-banana-2.1. The Imagen page itself suggests gemini-2.5-flash-image or gemini-3.1-flash-image, but the same Google docs list gemini-2.5-flash-image as deprecated with a March 15, 2027 shutdown, and gemini-3.1-flash-image with gemini-nano-banana-2.1 as its replacement. Moving to either of those means migrating again.
- 5
If you call Imagen through Google Cloud (Vertex AI, now the Gemini Enterprise Agent Platform) rather than the Gemini API, this record does not cover you. We only read the Gemini API docs and did not check the Cloud model lifecycle pages.
Migration path
Recommended successor
Gemini Nano Banana 2.1 (gemini-nano-banana-2.1)
Why this is the closest fit
It is the replacement Google's deprecations table lists for all three Imagen 4 models, as read November 18, 2026. Google describes it as an update to Nano Banana 2 built for image generation and conversational editing, with text rendering and 1K, 2K and 4K output. It has no shutdown date announced.
What differs from the original
It is a Gemini model, not a dedicated image endpoint: you call generate_content and parse image parts from the response. Prompts are conversational, so you can edit an image over several turns instead of regenerating. Per Google's pricing page read November 18, 2026 (paid tier only, no free tier): $1.50 per million input tokens (text, image or video), $30 per million image output tokens, which Google equates to $0.0336 per 1K image, $0.0504 per 2K image and $0.113 per 4K image. Text and thinking output is $7.50 per million tokens. Imagen 4 prices are no longer on the pricing page, so we cannot give you a like-for-like comparison from Google's current docs.
Alternatives by use case
You used imagen-4.0-generate-001 or imagen-4.0-ultra-generate-001 for quality
gemini-nano-banana-2.1, the replacement Google lists, with 1K, 2K and 4K output priced separately
You used imagen-4.0-fast-generate-001 for cheap, quick batches
gemini-3.1-flash-lite-image. Google prices it at $0.0336 per 1K image on the standard tier and $0.0168 on Batch, with $0.25 per million input tokens, as read November 18, 2026. It has no shutdown date announced
You followed the Imagen page and moved to gemini-2.5-flash-image
Plan a second move. Google lists it as deprecated with a March 15, 2027 shutdown and gemini-3.1-flash-lite-image as the replacement
You make stills to feed an AI video model (image-to-video)
Regenerate a few of your reference frames on the new model before you batch anything. A different image model changes faces, text and lighting, and those differences carry straight into the video
What this tool meant
Imagen was Google's dedicated text-to-image API, and plenty of AI video pipelines used it as the first step: generate a clean still, then animate it. Google gave about nine weeks of notice and folded image generation into its Gemini models, which changes both the model name and the calling pattern. The practical lesson for anyone running a video pipeline on a hosted image API is to keep the model name and the response parsing in one place, so the next shutdown is a one-line change instead of a rewrite.
Sources
- Google Gemini API: Release notes (June 15, 2026 deprecation announcement for the three Imagen 4 models, shutdown August 17, 2026; February 17, 2026 preview shutdown; as read 2026-11-18)
- Google Gemini API: Deprecations (Imagen models table, replacement gemini-nano-banana-2.1; Nano Banana models table; as read 2026-11-18)
- Google Gemini API: Generate images using Imagen ("Imagen models are shut down", migration to generate_content; as read 2026-11-18)
- Google Gemini API: Pricing (gemini-nano-banana-2.1, gemini-3.1-flash-lite-image, gemini-3.1-flash-image; as read 2026-11-18)
- AVA graveyard: Nano Banana 2 (gemini-3.1-flash-image) deprecated
- AVA graveyard: Veo 3.1 preview models shutdown
Spent credits on AI video that failed?
AVA automates the refund flow across every video provider
Free Chrome extension. Detects the failure mode, captures evidence, drafts the refund email with the technical term and Generation ID. Click send.