Audio moderation

The exact seconds that break policy.

Send the address of a recording. Its speech is transcribed and checked for your flags, and the answer gives each finding with its start and end in seconds, so you can mute, cut or review exactly that part.

What it finds

What is said

Speech is checked for the same things as text. Your flags depend on your plan.

  • Profanity

    Swear words, each with the second it starts and ends.

  • Insults

    Name-calling and personal attacks aimed at someone.

  • Hate speech

    Attacks on people for who they are: their origin, religion, gender and the like.

  • Sexual content

    Sexual talk and explicit descriptions.

  • Self-harm

    Talk of hurting oneself, so that someone can step in.

  • Bad habits

    Drugs, drinking and smoking, talked up.

How it works
  1. Send its address

    An http or https URL of a recording: a podcast episode, a voice message, a call, the sound of a video.

  2. Speech becomes text

    The speech is transcribed with the time of every word, then checked for your flags.

  3. Get the seconds

    Each finding comes with its start and end in seconds from the beginning of the recording. Mute, cut or review only that part.

In code

One request, one answer

Request
curl https://api.detectivision.ai/api/v1/moderation \
  -H "Api-Key: $DETECTIVISION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type": "audio_moderation", "input": "https://example.com/episode.mp3"}'
Response
{
  "id": 1071,
  "type": "audio_moderation",
  "mode": "capture",
  "status": "completed",
  "flagged": true,
  "flags": [
    {
      "flag": "profanity",
      "confidence": 0.97,
      "detections": [
        { "label": "profanity", "confidence": 0.97, "start": 12.4, "end": 12.9 }
      ]
    },
    {
      "flag": "insult",
      "confidence": 0.91,
      "detections": [
        { "label": "insult", "confidence": 0.91, "start": 47.2, "end": 48.6 }
      ]
    }
  ],
  "checked": ["hate", "insult", "profanity", "sexual", "self_harm"],
  "unchecked": [],
  "tookMs": 2300,
  "usage": { "charged": 2, "remaining": 18 }
}

start and end are seconds from the beginning of the recording.

Questions

Frequently asked

What can I send?

Any recording with speech in it: podcast episodes, voice messages, calls, the sound of a video. Send its address, as for images and videos.

Which languages does it understand?

English, Spanish, Portuguese, French, German, Italian, Turkish, Arabic, Russian, Hindi, Chinese and Japanese, as text moderation does.

Can it check the sound of a live stream?

Yes. Speech in a live stream is checked as it comes in; see live stream moderation.

How is it paid for?

With audio credits, which come with your plan like the credits of every other kind. Errors cost nothing.