text_to_speech
Turn written text into spoken MP3 audio using ElevenLabs. Generate speech and save it to a file or play it directly.
Instructions
Convert text to speech with ElevenLabs, save it as an MP3, and (optionally) play it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| play | No | Play the audio after generating it. Defaults to true. | |
| text | Yes | The text to speak. | |
| model_id | No | Model id, e.g. eleven_multilingual_v2 or eleven_turbo_v2_5. | |
| voice_id | No | ElevenLabs voice id. Defaults to the configured voice. | |
| output_path | No | Where to write the MP3. Defaults to the OS temp dir. |