SPEAKER_00, SPEAKER_01, …). The language is detected automatically, or you can set it. The same job also exports SRT, VTT, TXT, DOCX and PDF.
Input: a public URL of an audio or video file, or a local file.
1. Install and set your key
2. Transcribe
client.transcription.upload({ file: "./interview.mp3", speakerDiarization: true }), then client.transcription.waitForCompletion(job.id).
What comes back
Tips
- Set
language="en"(Python) orlanguage: "en"(Node) when you know it; detection is automatic otherwise. - In Node,
minSpeakersandmaxSpeakersbound the speaker count when you know roughly how many people talk. - Want to be told when a long recording finishes instead of waiting? Register a webhook.
- Live audio from a microphone or call: see live transcription.
From an AI agent
Connected to the AudioPod MCP server? Ask: “Transcribe https://example.com/interview.mp3 with speaker labels as SRT.” The agent callstranscribe_audio with diarize: true and format: "srt", then check_job_status until it is done.
Full endpoint reference: Speech-to-Text.