speak
Synthesize speech or emotional narration from text using local VoxCPM2, then return the generated audio file path.
Instructions
用本地 VoxCPM2 生成说话或情感旁白。返回音频文件路径。
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": "speak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| text | Yes | ||
| cfg_value | No | ||
| output_format | No | mp3 | |
| normalize_loudness | No | ||
| control_instruction | No | 自然、清晰、亲切的普通话,语速适中,情绪真实。 | |
| inference_timesteps | No | ||
| reference_audio_path | No |