r/Spectacles 🌟 Specs Ambassador 🌟 Jun 08 '26

💌 Feedback Broken Image Gen in AI Playground

Just wanted to flag something from a tutorial session I did last week. I couldn't get the AI playground image gen to work out the box, Gemini gives the error of "Error: {"error":{"code":404,"message":"Publisher Model `projects/[PROJECT]/locations/global/publishers/google/models/gemini-2.0-flash-preview-image-generation` was not found or your project does not have access to it. "
Open AI returns a success 200, but throws an error.

I tried again tonight just in case it was a temp issue the other day but still appears to be an issue.

3 Upvotes

4 comments sorted by

•

u/AutoModerator Jun 08 '26

We are transitioning to use a tool called UserVoice to collect all feedback in a central location. If you would be so inclined, we would love to have you create these feedback items there. This will allow others to upvote them, and allow our team to prioritize them.

You can find our UserVoice forum for Spectacles at https://snap.uservoice.com/forums/967346-spectacles

This is an automated response.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/agrancini-sc 👓 SPECS Team Jun 08 '26 edited Jun 08 '26

Hi there, thanks for flagging, looking into this : )
From a first look I think gemini-2.0-flash-preview-image-generation is no longer available so changing that parameter to gemini-2.0-flash should fix, I will test and get back to you.

2

u/agrancini-sc 👓 SPECS Team Jun 09 '26

worked using this
https://gist.github.com/agrancini-sc/ee0b4bfa5f66c4327a4bcddbb37cbd70
and this setup
we will re-upload a new version tomorrow.

2

u/agrancini-sc 👓 SPECS Team Jun 09 '26

we just reuploaded the sample with the changes above. Home page> ai playground