Clone the owner's voice
voice_cloneClones a voice from recordings on your own machine (Eleven v4 speaks it), as one of the project's voices of its own (its plan allows a number of them, designed and cloned together; voices_read says how many are left). It returns a one-time https address, good for 30 minutes, and the curl line that sends the recordings to it from your own shell: every file in one command makes one voice, up to 25 recordings and 50 MB in all, and Marsell hears at most 10 minutes of them together. Nothing big passes through your messages, and audio at a web address isn't fetched: download it to the machine first. get_upload_link with kind voice does the same. Set consent: true only when the owner has said, in their own words in this conversation, that the recordings are of their own voice or that they have the speaker's permission to clone it. Never assume it, never set it for them, and never clone a voice of someone who hasn't agreed (a public figure, a voice from a video). Recordings: 1 to 2 minutes of clear speech in total, one speaker only, no music, no background noise and no long pauses; more than 3 minutes doesn't make it better. MP3 is best (any common audio format works: WAV, M4A, OGG, WebM, FLAC; Marsell turns it into MP3). Speak the way the voice should sound in the videos. Cloning spends no tokens; a voice-over in it spends tokens as any voice-over does.
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": {
"name": "<name>",
"consent": "<consent>"
},
"name": "voice_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The voice's name, what the owner picks it by in Create: "Dad", "Sam". | |
| consent | Yes | true only when the owner said, in their own words, that it is their own voice or that they have the speaker's permission. | |
| project | No | The project's id or exact name. Optional when the account has one project. | |
| description | No | What the voice sounds like, in a few words ("warm, calm, a slight Russian accent"). | |
| remove_noise | No | true to take background noise out of the recordings first (only when they have some: it can thin a clean voice). |