Unable to Access Gemini Omni Flash Preview Using Gemini API Key

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

that error means the safety filter is blocking your specific prompt content, not that youre ineligible for the model itself. try rephrasing away from whatever triggered it, and if you think its a false positive you can send feedback thru the link in the error message. also worth double checking theres nothing flaggable buried in a larger input.