generate_speech_with_timestamps
Generate speech audio with synchronized timestamps for precise lip-sync or caption alignment. Saves audio and timing metadata as separate files.
Instructions
Generate speech with the documented alignment response. Audio and timing metadata are saved separately.
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_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 |