Updated
What is the ElevenLabs Speech-to-Text API?
The ElevenLabs Speech-to-Text API is live on UnificAlly as elevenlabs/speech-to-text, from $0.1561 per hour of audio. ElevenLabs Speech-to-Text is a transcription endpoint backed by Scribe v2. Send an audio_url and the job returns the text plus, optionally, the kind of structured output that Whisper users normally bolt on after the fact: speaker diarization for up to 32 voices, word- or character-level timestamps, inline audio event tags like (laughter) and (music), entity detection for PII, PHI, PCI, and offensive language, and keyterm boosting up to 100 terms. Output comes back as a text field plus a words array, where each word carries its start, end, type, and (when diarization is on) speaker_id. The combination is built for transcripts you can use without post-processing.
ElevenLabs Speech-to-Text API specs
| Model ID | elevenlabs/speech-to-text |
| Endpoint | POST https://api.unifically.com/v1/tasks |
| Request types | Audio transcription, with optional speaker diarization and entity detection |
| Input | One audio file, passed as audio_url |
| Output | text, the detected language_code, and a words array with start and end times |
| Timestamps | none, word, or character |
| Speakers | Up to 32 with diarize on |
| Keyterms | Up to 100, each under 50 characters |
| Rate | $0.1561/hour |
Billing is per hour of audio, with no subscription. The pricing page shows the live rate.
How to use the ElevenLabs Speech-to-Text API
- Create an API key on the API keys page.
- Send a POST request to
/v1/taskswith the model ID and aninputobject that holds theaudio_url. - Read the
task_idfrom the response, then check the task until it is finished, or set acallback_urlon the request and wait for the transcript.
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "elevenlabs/speech-to-text",
"input": {
"audio_url": "https://example.com/audio.mp3"
}
}'
The response returns the task ID straight away:
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "processing"
}
}
curl https://api.unifically.com/v1/tasks/{task_id} \
-H "Authorization: Bearer YOUR_API_KEY"
The finished task carries the transcript in output:
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "completed",
"output": {
"language_code": "eng",
"language_probability": 0.97,
"text": "Hello world",
"words": [
{
"text": "Hello",
"start": 0.0,
"end": 0.5,
"type": "word",
"speaker_id": "speaker_0"
},
{
"text": " ",
"start": 0.5,
"end": 0.6,
"type": "spacing"
},
{
"text": "world",
"start": 0.6,
"end": 1.0,
"type": "word",
"speaker_id": "speaker_0"
}
]
}
}
}
ElevenLabs Speech-to-Text API parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
audio_url | string | none | URL of the audio file to transcribe. Required |
language_code | string | auto-detect | ISO 639-1 or 639-3 language code |
diarize | boolean | false | Identifies who is speaking |
num_speakers | integer | auto | Maximum number of speakers, up to 32 |
diarization_threshold | number | 0.22 | Higher gives fewer speakers, lower gives more. Only used when diarize is true and num_speakers is not set |
timestamps_granularity | string | word | none, word, or character |
tag_audio_events | boolean | true | Tags events like (laughter), (music), (footsteps) |
entity_detection | string or array | none | all, or specific types like pii, phi, pci, offensive_language |
temperature | number | 0 | Randomness, 0 to 2. Higher gives more diverse output |
seed | integer | none | Seed for deterministic results, 0 to 2147483647 |
keyterms | array | none | Words or phrases to boost recognition accuracy. Up to 100, each under 50 characters |
The ElevenLabs Speech-to-Text API documentation has the full reference, with the word object fields.
Transcription with diarization
Turn on diarize and each word in the result carries a speaker_id.
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "elevenlabs/speech-to-text",
"input": {
"audio_url": "https://example.com/meeting.mp3",
"diarize": true,
"num_speakers": 3,
"language_code": "en",
"timestamps_granularity": "word",
"tag_audio_events": true,
"entity_detection": "all",
"keyterms": ["ElevenLabs", "API"]
}
}'
Key features of ElevenLabs Speech-to-Text
Five features cover what you'll set on a typical job.
Speaker diarization up to 32 voices
Set diarize to true and each word in the response carries a speaker_id. If you know the count, pass num_speakers; otherwise diarization_threshold (default 0.22) controls how the model groups voices.
Word- or character-level timestamps
timestamps_granularity accepts none, word (default), and character. Word timing fits caption exports and scroll highlighting; character timing suits precise lyric and subtitle work where every consonant matters.
Inline audio event tags
With tag_audio_events enabled, non-speech sounds appear as inline cues such as (laughter), (music), and (footsteps) inside the transcript. The type marker on individual word objects lets you filter or render them as needed.
Entity detection for compliance work
entity_detection accepts all, pii, phi, pci, or offensive_language. The result tags spans without a separate redaction pass, which is what makes the endpoint a single drop-in for HIPAA-adjacent and payments workflows.
Keyterm boosting for technical vocabulary
keyterms accepts up to 100 terms. The model biases recognition toward those words, which helps with product names, technical vocab, and proper nouns that off-the-shelf models tend to mishear.
What ElevenLabs Speech-to-Text is best for
Meeting notes and call recordings
Diarization plus word timestamps gives a who-spoke-when transcript without a separate alignment step. Useful for sales call review, internal notes, and post-meeting summaries.
Podcast transcripts
Word-level timing for scroll highlighting and search inside an episode. Audio event tags surface laughter and music cues that listeners actually search for.
Compliance review
PHI or PCI entity detection flags sensitive spans automatically. Drop a transcript through the endpoint and route flagged content to manual review.
Legal and medical transcription
Entity detection plus keyterm boosting carries domain vocabulary cleanly. Pass case names, drug names, or product codes as keyterms before the call.
Caption and subtitle exports
Word timestamps map directly to SRT/VTT output. Switch to character timestamps when subtitles need precise lyric or musical-score alignment.
Research corpora
Field recordings transcribed with diarization, audio event tags, and domain keyterms produce a structured corpus ready for downstream NLP without an ETL step.
ElevenLabs Speech-to-Text use cases
Wire a meeting transcription tool that uploads the call audio, requests diarization plus word timestamps, and renders a labelled transcript inside the user's dashboard. Build a compliance scanner that runs every customer-support recording through the endpoint with entity_detection set to pii and routes flagged calls to a manual review queue. Build a podcast site that drops new episodes into the endpoint with audio event tagging on, then renders a click-to-jump transcript next to the player. Localize subtitles by transcribing once with character timestamps, machine-translating the text, and re-aligning the translated lines to the original timing.
FAQs
People also ask about ElevenLabs Speech-to-Text
ElevenLabs Speech-to-Text is a transcription endpoint backed by Scribe v2. Send an audio URL and the job returns text with optional diarization, word- or character-level timestamps, audio event tags, entity detection (PII, PHI, PCI, offensive language), and keyterm boosting.
Transcription runs on https://api.unifically.com/v1/tasks as elevenlabs/speech-to-text, with the key from your API keys page in an Authorization: Bearer header. The first request needs only an audio_url.
Submit elevenlabs/speech-to-text with input.audio_url, adding diarize, language_code, keyterms or timestamps_granularity as needed. The completed task returns output.text with a words list of timed tokens and speaker IDs, read from /v1/tasks/{task_id} or delivered to a callback_url.
With tag_audio_events enabled (the default), non-speech sounds appear as inline cues such as (laughter), (music), or (footsteps) inside the transcript text and as type markers on individual word objects.
Pass an array of words or short phrases on keyterms (up to 100). The model biases recognition toward those terms, which helps with product names, technical vocabulary, and proper nouns.
Five. all, pii, phi, pci, and offensive_language. Pick phi for HIPAA-adjacent workflows. Pick pci for payment-card spans. Pick all for general redaction. Omit the field when you don't need detection.
Set diarize to true. The model identifies up to 32 speakers and labels each word object with a speaker_id. If you know the count, pass num_speakers; otherwise the model falls back to a diarization_threshold (default 0.22) to decide.
Three. none, word (the default), and character. Word timestamps are right for caption exports and search highlighting; character timestamps suit precise lyric or subtitle work.
Yes. Pass an integer seed (0 to 2,147,483,647) and the same audio, language, and parameters return the same transcript. The temperature field (0 to 2, default 0) controls how much variation the model is allowed.