Voice cloning
Clone any voice from a few seconds of reference audio.
Encode once, reuse forever
Cloning is zero-shot: give the model a few seconds of reference speech and it speaks new text in that voice, in any supported language. The reference is turned into compact codec codes once; cache those and skip re-encoding on every request.
POST
/v1/audio/encodeUse 6-15 seconds of clean, single-speaker speech with little background noise. Quality of the clone tracks quality of the reference.
Cloning per request
Pass mode: "voice_clone" with the cached reference_codes (fast path), or send reference_audio as base64 to encode inline. In clone mode the voice field is ignored.
Saved custom voices
Prefer to register a reusable named voice? The ElevenLabs-compatible instant-voice-cloning route persists the clone server-side, after which it works by id or name in any TTS call on either dialect:
Manage saved clones (including in the browser) from the console Voices page.
Quality tips
- Don’t lower the cloning temperature. The default is tuned to be collapse-proof; reducing it breaks long-form and cross-lingual cloning. Leave sampling knobs unset.
- Cache
reference_codesclient-side and reuse across requests; encoding is the only per-reference cost. - One speaker per reference. Overlapping voices or music in the clip degrade the clone.
- Cloned voices carry across languages: a reference recorded in one language can speak any of the 56.