# Imagen model not found in Python Google Generative AI

**URL:** <https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547>\
**Category:** Gemini API\
**Tags:** python, models\
**Created:** [October 28, 2024, 2:20pm UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547 "2024-10-28T14:20:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naitik\_Singhal](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/naitik_singhal/32/2370_2.png) [@Naitik\_Singhal](https://discuss.ai.google.dev/u/Naitik_Singhal)\
**Post date:** [October 28, 2024, 2:20pm UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/1 "2024-10-28T14:20:28Z")

</div>

`NotFound: 404 models/imagen-3.0-generate-001 is not found for API version v1beta, or is not supported for predict. Call ListModels to see the list of available models and their supported methods.`

Even after completely following [Documentation](https://ai.google.dev/gemini-api/docs/imagen) I am getting this error.

---

<div class="post-metadata">

**Author:** ![afirstenberg](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/afirstenberg/32/202_2.png) [@afirstenberg](https://discuss.ai.google.dev/u/afirstenberg)\
**Post date:** [October 28, 2024, 3:58pm UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/2 "2024-10-28T15:58:12Z")

</div>

Note the warnings at the top of the page:

> **Preview:** Imagen 3 in the Gemini API is available as an early access release in private preview. It’s not yet generally available.

If you’re in the early access program, you should have access with the account and project you’ve requested. If you have issues - you should message your contact at Google who granted you access.

If you’re not in the program - you won’t have access yet.

---

<div class="post-metadata">

**Author:** ![Steve\_Stark](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/steve_stark/32/28844_2.png) [@Steve\_Stark](https://discuss.ai.google.dev/u/Steve_Stark)\
**Post date:** [November 8, 2024, 4:26am UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/4 "2024-11-08T04:26:18Z")

</div>

I posted about this in stack overflow. Here’s a copy of my sleuthing:  
Got the same problem. If you run

```auto
!pip install -U git+https://github.com/google-gemini/generative-ai-python@imagen

import google.generativeai as genai
import pprint

for model in genai.list_models(page_size=100): # page_size can be any number
    pprint.pprint(model.name) 

```

**Available Models**  
Instead of seeing the Imagen 3 model (“imagen-3.0-generate-001”) or any image generation models, here’s what it returns, or at least what I get:

- models/chat-bison-001
- models/text-bison-001
- models/embedding-gecko-001
- models/gemini-1.0-pro-latest
- models/gemini-1.0-pro
- models/gemini-pro
- models/gemini-1.0-pro-001
- models/gemini-1.0-pro-vision-latest
- models/gemini-pro-vision
- models/gemini-1.5-pro-latest
- models/gemini-1.5-pro-001
- models/gemini-1.5-pro-002
- models/gemini-1.5-pro
- models/gemini-1.5-pro-exp-0801
- models/gemini-1.5-pro-exp-0827
- models/gemini-1.5-flash-latest
- models/gemini-1.5-flash-001
- models/gemini-1.5-flash-001-tuning
- models/gemini-1.5-flash
- models/gemini-1.5-flash-exp-0827
- models/gemini-1.5-flash-002
- models/gemini-1.5-flash-8b
- models/gemini-1.5-flash-8b-001
- models/gemini-1.5-flash-8b-latest
- models/gemini-1.5-flash-8b-exp-0827
- models/gemini-1.5-flash-8b-exp-0924
- models/embedding-001
- models/text-embedding-004
- models/aqa

**Problem:**  
According to [Google’s blog post](https://blog.google/technology/ai/google-generative-ai-veo-imagen-3/), there is a waitlist for accessing Imagen 3. To join, you need to fill out the “Labs.google Trusted Tester Waitlist,” which requires providing credentials—a process that feels like getting military clearance.

**Has anyone successfully accessed Imagen 3 through the API? Any tips or alternative steps to get this model up and running?**

---

<div class="post-metadata">

**Author:** ![afirstenberg](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/afirstenberg/32/202_2.png) [@afirstenberg](https://discuss.ai.google.dev/u/afirstenberg)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/6 "2024-11-08T13:33:57Z")

</div>

Welcome to the forums!

People who have access as part of a Trusted Tester program are, generally, under NDA and not allowed to discuss it.

There is no workaround. Access is linked to accounts and/or projects.

I have access to Imagen 3 through the Vertex AI API, and I’ve [spoken about this](https://youtu.be/tFrd7zPG3WI), but it sounds like you’re asking more about how to get access than anything about the API itself?

---

<div class="post-metadata">

**Author:** ![jkirstaetter](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jkirstaetter/32/61_2.png) [@jkirstaetter](https://discuss.ai.google.dev/u/jkirstaetter)\
**Post date:** [November 21, 2024, 12:02pm UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/8 "2024-11-21T12:02:19Z")

</div>

Picking up the topic again.

I also have access to the Trusted Tester program, and despite having had a working implementation using Vertex AI it seems not to work anymore. The model names are showing up on Vertex AI and I can use Imagen 3 (Fast).

**Edit** : After using the correct API version I have it running in Vertex AI again.

Now, following the documentation as mentioned above for Google AI / API using the latest `imagen` branch of generative-ai on Python 3.12 I’m getting same HTTP 404 in response.

google.api\_core.exceptions.NotFound: 404 models/imagen-3.0-generate-001 is not found for API version v1beta, or is not supported for predict. Call ListModels to see the list  
of available models and their supported methods.

Can anyone confirm whether this is actually working?

---

<div class="post-metadata">

**Author:** ![afirstenberg](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/afirstenberg/32/202_2.png) [@afirstenberg](https://discuss.ai.google.dev/u/afirstenberg)\
**Post date:** [November 26, 2024, 9:05pm UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/10 "2024-11-26T21:05:08Z")

</div>

Having access via Vertex doesn’t necessarily guarantee access through the AI Studio API. (The generative-ai library, probably.)

Again, people who have access through the AI Studio API are likely unable to tell you if it works or not, since they are under NDA.

---

<div class="post-metadata">

**Author:** ![jkirstaetter](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jkirstaetter/32/61_2.png) [@jkirstaetter](https://discuss.ai.google.dev/u/jkirstaetter)\
**Post date:** [November 27, 2024, 5:18am UTC](https://discuss.ai.google.dev/t/imagen-model-not-found-in-python-google-generative-ai/46547/12 "2024-11-27T05:18:14Z")

</div>

Hi Allan,  
yeah, I figured.  
I had an exchange with Frank G. via email recently and yes, despite being the same model there are two independent EAP for Google AI and Vertex AI. Having access to the documentation with the sample code in Python gave me the idea to adopt it into my Gemini SDK for .NET as an “early adopter”. Boy, what did I think? 😉

Anyway, I have the implementation in place. Since weeks, perhaps even months, it works in Vertex AI and it won’t be an issue to test (and adjust, if necessary) as soon as Imagen on Google AI has been made available.

It would have been nice and practical to write another sample application in .NET that shows the capabilities of Google’s AI models. And of course, provide feedback to the team.

Cheers, JoKi
