
Rate video content as General Audience, Teen (13+), Teen (16+), or Adult (18+) based on nudity, violence, and language
Vision Language Model for image/video understanding with reasoning
media_typestringType of media being sent: 'image' or 'video'. Auto-detected if not specified.
imageimage_urlstringURL of image to analyze
https://example.com/image.jpgbase64_imagestringBase64-encoded image data
video_urlstringURL of video to analyze
https://example.com/video.mp4base64_videostringBase64-encoded video data
Structured Content Rating response
responseobjectStructured response from the model
eventsarrayratingstringgeneral_audienceteen_13_plusteen_16_plusadult_18_plusreasonstringconfidencestringlowmediumhighthinkingstringChain-of-thought reasoning from the model (may be empty)
{
"model": "video-content-rating",
"image_url": "https://example.com/image.jpg"
}{
"inference_id": "inf_abc123def456",
"model_id": "video_content_rating",
"model_name": "Content Rating",
"moderation_type": "video",
"status": "completed",
"result": {
"response": {
"events": null,
"rating": "general_audience",
"reason": "example_reason",
"confidence": "low"
},
"thinking": ""
}
}429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.Integrate Content Rating into your application today with our easy-to-use API.