Skip to main content
Transcribe audio files to text using ElevenLabs Scribe v2 with word-level timestamps, speaker diarization, and entity detection.

Model

Parameters

ParameterTypeRequiredDefaultDescription
audio_urlstringYes-URL of the audio file to transcribe
language_codestringNoauto-detectISO 639-1/639-3 language code
diarizebooleanNofalseIdentify who is speaking (speaker diarization)
num_speakersintegerNoautoMax number of speakers (up to 32)
diarization_thresholdnumberNo0.22Higher = fewer speakers, lower = more. Only used when diarize is true and num_speakers is not set
timestamps_granularitystringNoword"none", "word", or "character"
tag_audio_eventsbooleanNotrueTag events like (laughter), (music), (footsteps)
entity_detectionstring/arrayNo-Detect entities: "all", or specific types like "pii", "phi", "pci", "offensive_language"
temperaturenumberNo0Randomness (0–2). Higher = more diverse output
seedintegerNo-Seed for deterministic results (0–2147483647)
keytermsarrayNo-Words/phrases to boost recognition accuracy (max 100, each under 50 chars)

Example - Basic Transcription

Example - With Diarization

Response

Completed Response

Word Object

Each word in the words array contains:
FieldTypeDescription
textstringThe transcribed text
startnumberStart time in seconds
endnumberEnd time in seconds
typestring"word", "spacing", or audio event type
speaker_idstringSpeaker identifier (when diarize is enabled)