주원 김 Greetings & Welcome to Microsoft Q&A forum!
I used the prompt 'generate a male game character, armed in a cinematic mood of ancient era' to create an image through the DALL-E API, but I keep getting the error message 'Your task failed as a result of our safety system'. How can I resolve this?
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see Content filtering.
In your prompt there is word "armed" this could have triggered the content filtering. I tried with the same prompt and received an error.
I suggest you, remove the word and try. I just tried and able to generate an image.
Please see below for more clarity.
For more details refer Generate images with Azure OpenAI Service.
Do let me know if that helps or have any other queries.
If the response helped, please do click Accept Answer
and Yes
for was this answer helpful.
Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.