set_character_voice
Assign a cloned voice to a character so later TTS generation voices that character's lines. Required only when producing a final video, not for cloning or preview.
Instructions
把音色绑到某角色,之后 generate_tts 用它给该角色配音。免费。只有要出片时才需要这步——克隆和试听都不需要角色。
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": {
"character_id": "<character_id>",
"voice_id": "<voice_id>"
},
"name": "set_character_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice_id | Yes | 来自 clone_voice / list_voices 的 voice_id(形如 lib:12) | |
| character_id | Yes |