Skip to navigation

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, or sampleUrls (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

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
namestringRequired1-100 characters

A name for the cloned voice, 1–100 characters. Names starting with edit-dialogue- after trimming whitespace and ignoring case are reserved.

providerenumRequired

The provider to clone the voice with. Currently elevenlabs.

Allowed values:
urlstringOptional

A sync. labs-hosted url of the audio or video sample to clone from. Provide exactly one of url, assetId or sampleUrls.

assetIdstringOptional

The id of a previously uploaded audio or video asset to clone from. Provide exactly one of url, assetId or sampleUrls.

sampleUrlslist of stringsOptional

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

Voice cloned successfully
idstring

Sync’s UUID for the clone; use it to retrieve or delete the voice.

voiceIdstring
Provider voice id, also accepted in TTS and generation text inputs.
namestring
The name of the cloned voice.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
409
Conflict Error
413
Payload Too Large Error
422
Unprocessable Entity Error
429
Voice Clone Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error