APIv1.ImageGenerationData.skip_prompt_moderation property
Prompt moderation will cause image generation requests to synchronously fail (i.e. return a 422 status code) if it detects content that our underlying models may reject. Setting skip_prompt_moderation
to true
will bypass the moderation filter and attempt to generate the image(s) anyway. Please note that the generation may still asynchronously fail due to content moderation at the model-level.
Signature:
skip_prompt_moderation?: boolean;