Skip to main content
Choose a preset voice, clone a voice from reference audio, or create a reusable custom voice.

Preset voices

Use voice to select a preset speaker.

Reference voice

Clone a voice instantly with ref_audio and ref_text.
ref_audio can be a URL or the base64-encoded bytes of a local audio file. Supported formats are wav, mp3, opus, pcm and flac. We recommend 5-30 seconds of clean speech, with no music or background voices. Although ref_text is optional, we recommend providing a verbatim transcript of the reference audio, including filler words.
You must own the right to clone the voice.

Custom voices

Custom voices work like reference voices, but you can reuse the returned voice ID instead of sending ref_audio on every request. First, create a voice ID from reference audio and text. Then pass that ID to voice, just like a preset voice.
ref_audio accepts a URL or the base64-encoded bytes of a local file. Reusing the same audio returns the same voice_id, so creating a voice is safe to repeat.