Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hey Andres,
It looks like you're seeing content filtering being triggered for requests that seem safe, especially with gpt-image-2. Let me clarify how this works and what you can check.
- Is this expected
Yes, this can happen.
Azure AI content filtering is based on machine learning models that classify content into categories like violence, hate, sexual, and self harm. These models are probabilistic, which means the same input may sometimes pass and sometimes get blocked.
So in some cases, even safe-looking content can be flagged depending on how the model interprets the input.
- Why this happens
There are a few common reasons for this kind of behavior:
- The model may interpret parts of the prompt or image differently each time
- Certain visual patterns or wording may look ambiguous to the filter
- The filtering threshold is set to block medium and high severity by default
Because of this, small changes in input can lead to different results.
- What you can do to reduce false positives
You can try the following:
- Check the content filter result returned in the response This helps identify which category triggered the block
- Slightly adjust or simplify your prompt Avoid any wording that could be interpreted as sensitive or ambiguous
- Try small changes to the image Cropping, resizing, or changing minor details can sometimes help
- Test multiple requests This helps identify patterns and common triggers in your scenario
- Configuration options
In Azure AI Foundry, content filters are applied by default to all models.
You can:
- Review your current filter settings under Guardrails and controls
- Adjust filtering level where allowed
- For more advanced customization, some options may require special approval depending on your subscription and access
Useful references
I Hope this helps. Do let me know if you have any further queries.
Thankyou!