A cloned voice copies the speaker, the room and the microphone of its reference clip: noise, music and a second speaker in the clip come back in every line the voice speaks.
The clip
| Aspect | Aim for | Avoid |
|---|---|---|
| Length | 10 to 20 s of speech; 3 s minimum, 60 s maximum | Under 5 s: the clone drifts on long text |
| Speakers | One speaker | A second voice, a reply, a crowd |
| Background | A quiet room, close to the microphone | Music, traffic, fans, the echo of a large room |
| Delivery | Natural sentences at the pace the voice speaks later | Whispering, shouting, a list of single words |
| Level | Speech clearly audible, no clipping | Audio that distorts on loud syllables |
| Format | WAV or FLAC; MP3 at 128 kb/s or more | Phone-call audio, heavily compressed files |
- Send the exact words of the clip as
transcript: every cloning model reads the transcript asreference_text. Without a transcript, the API transcribes the clip on first use and stores the text on the voice. - Trim silence at both ends. A pause inside the clip is fine.
- Files up to 20 MB in WAV, MP3, M4A, Ogg, WebM or FLAC. The length comes from the file's header; a WebM clip has
duration_snull, and only its first 60 s are used. - In a browser, record at least 15 s and keep the microphone at the same distance throughout.
Consent
A cloned voice is a person's voice. Clone your own voice, or the voice of a speaker who agreed, and write the
agreement in consent: who, for what use, and when. Sharing a cloned voice needs the consent note, and only the
albastov.com owner account shares voices. Never clone a film or TV character or a public figure. A designed voice
(POST /v1/media/voices/design) needs no speaker: the model makes the voice from a description.
Check a saved voice
- Save the voice with
POST /v1/media/voices.statusisreadyat once, andpreview_jobnames the job making the preview. - Wait for
preview_urland listen to the preview: the default model reads one neutral sentence in the voice. - Speak a paragraph of the text the voice is for. A clone that sounds muffled, echoing or noisy reflects the clip: record again rather than switch models.
- Try a second model from the voice's
modelsfor a different balance of likeness and stability.
The example speaks one paragraph on two models. Set VOICE to a saved voice of the account.
curl
VOICE=vo_hVAiUiqrYyvgKKkBvgzHnh
for MODEL in omnivoice higgs3; do
curl https://api.albastov.com/v1/audio/speech \
-H "Authorization: Bearer $ALBASTOV_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\": \"$MODEL\", \"voice\": \"$VOICE\", \"input\": \"A paragraph in the style the voice is for, read at its usual pace.\"}" \
--output "check-$MODEL.mp3"
done
ls -l check-*.mp3Pick a cloning model
| Need | Model |
|---|---|
| A clone in 600+ languages, or a voice from a description | OmniVoice |
| A clone in one of 10 languages | Qwen3-TTS |
| A clone in one of 19 languages | Chatterbox |
| Chinese or English, with a description of the delivery | BreezeTTS 2 |
| English or Chinese | IndexTTS 2.5 |
| Long text, spoken in short chunks | Higgs Audio v3 |
Every cloning model, with a sample in the same voice: Audio models.
A saved voice's models lists every model that speaks the voice.
Reference
- Voices: clone, design, list, share, copy and delete.
- Voices reference: every route, parameter and error.