Speaker diarization identifies who is speaking and labels the transcript with speakers. It is opt-in per request: add the form field diarize="true" to enable it. No customer-side setup is needed — the diarization model (pyannote) is managed server-side. When diarization is on, each segment and word in the transcript carries a speaker label (SPEAKER_00, SPEAKER_01, …). Without diarize=true no speaker labels are returned.
min_speakers: minimum number of speakers to detect (1–20). Optional; use together with max_speakers when you know roughly how many people speak.
max_speakers: maximum number of speakers to detect (1–20). Optional.
auto_detect_speakers: let the diarization model pick the optimal speaker count automatically; when true, min_speakers/max_speakers are ignored. Default: false.
vad_method: keep the default pyannote for the best diarization quality (already listed above as a VAD option — it also matters for diarization).
file: different file types PDF (.pdf), Word (.docx), PowerPoint (.pptx), spreadsheets(.xlsx, .csv, .ods), OpenDocument files (.odt, .odp), HTML, Markdown, AsciiDoc, LaTeX, common image formats such as PNG and JPEG, XML, JSON Docling, DCLX, EPUB, email, Box Note, audio, and VTT