generate_speech_stream_with_timestamps
Streams text-to-speech with alignment timestamps and saves audio plus timing metadata separately, enabling captioning or animation sync.
Instructions
Call streaming TTS with the documented alignment response. Audio and timing metadata are saved separately behind paid-operation gates.
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": {
"voice_id": "<voice_id>",
"text": "<text>",
"filename": "<filename>"
},
"name": "generate_speech_stream_with_timestamps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| filename | Yes | ||
| model_id | No | ||
| voice_id | Yes | ||
| allow_paid | No | ||
| language_code | No | ||
| output_format | No | mp3_44100_128 | |
| voice_settings | No | ||
| allow_unknown_cost | No |