synthesize_speech
Convert text into a playable WAV audio file using real-time streaming TTS. Adjust voice and playback speed as needed.
Instructions
Convert text to spoken audio using a real-time, streaming Kokoro-82M TTS gateway. Returns a playable WAV file. The gateway currently runs on an unauthenticated CPU fallback (multi-second latency) — no API key required, but expect a few seconds per call.
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>"
},
"name": "synthesize_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to synthesize | |
| speed | No | Playback speed multiplier (default 1.0) | |
| voice | No | Kokoro voice id (default "af_heart") |