Speak aloud
speakRead text aloud on your computer's speakers and save it as a WAV file; use it when someone asks to hear something or wants answers spoken.
Instructions
Say text aloud on this computer's speakers with Fel's Voice Lab, and save it as a WAV file. Use it when the person asks to hear something, or asked you to speak your answers. Give a voice name from list_voices, or leave voice out for the Lab's default voice. Up to 10,000 characters; long text is made in parts and joined. The first clip after the Lab starts also loads the voice's model, which takes from ten seconds to more than a minute: the call waits, it does not fail. Clips are spoken one after another, never over each other; stop_speaking stops one. Starts the Lab when it is not running. Answers with the file's path and length.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "speak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A .wav path to save the clip to and keep. Without it the clip goes to the Lab's folder for these clips, cleaned up a day after this server stops. An existing file is never replaced. | |
| play | No | false saves the clip without playing it. Default true. | |
| text | Yes | What to say. | |
| voice | No | A voice's name from list_voices. Default: the Lab's default. | |
| format | No | wav, mp3, flac, opus or aac. Encoded files require play=false and a named voice. | |
| language | No | The language to speak, such as English, for a voice that speaks several. | |
| direction | No | How to say it, such as 'quietly, as if tired'. Only voices whose model takes acting directions use it (list_voices says which); the others speak without it. |