Hello Google Gemini API Support Team,
I am experiencing an issue while trying to access the Gemini Omni Flash Preview model using my Gemini API key.
I have created an API key and attempted to access the model through the Gemini API, but I am unable to use the model successfully.
Model: gemini-omni-flash-preview
Error message:
“BadRequestError: Error code: 400 - {‘error’: {‘message’: “Input blocked: The prompt could not be submitted. The prompt contains sensitive words that violate Google’s [Generative AI Prohibited Use policy](https://policies.google.com/terms/generative-ai/use-policy). Try rephrasing the prompt. If you think this was an error, [send feedback](https://ai.google.dev/gemini-api/docs/troubleshooting).”, ‘code’: ‘invalid_request’}}”
API/SDK used:
google-genai>=0.1.0
Billing status:
Billing enabled
Region/Country:
India
I have already checked my API key configuration and attempted to troubleshoot the issue, but the problem still persists.
Could you please check whether my project or API key is eligible to access the Gemini Omni Flash Preview model and advise me on how to resolve this issue?
Thank you for your assistance.
Best regards,
Priyanshu Kumar