Know the second it happens.
Send the address of a video. Detectivision samples it at the rate you choose, checks every sampled frame for your flags, and answers with when and where each finding appears, or with a copy where they are blurred.
Frame by frame
The visual flags of images, the second they appear. Your flags depend on your plan.
Nudity
Exposed bodies, with the second and the box of each sighting.
Explicit nudity
A flag of its own, for a stricter line than nudity.
Sexual objects
Sexual objects anywhere in the frame.
Smoking
Cigarettes and vapes, even when they are on screen for a moment.
Alcohol
Drinks on screen, told apart from coffee, water, juice and soda.
Brands
The logos of about 300 well-known brands, named, for sponsorship and advertising rules.
Send its address
An http or https URL. MP4, MOV, WebM, MKV or AVI, up to 100 MB.
Choose how closely to look
fps sets the frames checked per second of video, 0.5 to 10. For most content 1 or 2 is enough.
Get the moments
Every finding comes with t, the seconds from the start, its frame and its box. Group them by t to list the moments a flag appears.
One request, one answer
curl https://api.detectivision.ai/api/v1/moderation \
-H "Api-Key: $DETECTIVISION_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type": "video_moderation", "input": "https://example.com/clip.mp4", "fps": 2}'{
"id": 1060,
"type": "video_moderation",
"mode": "capture",
"status": "completed",
"flagged": true,
"flags": [
{
"flag": "nudity",
"confidence": 0.91,
"detections": [
{
"label": "exposed_breasts",
"confidence": 0.91,
"bbox": [212, 140, 388, 301],
"frame": 0,
"t": 0
},
{
"label": "exposed_breasts",
"confidence": 0.88,
"bbox": [220, 150, 390, 300],
"frame": 1,
"t": 0.5
}
]
}
],
"checked": ["nudity", "explicit_nudity", "sexual_objects", "smoking"],
"unchecked": [],
"media": {
"kind": "video",
"fps": 2,
"frames": 3,
"width": 640,
"height": 360,
"durationS": 1.5,
"truncated": false
},
"tookMs": 5400,
"usage": { "charged": 4, "remaining": 26 }
}t is seconds from the start of the video and bbox the box in pixels of its frame. media says how the video was sampled.
A verdict, the moments, or a clean copy
Detect
Only the flags and how sure each one is: a yes or no for an upload.
Capture
The default. Also the second, the frame and the box of every finding. With tracking, free, each finding is followed from frame to frame.
Censor
Also a copy with every finding hidden, as H.264 MP4. With tracking, an object stays hidden on every frame, not only the checked ones.
Frequently asked
How long can a video be?
One check covers up to 300 frames: five minutes at fps 1, 30 seconds at fps 10. Send a longer video in parts.
Which formats can I send?
MP4, MOV, WebM, MKV and AVI, up to 100 MB, at an http or https address. The download must finish within 60 seconds.
How long does a check take?
Usually seconds, and at most about two minutes for a long video at a high rate. You can also send it async and get the result by webhook.
How much does a check cost?
Per started 60 frames checked, a minute of video at fps 1: 1 credit in detect mode, 2 in capture and censor mode, async. An answer given at once, the default, costs twice that.