Send a Turkish comment, message or review as it was written. Detectivision answers with each flag it raised, such as an insult or hate speech, and how sure it is. English works the same way, in the same call.
Every account has these text flags. Ask for all of them, or only those your rules need.
Insults and personal attacks on someone.
Hate against a group of people for who they are.
Racist or ethnic hate speech.
Sexist statements.
Sexual language, or sexual harassment of someone.
curl https://api.detectivision.ai/api/v1/moderation \
-H "Api-Key: $DETECTIVISION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "text_moderation",
"input": "Sen salak birisin, kimse seni istemiyor.",
"mode": "detect",
"flags": ["insult", "hate", "racism", "sexism", "sexual"]
}'{
"id": 9105,
"type": "text_moderation",
"mode": "detect",
"status": "completed",
"flagged": true,
"flags": [{ "flag": "insult", "confidence": 0.94 }],
"checked": ["hate", "insult", "racism", "sexism", "sexual"],
"unchecked": [],
"tookMs": 610,
"usage": { "charged": 2, "remaining": 9998 }
}The text is checked exactly as you send it, Turkish characters and all: nothing is trimmed or translated first.
No need to translate or clean up a text first. Send it with its Turkish characters, up to 10,000 characters.
Remove hate and racism at once, hold insults for a moderator, or only warn. Each flag is its own decision.
There is no language to set: Turkish and English texts go to the same endpoint, so a community that writes in both needs one integration.
Forums, comment sections and social apps.
Chat, player names and clan names.
Reviews and messages between buyers and sellers.
No. There is no language setting: send the text, in Turkish or in English.
Swearing aimed at someone raises insult. A flag for swear words on their own is not among the flags every account has.
Turkish and English. Text in other languages is checked, but the results are not reliable.
A text costs 1 credit per started 2,500 characters when the answer comes by webhook, and twice that when it comes at once. Asking for fewer flags never costs more.
Yes. The plans, and the free trial, are on the pricing page.