ElevenLabs Documentation
Get started with your coding agent. No account or API key needed beforehand.
Paste this into Claude Code, Cursor or Codex. It signs you in or creates an account, creates a key, and adds the SDK to your project.
See how it works, or read the onboard command’s source to see exactly what it tells your agent.
How does ElevenLabs work?
ElevenLabs provides AI voice infrastructure: text-to-speech, speech-to-text, voice cloning, voice agents, and generative audio. You can use it in four ways, suited to different audiences.
ElevenCreative is a no-code web application where creators, producers, and editors generate voiceovers, music, dubs, and studio projects directly in the browser.
ElevenAgents is the platform for designing and operating voice agents, with a visual builder for non-technical users and full programmatic control for developers.
ElevenAPI exposes every capability as a REST interface with official Python and TypeScript SDKs, so developers can embed voice into their own applications and workflows.
Reception.ai is a ready-to-deploy AI phone receptionist for small and medium businesses that answers calls, books appointments, and manages day-to-day operations from a single dashboard.
Choose your path

ElevenCreative
Learn how to use the ElevenCreative platform with step-by-step guides

ElevenAgents
Learn how to build, launch, and scale agents with ElevenLabs

ElevenAPI
Learn how to integrate with the ElevenLabs API with examples and tutorials
Concepts
Voices are the speech persona used in audio generation. Each voice has a unique ID — for example, JBFqnCBsd6RMkjVDRZzb — that you select in the dashboard or pass in API requests. ElevenLabs maintains a library of 10,000+ voices. You can also clone a voice from an audio recording or generate one from a text description.
Models control the quality, latency, and language coverage of generated audio. eleven_v4 produces the most expressive output across 90+ languages. eleven_v4_turbo targets real-time use at median inference latency of ~100ms. Each capability — speech-to-text, music, sound effects — has its own dedicated model. See Which model should I use? to pick one.
How does pricing work?
Credits are the unit of consumption shared across every product. Text-to-speech costs one credit per character of input text. Other operations are charged per second of audio processed. Credits reset monthly and unused credits roll over for up to two months. See pricing for a full breakdown.
To use the API without a monthly subscription, Pay As You Go lets you prepay a balance that is drawn down as you use ElevenLabs, after any subscription credits are used up.
Built for production
How fast is ElevenLabs text to speech?
Eleven Flash v2.5 generates audio with ~75ms of model inference latency, and Eleven v4 Turbo with a median of ~100ms. Scribe v2 Realtime returns partial transcripts in ~150ms. These figures exclude application and network latency, so the time until your users hear audio is higher. Understanding latency explains what the figures cover, and Latency optimization covers how to reduce end-to-end latency.
How does ElevenLabs handle scale?
Your plan sets how many requests are processed at the same time. A concurrency limit is not a cap on simultaneous conversations: as a rule of thumb, a limit of 5 can typically support around 100 simultaneous audio broadcasts, depending on the voices used and the use case. Enterprise plans have elevated limits. See Concurrency and priority for per-plan limits and load testing guidance.
Enterprise controls
- Private deployments run ElevenAgents, Text to Speech and Speech to Text inside your own cloud account, so text, audio and transcripts stay in your network.
- Data residency stores your data in isolated environments in the EU, India or Singapore instead of the default U.S. location. It is an Enterprise feature.
- Workspaces centralize billing, shared resources, team access and API key management. Enterprise workspaces add SSO over SAML 2.0 or OIDC, and audit logs of administrative actions in the OCSF schema.
Generate your first audio
Install the SDK, set your API key as an environment variable, and convert text to an MP3 file in a single request. To have your coding agent do this setup instead, see Set up with your coding agent.
Generate and save audio
Run the script with python example.py or npx tsx example.mts, then open output.mp3. To do the same from the terminal, use the ElevenLabs CLI:
The ElevenAPI quickstart covers the same request in more detail, including CLI setup and playing audio through your speakers.
What can I build with ElevenAgents?
ElevenAgents combines speech recognition, an LLM of your choice, text to speech and turn-taking into a single voice agent that you configure in the dashboard or through the SDKs.
- Customer support: answer questions from your own documentation by attaching a knowledge base to the agent.
- Phone lines: connect a Twilio number with the native integration to handle inbound and outbound calls, or bring your existing phone system over SIP trunking.
- Outbound campaigns: place many outbound calls at once with batch calling.
- Websites and apps: embed an agent that handles both voice and text with the widget.
The ElevenAgents quickstart builds a first agent end to end.
Which model should I use?
Start from your use case. Each model ID below is the value to pass as model_id in API requests.
See Choosing the right model for more use cases and the models reference for full specifications.
† Excluding application & network latency. See Understanding latency.