An NSFW detection API for images and text.
Send the address of an image, or a text. Detectivision answers whether it shows or says something sexual, and how sure it is, along with any other flags you ask for. The image itself is not stored.
Sexual content, in pictures and in words
The sexual flag exists for images and for text, and every account has it.
Pictures that show nudity or sexual content, judged on the whole image.
Explicit descriptions, and sexual harassment in messages, comments and bios, in English, Spanish, Portuguese, French, German, Italian, Turkish, Arabic, Russian, Hindi, Chinese and Japanese.
Other flags in the same call
Add violence, hate or scam to an image check, or insults and hate to a text check. The price stays the same.
Check an image before it is shown
curl https://api.detectivision.ai/api/v1/moderation \
-H "Api-Key: $DETECTIVISION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "image_moderation",
"input": "https://example.com/photo.jpg",
"mode": "detect",
"flags": ["sexual"]
}'{
"id": 1042,
"type": "image_moderation",
"mode": "detect",
"status": "completed",
"flagged": true,
"flags": [{ "flag": "sexual", "confidence": 0.94 }],
"checked": ["sexual"],
"unchecked": [],
"tookMs": 1180,
"usage": { "charged": 2, "remaining": 9998 }
}detect mode answers with the verdict only, enough to hold back an upload. The flag judges the whole image. Leave out flags to check every image flag of your account.
Check at upload
Send each new image or text before it goes live. An answer given at once suits a form that waits; add "async": true to get it by webhook, at half the price.
Decide on the flag
Hold back what raises sexual, or send answers with a confidence between 0.5 and 0.7 to a person first. A flag is raised from 0.5 by default.
Review in Logs
A moderator can open a check in the dashboard’s Logs and see its flags, your metadata and your actions, such as Approve or Remove. Your system gets each action taken by webhook.
Profile photos, bios and the photos people send in chat.
Listing photos and descriptions, before they go live.
Check every upload, then block, blur or hold it.
Frequently asked
What does a check cost?
An image is 1 credit, and a text 1 credit per started 2,500 characters, when the answer comes by webhook. An answer given at once, the default, costs twice that. Errors and partial results cost nothing.
Do you keep the images?
No. An image is downloaded, checked and not kept.
Which images can I send?
JPEG, PNG, WebP, BMP and GIF, up to 10 MB, at an http or https address anyone can open. Signed links work while they are valid.
Can I set my own threshold?
Yes. A flag is raised from a confidence of 0.5 by default, and its confidence comes with it, so you can act only above your own line, or send the middle band to a person.
Which languages does the text check understand?
English, Spanish, Portuguese, French, German, Italian, Turkish, Arabic, Russian, Hindi, Chinese and Japanese. Text in other languages is checked, but the results are not reliable.