Content Moderation Models
Last updated
Was this helpful?
Last updated
Was this helpful?
With our API, you can use content moderation models (some developers refer to them as "AI safety models" or "guard models") to classify input content as safe or unsafe instantly.
We support several content moderation models. You can find the along with API reference links at the end of the page.
Text Analysis: Check text for security.
Image Analysis: Check image for security.
Flexible Input Methods: Supports both image URLs and base64 encoded images.
Multiple Image Inputs: Analyze multiple images in a single request.
Content moderation models are perfect for scenarios where content safety is crucial:
Moderate user-generated content on websites.
Filter harmful inputs in chatbots.
Safeguard sensitive systems from unsafe data.
Ensure compliance with safety standards in applications.
Ensure you replace <YOUR_AIMLAPI_KEY> with your actual API key and <YOUR_MODEL> with the actual content moderation model id before running the code.
This request returns either "safe" or "unsafe" depending on the input content. For example:
Once content is classified as unsafe, it is categorized under the hazard category. This process is unique to each model.
Meta
128000
-
Meta
8000
Meta
8000