elevenlabs Speech to Text API

Endpoints for converting audio into text transcriptions with support for multiple languages and audio formats.

Operations 2

POST /v1/speech-to-text Convert speech to text #
POST /v1/speech-to-text/async Convert speech to text asynchronously #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elevenlabs-speech-to-text-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elevenlabs-speech-to-text-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ElevenLabs Audio Isolation Agents Speech to Text API
  description: The ElevenLabs Audio Isolation API removes background noise from audio recordings, isolating vocal tracks from ambient sounds and interference. This is useful for cleaning up recordings, improving audio quality for podcasts and interviews, and preparing audio files for further processing such as voice cloning or transcription.
  version: '1.0'
  contact:
    name: ElevenLabs Support
    url: https://help.elevenlabs.io
  termsOfService: https://elevenlabs.io/terms-of-service
servers:
- url: https://api.elevenlabs.io
  description: Production Server
security:
- apiKeyAuth: []
tags:
- name: Speech to Text
  description: Endpoints for converting audio into text transcriptions with support for multiple languages and audio formats.
paths:
  /v1/speech-to-text:
    post:
      operationId: convertSpeechToText
      summary: Convert speech to text
      description: Transcribes an audio file into text. Supports multiple audio formats and languages. Returns the transcribed text along with optional word-level timing information.
      tags:
      - Speech to Text
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SpeechToTextRequest'
      responses:
        '200':
          description: Transcription completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranscriptionResponse'
        '400':
          description: Bad request - invalid audio file or parameters
        '401':
          description: Unauthorized - invalid or missing API key
        '422':
          description: Unprocessable entity - validation error
  /v1/speech-to-text/async:
    post:
      operationId: convertSpeechToTextAsync
      summary: Convert speech to text asynchronously
      description: Submits an audio file for asynchronous transcription. Returns a task identifier that can be used to poll for the transcription result or receive it via webhook callback.
      tags:
      - Speech to Text
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SpeechToTextAsyncRequest'
      responses:
        '200':
          description: Transcription task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTranscriptionResponse'
        '400':
          description: Bad request - invalid audio file or parameters
        '401':
          description: Unauthorized - invalid or missing API key
        '422':
          description: Unprocessable entity - validation error
components:
  schemas:
    SpeechToTextRequest:
      type: object
      required:
      - file
      properties:
        file:
          type: string
          format: binary
          description: The audio file to transcribe. Supports formats including MP3, WAV, FLAC, OGG, and M4A.
        model_id:
          type: string
          description: The identifier of the speech-to-text model to use for transcription.
        language_code:
          type: string
          description: Language code in ISO 639-1 format to hint the expected language of the audio content.
        tag_audio_events:
          type: boolean
          description: Whether to tag non-speech audio events such as music, laughter, or applause in the transcription output.
          default: false
        timestamps_granularity:
          type: string
          description: The level of timestamp granularity to include in the response.
          enum:
          - none
          - word
          - character
    TranscriptionResponse:
      type: object
      properties:
        text:
          type: string
          description: The full transcribed text.
        language_code:
          type: string
          description: The detected language of the audio content.
        language_probability:
          type: number
          description: Confidence score for the detected language.
        words:
          type: array
          description: Word-level timing information when timestamps are requested.
          items:
            $ref: '#/components/schemas/TranscriptionWord'
        audio_events:
          type: array
          description: Non-speech audio events detected in the recording.
          items:
            $ref: '#/components/schemas/AudioEvent'
    AudioEvent:
      type: object
      properties:
        type:
          type: string
          description: The type of audio event detected.
        start:
          type: number
          description: Start time of the event in seconds.
        end:
          type: number
          description: End time of the event in seconds.
    SpeechToTextAsyncRequest:
      type: object
      required:
      - file
      properties:
        file:
          type: string
          format: binary
          description: The audio file to transcribe asynchronously.
        model_id:
          type: string
          description: The identifier of the speech-to-text model to use.
        language_code:
          type: string
          description: Language code in ISO 639-1 format.
        webhook_url:
          type: string
          format: uri
          description: A URL to receive a webhook notification when the transcription is complete.
    TranscriptionWord:
      type: object
      properties:
        text:
          type: string
          description: The transcribed word.
        start:
          type: number
          description: Start time of the word in seconds.
        end:
          type: number
          description: End time of the word in seconds.
        confidence:
          type: number
          description: Confidence score for the word transcription.
          minimum: 0
          maximum: 1
    AsyncTranscriptionResponse:
      type: object
      properties:
        task_id:
          type: string
          description: The identifier of the asynchronous transcription task.
        status:
          type: string
          description: The current status of the transcription task.
          enum:
          - pending
          - processing
          - completed
          - failed
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: xi-api-key
      description: ElevenLabs API key passed in the xi-api-key header for authentication.
externalDocs:
  description: ElevenLabs Audio Isolation API Documentation
  url: https://elevenlabs.io/docs/api-reference/audio-isolation/audio-isolation