Generate Text-to-Speech
Generate Text-to-Speech
Synthesize speech from a script and get back a hosted audio URL. The returned url can be reused as an audio input in POST /v2/generate to lip sync the synthesized take. voiceId accepts an ElevenLabs voice id (discover via GET /v2/voices) or the id of a voice cloned via POST /v2/voices. Free-tier keys share the monthly ElevenLabs allowance; paid plans are billed per use.
Authentication
Request
A voice id to synthesize with — either an ElevenLabs voice id (discover via GET /v2/voices) or the id of a voice cloned via POST /v2/voices.
The voice provider to synthesize with. Currently elevenlabs.
Voice stability (0-1). Higher is more consistent, lower is more expressive.
How closely the synthesized audio matches the original voice (0-1).
Response
The hosted URL of the synthesized audio. Reuse it as an audio input in POST /v2/generate to keep the same take across generations.

