Clone a voice onto a Character
clone_voiceUse when the user wants a Character to speak in a real person's voice, from a recording of that person. 300 credits per clone (MiniMax); then generate_speech with character speaks in it at the usual speech price. Needs 10 s to 5 min of clear speech, alone (30-60 s is best): get it with get_upload_url + confirm_upload, import_media, or a link. Only for the user's own voice or one they have the speaker's permission to clone: ask first, and pass their words as consent_statement. Returns the Character with a spoken preview.
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": "<character>",
"audio_url": "<audio_url>",
"consent": "<consent>",
"consent_statement": "<consent_statement>"
},
"name": "clone_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consent | Yes | True only after the user confirms the voice is theirs, or that the speaker gave permission, and the speaker isn't a minor or a public figure. | |
| audio_url | Yes | The recording: upload url, media url, library url or public link. | |
| character | Yes | Name or id; a new Character with this name is created if none exists. | |
| preview_text | No | What the preview says (optional, under 500 characters). | |
| consent_statement | Yes | The user's own words confirming it, e.g. 'This is my voice' or 'My co-founder Sam agreed to this'. |