generate_audio
Speak text in a named voice (jessica, sarah, liam, chris, roger, lily, bill, matilda, or a raw ElevenLabs voice id). A cloned voice cannot speak Hebrew: a stock voice of the same gender speaks a Hebrew line. Emotion tags like [excited] or [whispers] are honoured. For a talking-head clip you usually do NOT need this: generate_video renders native speech when the words are in the prompt. Use it for voiceover over b-roll or a standalone audio file. Models: elevenlabs-tts. Spends 16 credits per 1,000 characters, rounded up. Returns a job id, poll get_run_status for the mp3 URL. The mp3 URL can be passed as an audio_ref to generate_video.
RETRY SAFETY: set request_id to a fresh UUID for a new generation. Reuse the exact same request_id and inputs only to recover a lost response; that returns the original job without another charge. A deliberately new generation needs a new request_id. Keep the returned job_id and poll get_run_status. Never invent a refund.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The words to speak. Emotion tags like [excited] or [whispers] are honoured. Priced per character; see list_models. | |
| tone | No | energetic | calm | confident | dramatic. | |
| model | No | A live audio model id from list_models, or "auto". Omit for the default (elevenlabs-tts). | |
| voice | No | A voice name: jessica (young female), sarah (female), liam (young male), chris (male), roger (male), lily (elder female), bill (elder male), matilda (warm), or a raw ElevenLabs voice id. A cloned voice cannot speak Hebrew: a stock voice of the same gender speaks a Hebrew line. | sarah |
| request_id | No | Unique request identity (prefer a UUID). Reuse with identical inputs to recover the same job after a lost response; choose a new identity only for an intentionally new generation. |