Okapi Okapi

Vertex AI (us-central1-aiplatform.googleapis.com) imagegeneration@006 model retirement

Stopped workingSubscribe to Vertex AI (us-central1-aiplatform.googleapis.com)Share

Calls to the model imagegeneration@006 on Vertex AI (us-central1-aiplatform.googleapis.com) stopped working on September 24, 2025.


The error you get

What Vertex AI (us-central1-aiplatform.googleapis.com) answers a call to imagegeneration@006 once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/imagegeneration@006` was not found or your project does not have access to it. Ensure you are using a valid model name and that the model is available in the specified region.","status":"NOT_FOUND"}}

What to use instead of imagegeneration@006

Migrate to Imagen 3 instead.

In Vertex AI (us-central1-aiplatform.googleapis.com)'s words

- Imagen 2 models imagegeneration@005 and imagegeneration@006

Vertex AI (us-central1-aiplatform.googleapis.com), Changelog

Facts

API
Vertex AI (us-central1-aiplatform.googleapis.com) us-central1-aiplatform.googleapis.com
Model
imagegeneration@006
Kind
Model retirement
Announced
June 24, 2025
Takes effect
September 24, 2025
Calls after that day
Fail
Source
Changelog
Last updated
Verified
, against Vertex AI (us-central1-aiplatform.googleapis.com)'s own pages

Questions

When does imagegeneration@006 shut down?

Calls to the model imagegeneration@006 on Vertex AI (us-central1-aiplatform.googleapis.com) stopped working on September 24, 2025.

What happens to calls after September 24, 2025?

They have failed since September 24, 2025.

What error does imagegeneration@006 return once it is shut down?

Vertex AI (us-central1-aiplatform.googleapis.com) answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/imagegeneration@006` was not found or your project does not have access to it. Ensure you are using a valid model name and that the model is available in the specified region.". Send another model to fix it.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Vertex AI (us-central1-aiplatform.googleapis.com) 10

  1. gemini-2.5-flash-preview-04-17Model retirement Stopped working
  2. gemini-2.5-flash-preview-05-20Model retirement Stopped working
  3. gemini-2.5-pro-preview-05-06Model retirement Stopped working
  4. gemini-2.5-pro-preview-06-05Model retirement Stopped working
  5. imagegeneration@002Model retirement Stopped working
  6. imagegeneration@005Model retirement Stopped working
  7. MedLMModel retirement Stopped working
  8. imagen-4.0-fast-generate-preview-06-06Model retirement Stopped working
  9. imagen-4.0-generate-preview-06-06Model retirement Stopped working
  10. imagen-4.0-ultra-generate-preview-06-06Model retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Vertex AI (us-central1-aiplatform.googleapis.com)

Hear about each breaking change Vertex AI (us-central1-aiplatform.googleapis.com) announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Vertex AI (us-central1-aiplatform.googleapis.com)

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.