voicebox_stream_generation
Stream speech audio directly to a file using a voice profile, bypassing the async queue for short texts.
Instructions
Stream speech audio directly and save to a file.
This bypasses the async generation queue and returns audio bytes in a single response. Good for short texts.
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": {
"profile_id": "<profile_id>",
"text": "<text>",
"output_path": "<output_path>"
},
"name": "voicebox_stream_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to speak. | |
| engine | No | TTS engine. | qwen |
| language | No | Language code. | en |
| model_size | No | Model size. | 1.7B |
| profile_id | Yes | Voice profile ID. | |
| output_path | Yes | Absolute path to save the audio file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||