tts_generate
Converts text to a WAV audio file using installed Piper voices, supports French and English, and returns the generated file path for playback or further processing.
Instructions
Synthétise text en WAV sur cette machine et renvoie le chemin du fichier.
lang: "fr" ou "en". voice: nom d'une voix installée (défaut fr_FR-siwis-medium / en_GB-alan-medium). length_scale > 1 ralentit. filename: nom du WAV (défaut horodaté) dans PIPER_OUTPUT_DIR (~/piper-out).
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": "tts_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | fr | |
| text | Yes | ||
| voice | No | ||
| filename | No | ||
| length_scale | No | ||
| sentence_silence | No |