ElevenLabs Text To Voice API

Design and generate custom voices from a text prompt.

Operations 5

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/text-to-voice/create-previews Generate voice previews (deprecated endpoint) · [Deprecated] Generate A Voice Preview From Description #
Ask an LLM
“Can I still use the older create-previews endpoint to generate voices from a description?”
“What does the deprecated voice preview endpoint return?”
Tell an agent
Using the deprecated create-previews endpoint, generate voice previews for {voice_description}.
Create legacy voice previews for {voice_description} speaking {text}.
POST /v1/text-to-voice Save a generated voice preview as a voice · Create A New Voice From Voice Preview #
Ask an LLM
“I like one of the designed voice previews, how do I keep it?”
“What do I need to turn a generated voice ID into a permanent voice?”
Tell an agent
Save preview {generated_voice_id} as voice {voice_name} described as {voice_description}.
Create voice {voice_name} from preview {generated_voice_id} with labels {labels} and description {voice_description}.
POST /v1/text-to-voice/design Design a new voice from a text prompt · Design A Voice #
Ask an LLM
“Can I describe a voice in words and get samples of it?”
“Is there a way to guide a designed voice with reference audio?”
Tell an agent
Design a voice that sounds like {voice_description}.
Design a voice from {voice_description} using model {model_id} and preview text {text}.
POST /v1/text-to-voice/{voice_id}/remix Remix an existing voice with a prompt · Remix A Voice #
Ask an LLM
“Can I make one of my voices sound older or calmer by describing the change?”
“How do I iterate on a voice remix session?”
Tell an agent
Remix voice {voice_id} to be {voice_description}.
Remix voice {voice_id} with {voice_description} at prompt strength {prompt_strength}.
GET /v1/text-to-voice/{generated_voice_id}/stream Stream a designed voice preview · Text To Voice Preview Streaming #
Ask an LLM
“Can I stream the audio of a voice preview instead of decoding base64?”
“How do I listen to a generated voice preview?”
Tell an agent
Stream the voice preview {generated_voice_id}.
Play generated voice {generated_voice_id}.

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-text-to-voice-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-voice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ElevenLabs API Documentation Text To Voice 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 (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elevenlabs/refs/heads/main/openapi/elevenlabs-text-to-voice-api-openapi.yml