Documentation menu

Image content moderation

Detect potentially sensitive visual content and receive category labels and confidence scores for your moderation workflow.

POST/moderationmultipart/form-data

Request

Send an image in the image multipart form-data field. Choose review actions in your application based on the returned categories.

Form fieldTypeRequired
imageImage fileYes

Set RAPIDAPI_KEY and RAPIDAPI_HOST to the values from this API’s listing. The following example uses a POSIX shell. Replace the local filenames with your images.

cURL
curl --request POST \
  --url "https://$RAPIDAPI_HOST/moderation" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: $RAPIDAPI_HOST" \
  --form 'image=@./image.jpg'

Response example

JSON
{
  "flagged": false,
  "categories": [],
  "provider": "aws-rekognition"
}
Illustrative response. This is not a live detection result.

Response fields

FieldTypeMeaning
flaggedbooleanWhether the image is flagged by the API.
categories[].namestringDetected moderation category.
categories[].parentstringParent category in the moderation hierarchy.
categories[].confidencenumberConfidence associated with the category, from 0 to 100.
providerstringThe moderation provider.
Interpreting the result

Flagging is an input to your moderation policy. Your application decides whether to allow, block, or request a human review.

Limits and integration notes

  • The published image upload limit is 20 MB. Resize files that exceed the limit before sending them.
  • Keep keys server-side and use the correct host for the API. See authentication.
  • Handle bad inputs and temporary failures using the error guide.
  • Vision input images are processed in-request without storage by Tigrate. See data handling.
Try Image content moderation on RapidAPI

Based on the published RapidAPI reference, checked September 2026. Consult the listing for the latest full schema, optional parameters, and plan limits.

Questions about this integration?Contact the team