Skip to navigation

Moderate video content and detect profanity

This endpoint analyzes existing media for potentially unsafe or inappropriate content, including profanity. The results contain detected moderation categories and confidence scores to help automate content review and policy enforcement.

What it detects

  • Video: Sexual content, violence, graphic violence, self-harm, harassment, hate, and illicit content.
  • Audio: Harassment, hate, threats, sexual content, self-harm, violence, and profanity.

How it works

  1. Send a POST request to this endpoint, replacing <mediaId> with the ID of the media for which you want to generate moderation.
  2. The response confirms that the request was successful and returns the ID of the media. The job starts immediately after a successful request.
  3. You can use the video.media.ai.moderation.ready webhook event to track and notify the status.
  4. After the webhook event is received, you can use the Get video moderation results endpoint to retrieve the generated moderation.

Use case: Use this feature to analyze media that has already been uploaded for unsafe content and profanity, without requiring the user to upload it again.

Related guide: Content moderation and profanity detection

Authentication

AuthorizationBasic

FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.

  • Username: Access Token ID
  • Password: Secret Key

Activate your FastPix account to generate your API credentials. See the guide here

Path parameters

mediaIdstringRequiredformat: "uuid"
The unique identifier assigned to the media when it is created. The value must be a valid UUID.

Response

Successfully triggered video moderation generation.
successbooleanOptional
Shows the request status. Returns true for success and false for failure.
dataobjectOptional