omni-moderation-latest
: This model and all snapshots support more categorization options and multi-modal inputs.text-moderation-latest
(Legacy): Older model that supports only text inputs and fewer input categorizations. The newer omni-moderation models will be the best choice for new applications.violence
category score of greater than 0.8.
flagged
: true
if any content is considered harmful.categories
: Dictionary of category flags, true
means the input falls under that harmful category.category_scores
: Probability scores (0 to 1) for each category.category_applied_input_types
: Indicates whether the category was triggered by the text or image.