batch_synthesize
Transform multiple text segments into audio with customizable voice, speed, emotion, and pacing. Optionally merge segments into a single file for efficient TTS processing.
Instructions
Synthesize multiple text segments with optional merging and intelligent pacing
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": {
"segments": "<segments>"
},
"name": "batch_synthesize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emotion | No | Voice emotion for all segments | neutral |
| filename | No | Custom filename for saved audio | |
| mergeOutput | No | Merge segments into single file | |
| outputFormat | No | Audio output format | wav |
| pacing | No | Speech pacing style for all segments | natural |
| saveFile | No | Save audio to file | |
| segmentPause | No | Pause between segments in seconds | |
| segments | Yes | List of text segments to synthesize | |
| speed | No | Speech speed (0.25-3.0) | |
| voiceId | No | Voice to use for all segments | af_heart |