Still running into issues with the

Still running into issues with the public hosted version of my firebase studio app. gemini quite frequently errors out with a 404 when calling generation

⨯ Error: Background image streaming generation failed: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-preview-image-generation:streamGenerateContent?alt=sse: [404 Not Found] models/gemini-2.0-flash-preview-image-generation is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.


Any thoughts on ways to debug whats going on?
Was this page helpful?