Skip to main content
Model logo

ElevenLabs Speech-to-Text API

    ElevenLabs Speech-to-Text is part of the ElevenLabs model familyView all ElevenLabs models

    Tap to uploadMP3, WAV, FLAC, OGG · Max 100MB
    Output

    Your generated audio will appear here

    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 IDelevenlabs/speech-to-text
    EndpointPOST https://api.unifically.com/v1/tasks
    Request typesAudio transcription, with optional speaker diarization and entity detection
    InputOne audio file, passed as audio_url
    Outputtext, the detected language_code, and a words array with start and end times
    Timestampsnone, word, or character
    SpeakersUp to 32 with diarize on
    KeytermsUp 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

    1. Create an API key on the API keys page.
    2. Send a POST request to /v1/tasks with the model ID and an input object that holds the audio_url.
    3. Read the task_id from the response, then check the task until it is finished, or set a callback_url on 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

    ParameterTypeDefaultWhat it does
    audio_urlstringnoneURL of the audio file to transcribe. Required
    language_codestringauto-detectISO 639-1 or 639-3 language code
    diarizebooleanfalseIdentifies who is speaking
    num_speakersintegerautoMaximum number of speakers, up to 32
    diarization_thresholdnumber0.22Higher gives fewer speakers, lower gives more. Only used when diarize is true and num_speakers is not set
    timestamps_granularitystringwordnone, word, or character
    tag_audio_eventsbooleantrueTags events like (laughter), (music), (footsteps)
    entity_detectionstring or arraynoneall, or specific types like pii, phi, pci, offensive_language
    temperaturenumber0Randomness, 0 to 2. Higher gives more diverse output
    seedintegernoneSeed for deterministic results, 0 to 2147483647
    keytermsarraynoneWords 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.