elevenlabs Text to Speech API

Endpoints for converting text into speech audio with configurable voice, model, and output format settings.

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/flows/text-to-speech Queue an asynchronous speech generation job · Create Speech Generation #
Ask an LLM
“Is there an asynchronous alternative to generating speech in a single request?”
“Can I use a speech model that's only available through the generation lifecycle?”
Tell an agent
Queue an asynchronous speech generation.
Create a speech generation job to poll later instead of synthesizing inline.
GET /v1/flows/text-to-speech List queued asynchronous speech generations · List Speech Generations #
Ask an LLM
“Where can I see the asynchronous speech generation jobs I've queued?”
“Can I list only the queued speech jobs that are still in progress?”
Tell an agent
List my asynchronous speech generation jobs.
Show queued speech jobs with status {status}.
GET /v1/flows/text-to-speech/{generation_id} Get a queued speech generation's result · Get Speech Generation #
Ask an LLM
“Has my queued speech job finished, and where's its output?”
“How do I poll a speech generation job for its audio URL?”
Tell an agent
Poll speech generation job {generation_id}.
Fetch the result URL of queued speech job {generation_id}.
POST /v1/text-to-speech/{voice_id} Convert text to speech in one response · Text To Speech #
Ask an LLM
“How do I turn a paragraph of text into an MP3 with a specific voice?”
“Can I get the same audio twice by passing a seed?”
Tell an agent
Say {text} in voice {voice_id}.
Generate speech for {text} with voice {voice_id} as {output_format}.
POST /v1/text-to-speech/{voice_id}/with-timestamps Generate speech with word-level timings · Text To Speech With Timestamps #
Ask an LLM
“How can I highlight words on screen in sync with generated speech?”
“Does text-to-speech return timing for each word along with the audio?”
Tell an agent
Generate speech for {text} in voice {voice_id} with word timestamps.
Voice {text} with {voice_id} and return per-word timing for captions.
POST /v1/text-to-speech/{voice_id}/stream Stream text-to-speech audio for low latency · Text To Speech Streaming #
Ask an LLM
“What's the best way to start playing speech before the whole clip is generated?”
“Can text-to-speech audio arrive in chunks for real-time playback?”
Tell an agent
Stream {text} as speech in voice {voice_id}.
Stream audio of {text} from voice {voice_id} in format {output_format} for live playback.
POST /v1/text-to-speech/{voice_id}/stream/with-timestamps Stream speech with word-level timings · Text To Speech Streaming With Timestamps #
Ask an LLM
“Can I stream audio and get word timestamps at the same time?”
“How do I build live karaoke-style captions from streamed speech?”
Tell an agent
Stream {text} in voice {voice_id} with word timestamps.
Stream speech and word timing for {text} using voice {voice_id} and language {language_code}.

Documentation

Specifications

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:elevenlabs-text-to-speech-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-text-to-speech-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ElevenLabs API Documentation Text to Speech API
  description: This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your API key. You can find your API key in the dashboard at https://elevenlabs.io/app/settings/api-keys.
  version: '1.0'
tags:


# --- truncated at 32 KB (80 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elevenlabs/refs/heads/main/openapi/elevenlabs-text-to-speech-api-openapi.yml