text_to_speech
Converts text into spoken audio using ElevenLabs. Creates an MP3 file and returns its file path for immediate use.
Instructions
Convert text to speech using ElevenLabs. Saves the audio as an MP3 file and returns the file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to convert to speech | |
| model_id | No | Model ID (default: eleven_multilingual_v2) | |
| voice_id | No | Voice ID to use (default: Rachel — 21m00Tcm4TlvDq8ikWAM) | |
| stability | No | Voice stability 0-1 (default: 0.5) | |
| output_filename | No | Output filename (default: output_<timestamp>.mp3) | |
| similarity_boost | No | Voice similarity boost 0-1 (default: 0.75) |