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
Any speech clip of 5 to 30 seconds works. The examples below assume
audio.mp3 in the working directory.curl example needs nothing else. The Python example needs requests:
Make the first call
application/json.
Response
Response
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.
Language Detection
The spoken language of a clip, with a confidence score.