text_to_speech
Generates a single-voice audio file from input text for narration, ads, or cold opens. Supply text and a voice ID to create the speech.
Instructions
One voice reading a text — narration, a cold open, an ad read. For several speakers use text_to_dialogue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| speed | No | ||
| style | No | ||
| filename | No | File name to save as (no folders). Defaults to a timestamped name. | |
| model_id | No | eleven_multilingual_v2 (stable, long text), eleven_v3 (expressive, audio tags), eleven_flash_v2_5 (fast/cheap) | eleven_multilingual_v2 |
| voice_id | Yes | ||
| stability | No | Lower = more expressive, higher = more consistent | |
| language_code | No | ISO 639-1, e.g. 'sv' — forces the language where the model supports it | |
| output_format | No | Audio format. 192 kbps MP3 needs Creator tier; WAV/PCM 44.1 kHz needs Pro. | mp3_44100_128 |
| similarity_boost | No |