Skip to main content

Moderation

This rule checks that the image does not contain any/specific moderation labels.

Parameter table​

paramunitrequireddescription
confidencenoThe minimum confidence level required for the moderation labels detection.
filtersnoAn array of moderation labels to filter out.

How to setup​

This rule evaluates whether an image contains moderation labels. Key parameters include:

  • confidence: The minimum confidence level required for the moderation labels detection.
  • filters: An array of moderation labels to check for.

These parameters are optional. If no confidence level is provided, the rule will check for labels with a confidence level of 50% or higher. If the filters parameter is not provided, the rule will check the image against any moderation labels.

Examples​

valuevalidconfidencefiltersdescription
Mario & Luigi✅(blood & gore, nudity)The image should not contain "blood & gore" or "nudity" labels.
saw❌90(blood & gore)The image should not contain "blood & gore" labels with a confidence level above 90%.
Mario & Luigi✅90The image should not contain any moderation labels with a confidence level more than 90%.