Prerequisites
Get an API key
Create a free account and create an API key from the API Key Tab.
Set up your Python environment
All examples use Python 3.8+. Create a virtual environment and install dependencies:Create Install requirements:
requirements.txt in your project root:requirements.txt
Store your API key
Set your key as an environment variable — never hard-code credentials.Or store it in a
.env file and load it with python-dotenv.Make your first call
Expected response
Expected response
text field is the full transcript. utterances breaks it into per-speaker, per-language segments with millisecond timestamps.
Go deeper by capability
Speech to text
All three STT models — multilingual batch, English fast, and real-time streaming.
Deepfake detection
Detect synthetic voice in recorded files or live audio streams.
PII/PHI redaction
Remove sensitive content from transcripts and audio.
Music detection
Classify audio as music, speech, or neither — batch and streaming.