Set a character's voice
set_character_voiceLocks how a character sounds across every scene. There is no text-to-speech: the video model speaks the dialogue, and this sets what it is told. voice_key: a key from get_catalog("voices") or a short description ("low, tired, husky"). sample: {take_id, start_seconds, end_seconds} to cut 2–10 s from one of this drama’s scene videos where this character speaks alone and sounds right, or null to remove the sample. Uploaded voice recordings are not accepted: voices of real people are never cloned. The sample is sent as an audio reference to models that take one (Wan 3.0 through DashScope).
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>"
},
"name": "set_character_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample | No | A clip of a scene video where the voice is right: take_id plus start_seconds and end_seconds (3–8 s). | |
| voice_key | No | A voice key from get_catalog(["voices"]); null clears it. | |
| character_id | Yes | The character id (chr_…), from get_drama_context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||