Clone Voice
Clone a voice from an audio or video sample. The returned id works as
voiceId in POST /v2/tts and in generation text inputs.
- Provide exactly one sample source:
url,assetId, orsampleUrls(1 to 10 URLs). - Samples must be in sync. labs storage. Upload local files with Asset Uploads first; other URLs are rejected.
- Audio samples can be up to 10 MiB, or 50 MiB when you connect your own ElevenLabs API key. Video sources can be up to 1 GiB; the first 2 minutes of audio are used.
- You can send 10 clone requests per hour per API key (or per signed-in user).
- For best results, use 30 seconds to 2 minutes of clear speech from one speaker, with no music or background noise.
If the response is 409 voice_clone_pending, poll
Get Voice with the returned
voiceId instead of cloning again. Error codes are listed in
Error Handling. See
Voice Cloning.
Authentication
Request
A name for the cloned voice, 1–100 characters. Names starting with edit-dialogue- after trimming whitespace and ignoring case are reserved.
The provider to clone the voice with. Currently elevenlabs.
A sync. labs-hosted url of the audio or video sample to clone from. Provide exactly one of url, assetId or sampleUrls.
The id of a previously uploaded audio or video asset to clone from. Provide exactly one of url, assetId or sampleUrls.
1 to 10 sync. labs-hosted urls of audio or video samples of the same voice, cloned together. Provide exactly one of url, assetId or sampleUrls.
Response
Sync’s UUID for the clone; use it to retrieve or delete the voice.

