Generate speech with word timing / captions
wellsaid_generate_speech_with_timingConvert text into natural speech and receive synchronized word-level timing, SRT, and VTT caption files. Adjust voice, pitch, tempo, and more for customized voiceovers.
Instructions
Render text to speech and also get word-level timing and caption files. The API returns a zip (audio + JSON timing + SRT + VTT); this tool extracts and saves each file. Supports the same voice/model/prosody options as wellsaid_generate_speech.
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>",
"speaker_id": "<speaker_id>"
},
"name": "wellsaid_generate_speech_with_timing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to speak (may contain inline AI Director tags). | |
| model | No | ||
| pitch | No | ||
| tempo | No | ||
| format | No | Audio format inside the zip (default mp3). | |
| filename | No | Base filename (no extension) for the extracted files. | |
| loudness | No | ||
| output_dir | No | Directory to write files into. | |
| speaker_id | Yes | Voice speaker_id from wellsaid_list_voices. | |
| library_ids | No | ||
| sample_rate | No |