Skip to main content
This page goes from nothing to a transcript. The same shape applies to every other Modulate model: one key, one request, one response.

Before starting

1

Get an API key

Create a free account, then create a key from the API Keys tab in the dashboard.
2

Store the key

Set it as an environment variable rather than hard-coding it.
3

Get a sample audio file

Download the sample clip into the working directory. The examples below read audio.mp3 from there.
The sample is 17 seconds of one speaker. Any speech clip of 5 to 30 seconds works in its place.
The curl example pipes the response through jq to render it. The Python example needs requests:

Make the first call

Output
A rejected call prints the server’s message in place of the transcript:
Output
Every error response carries a detail field, which is what the if at the front of the jq filter reads. The same guard is on the curl example for every endpoint. The response is application/json.
text is the full transcript. utterances breaks it into speaker turns with millisecond timing and a language detected per utterance. emotion, accent, and deepfake_score are null until those signals are enabled. See Transcription. Response formats differ across the API. Most endpoints return JSON, PII/PHI Redaction batch returns multipart/form-data, and the streaming endpoints return sequences of JSON messages, some interleaved with binary audio frames. Each capability page states the format for its endpoints.

Go deeper by capability

Each page states what the endpoint returns, what can be configured, the accepted audio formats, and a runnable call for every endpoint in that family.

Velma Triage

Behaviors, topics, sentiment, and a summary across a whole conversation.

Transcription

Multilingual, English Fast, and Multilingual Fast. Batch and streaming.

Deepfake Detection

Per-frame synthetic-voice verdicts on files or live audio.

PII/PHI Redaction

A redacted transcript plus audio with the sensitive ranges silenced.

Emotion Detection

A whole-file emotion label plus a per-window time series.

Accent Detection

A whole-file accent label plus a per-window time series.

Music & Speech Detection

Frame-level music and speech probabilities.

AI Music Detection

Whether a track contains AI-generated vocals or instrumentals.

Audio Event Detection

Which non-speech sound events are present, from a vocabulary of 42 spanning instruments to gunshots.

Language Detection

The spoken language of a clip, with a confidence score.
Which API should I use? works from the output backwards to the endpoint that produces it.

Combine models

One endpoint answers one question. Most production decisions read two or more outputs together.

Screen a call for voice fraud

Run Deepfake Detection and Velma Triage on one recording, aggregate the frame verdicts, and combine both outputs into a single screening decision.