tts
Synthesizes text into speech and returns the file path of the generated audio. Supports adjustable speed and output format (e.g., mp3, wav).
Instructions
Text-to-Speech: Synthesizes text into audio.
Return the path of audio file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to synthesize into speech. | |
| speed | No | Speech speed (e.g., 1.0 for normal). default: 1.0. | |
| encoding | No | Desired audio output format (e.g., 'mp3', 'wav'). default: 'mp3'. | mp3 |