
Google Kills All Three Imagen 4 Models
If an automation you built months ago quietly calls Imagen 4, it breaks in two days and nobody sends you an email about it.
Founder, Automation Squad ·
The short answer
All three Imagen 4 model IDs — imagen-4.0-generate-001, imagen-4.0-ultra-generate-001 and imagen-4.0-fast-generate-001 — shut down on August 17, 2026. Google's named replacement for every one of them is gemini-3.1-flash-image. The change is a one-line model ID swap; finding every place that line lives is the actual work.
Every Imagen 4 ID, its replacement, and where to look for it
Three old IDs collapse to one new one. Search, replace, then run each workflow once by hand before the 17th.
Search everything you own for the string imagen-4.0
Not just code. The dangerous hits are in tools you have not opened in months.
In n8n: check every HTTP Request node and every Google Gemini node
Open each workflow and search the canvas. Model IDs hide in JSON bodies on HTTP Request nodes, which do not show up in a node-type filter.
In Make or Zapier: check every custom API call step
Native Google modules usually track model changes for you; raw HTTP or 'custom request' steps do not, and those are where the old ID survives.
In code: project-wide find for imagen-4.0, including config and env files
Model IDs are frequently pulled from an environment variable or a config JSON rather than written inline, so grep the whole repo, not just source.
Swap each hit to gemini-3.1-flash-image and run it once manually
Confirm the image actually lands where it is supposed to. Do this before the 17th: after the shutdown, a failure looks identical to a broken credential and you will spend an hour chasing the wrong thing.
Set a recurring quarterly check on Google's deprecation page
This will happen again. The schedule is at ai.google.dev/gemini-api/docs/deprecations and lists earliest announced shutdown dates.
| Old model ID | Replace with | Shutdown |
|---|---|---|
| imagen-4.0-generate-001 | gemini-3.1-flash-image | Aug 17, 2026 |
| imagen-4.0-ultra-generate-001 | gemini-3.1-flash-image | Aug 17, 2026 |
| imagen-4.0-fast-generate-001 | gemini-3.1-flash-image | Aug 17, 2026 |
| gemini-robotics-er-1.6-preview | gemini-robotics-er-2-preview | Aug 31, 2026 |
| embedding-2-preview | gemini-embedding-2 | Retired Aug 10, 2026 |
Take it with you
IMAGEN 4 MIGRATION — deadline Aug 17, 2026 Source: https://automationsquad.com/news/imagen-4-shutdown-august-2026/ SEARCH FOR: imagen-4.0 REPLACE WITH: gemini-3.1-flash-image imagen-4.0-generate-001 -> gemini-3.1-flash-image imagen-4.0-ultra-generate-001 -> gemini-3.1-flash-image imagen-4.0-fast-generate-001 -> gemini-3.1-flash-image ALSO IN THE WINDOW: gemini-robotics-er-1.6-preview -> gemini-robotics-er-2-preview (Aug 31, 2026) embedding-2-preview -> gemini-embedding-2 (retired Aug 10, 2026) WHERE TO LOOK: [ ] n8n — every HTTP Request node + every Google Gemini node [ ] Make / Zapier — every custom or raw HTTP API call step [ ] Code — project-wide find, INCLUDING config files and .env [ ] Any saved Postman/Bruno collection or internal script [ ] Colab notebooks and one-off scripts on a schedule THEN: run each changed workflow manually once and confirm the output lands.
Add the Aug 17 deadline to your calendarReminds you the day before.
Google's Gemini API deprecation schedule lists all three Imagen 4 model IDs with the same shutdown date: August 17, 2026. The recommended replacement for every one of them is gemini-3.1-flash-image.
The facts: the three affected IDs are imagen-4.0-generate-001, imagen-4.0-ultra-generate-001 and imagen-4.0-fast-generate-001. Two other entries sit in the same window — gemini-robotics-er-1.6-preview shuts down on August 31, 2026, with gemini-robotics-er-2-preview as its replacement. Google's page notes that the dates published are the earliest announced shutdown dates, with exact timing communicated separately, so August 17 is the date to plan against rather than a date to test your luck on.
Automation Squad's take: model deprecations are the least glamorous and most disruptive item in any AI stack, because the thing that breaks is never the thing you are currently looking at. It is the n8n workflow you built in March that generates a product image once a night, or the Make scenario behind a client's social posts. Those fail silently into an error branch nobody reads. The swap itself is genuinely one line — it is finding every place that line lives that takes the afternoon. The good news is that the replacement is a Gemini-family image model rather than a third-party migration, so the request shape barely changes.
Run this now: search your automation tools and codebase for the string "imagen-4.0" — in n8n, that means checking every HTTP Request and Google Gemini node; in Make or Zapier, every custom API call; in code, a plain project-wide find. For each hit, swap the model ID to gemini-3.1-flash-image and run the workflow once manually to confirm the output still lands where it should. Do the test run before August 17, not after, because a failed run after the shutdown looks identical to a broken credential and you will waste an hour chasing the wrong thing.
By the numbers
The data behind the story — figures from cited sources, with our own analysis labelled.
| imagen-4.0-generate-001 → gemini-3.1-flash-image | Aug 17, 2026 |
| imagen-4.0-ultra-generate-001 → gemini-3.1-flash-image | Aug 17, 2026 |
| imagen-4.0-fast-generate-001 → gemini-3.1-flash-image | Aug 17, 2026 |
| gemini-robotics-er-1.6-preview → gemini-robotics-er-2-preview | Aug 31, 2026 |
All three Imagen 4 variants collapse to a single replacement. Google lists these as earliest announced shutdown dates.
Questions people are asking
- What replaces Imagen 4?
- Google names gemini-3.1-flash-image as the replacement for all three Imagen 4 variants — standard, ultra and fast. Because it is in the Gemini family rather than a third-party service, the request shape barely changes; in most cases only the model ID string differs.
- What happens if I do not migrate before August 17?
- Calls to the retired model IDs stop working. In an automation this typically surfaces as a failed step in an error branch nobody is watching, which is why silent overnight jobs are the biggest exposure rather than anything you use interactively.
- Is August 17 definitely the shutdown date?
- Google's deprecation page lists it as the announced earliest shutdown date, with exact timing communicated separately. Plan against the 17th rather than assuming a grace period.
- Are any other Google models retiring around the same time?
- Yes. gemini-robotics-er-1.6-preview shuts down August 31, 2026, replaced by gemini-robotics-er-2-preview. embedding-2-preview was already retired on August 10, 2026, replaced by gemini-embedding-2.
Further reading
- Google AI for Developers — Gemini API model deprecations — The live schedule. Worth a bookmark and a calendar reminder once a quarter.
Last checked August 15, 2026 against the primary sources above, by Automation Squad Research. Spot an error? [email protected].
