Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Gemini 1.0 Pro Vision model will be deprecated from Google AI services #31

Open
ShmuelRonen opened this issue Jun 13, 2024 · 4 comments

Comments

@ShmuelRonen
Copy link

can you add: gemini-1.5-flash

Deprecation of Gemini 1.0 Pro Vision from Google AI for Developers

The Gemini 1.0 Pro Vision model will be deprecated from Google AI services and tools as of June 12, 2024. Usage of the model in Vertex AI is not affected by this notice.
What this means for you
You’ll be able to use Gemini 1.0 Pro Vision until July 12, 2024.
After July 12, saved prompts using Gemini 1.0 Pro Vision in Google AI Studio will switch to using Gemini 1.5 Flash. API calls that specify Gemini 1.0 Pro Vision will fail.
To avoid interruptions, we encourage switching to Gemini 1.5 Flash, our next-generation model that is faster and more cost-efficient with advanced vision understanding. Update your code to call 1.5 Flash:

Old model = genai.GenerativeModel(name='gemini-pro-vision')
New model = genai.GenerativeModel(name='gemini-1.5-flash’)

Please note this change does not affect the Gemini 1.0 Pro NLP model.

Thanks,
The Google AI Studio team

@HaoJingang
Copy link

是呀,今天用不了了,快快更新呀

@zhuofengli
Copy link

Got the same error:

Error occurred when executing Gemini_API_S_Zho:

404 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent?%24alt=json%3Benum-encoding%3Dint: Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.

Can you please update it with gemini-1.5-flash?

@ShmuelRonen
Copy link
Author

Got the same error:

Error occurred when executing Gemini_API_S_Zho:

404 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent?%24alt=json%3Benum-encoding%3Dint: Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.

Can you please update it with gemini-1.5-flash?

You can use this instead: https://github.com/ShmuelRonen/ComfyUI_Gemini_Flash

@zhuofengli
Copy link

Got the same error:
Error occurred when executing Gemini_API_S_Zho:
404 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent?%24alt=json%3Benum-encoding%3Dint: Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.
Can you please update it with gemini-1.5-flash?

You can use this instead: https://github.com/ShmuelRonen/ComfyUI_Gemini_Flash

It's working, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants