Moderating large volumes of user-generated video.
Nobody can watch every upload. Sample a frame or two a second instead of every frame, check videos asynchronously, a batch at a time, and send people only what the model flags. With Detectivision you send a video’s address and get the result by webhook.
Three ways to moderate video
| Way | How it scales | Where it fails |
|---|---|---|
| People watch every video | With the size of the team. | Hours of video an hour of uploads; slow and hard on the moderators. |
| A model checks every video | With the volume of uploads. | Cases that need judgement or context. |
| A model checks, people decide what it flags | With the volume; people see only what is flagged. | The least: this is the usual way. |
With Detectivision, as its docs describe it:
Send its address with "async": true: you get an id at once, pay half, and get the result by webhook. Up to 50 checks can wait at once per account; send more as results come in.
Choose the frame rate
fps sets how many frames a second are checked, 0.5 to 10. For most content 1 or 2 is enough.
Split long videos
One check takes up to 300 frames: 5 minutes at 1 fps, 30 seconds at 10. Longer videos go in parts.
Hold a flagged video for a moderator, or take it down. Moderators take your own actions on it from the dashboard’s Logs, and your system gets each one by webhook.
What a video costs
From the video docs, in detect mode: a unit is a started 60 frames checked, a minute of video at 1 fps, and costs 1 credit by webhook and 2 for an answer given at once.
| Video | Units | By webhook | At once |
|---|---|---|---|
| 2 minutes at 1 fps | 2 | 2 | 4 |
| 2 minutes at 2 fps | 4 | 4 | 8 |
| 5 minutes at 1 fps | 5 | 5 | 10 |
In capture and censor mode a unit costs 2 credits by webhook and 4 at once. A request that is refused costs nothing.
A video request and its 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/uploads/clip-882.mp4",
"fps": 1,
"async": true,
"metadata": { "videoId": 882 }
}'{
"id": 1061,
"type": "video_moderation",
"status": "queued",
"metadata": { "videoId": 882 }
}The status code is 202, and credits are taken when the check runs. The result comes in a moderation.completed webhook with your metadata.
Frequently asked
Can Detectivision moderate video?
Yes. Send a video’s address with the type video_moderation: it samples frames at the rate you choose and answers with the flags it raised, and when and where each finding is. GET /api/v1/status shows the state of each type.
Which videos does it take?
The docs list MP4, MOV, WebM, MKV and AVI, up to 100 MB, at an http or https address anyone can open, and at most 300 frames per check.
How many frames a second should I check?
For most content 1 or 2. A higher rate catches shorter moments but covers less of a long video in one check.
Does Detectivision remove videos itself?
A moderator can open a check in the dashboard’s Logs and see its flags, your metadata and your actions. You define those actions, such as Approve or Ban; when a moderator takes one, your system gets a moderation.action webhook and carries it out. Detectivision never acts on your platform itself.
Can it moderate live video?
Yes. A live session watches a stream link (RTSP, RTMP, HLS, HTTP or SRT) or takes frames from a camera, and each flagged moment reaches your webhook with its picture.
What it checks, frame by frame.
What sets the price of moderating streams, with worked examples.
Results at your own URL, signed.
Check voice messages for profanity, insults and hate speech, with the start and end second of each finding: how it works, what to do next, which APIs do it.
Why English-first moderation misses Arabic and Turkish abuse, which APIs list both languages for which categories, and how to test one on your own messages.
Scammers write phone numbers, WhatsApp handles and IBANs on photos to move a deal off your platform. How to detect them, what to do next, which APIs do it.
Yes, for most of it: a model reads every message and says which kind of abuse it finds and how sure it is. What it does well, where people decide.
Check every image when it is uploaded, then block, blur or hold it when it shows nudity or sexual content. Step by step, with the API call.