Image content moderation
Detect potentially sensitive visual content and receive category labels and confidence scores for your moderation workflow.
POST
/moderationmultipart/form-dataRequest
Send an image in the image multipart form-data field. Choose review actions in your application based on the returned categories.
| Form field | Type | Required |
|---|---|---|
image | Image file | Yes |
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
| Field | Type | Meaning |
|---|---|---|
flagged | boolean | Whether the image is flagged by the API. |
categories[].name | string | Detected moderation category. |
categories[].parent | string | Parent category in the moderation hierarchy. |
categories[].confidence | number | Confidence associated with the category, from 0 to 100. |
provider | string | The 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.
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