Voice Cloning API

Send a reference recording and the text to read. Get back a downloadable audio file in the reference voice.

POST /api/v2/voice/clone
curl -X POST https://api.aiclonevoicefree.com/api/v2/voice/clone \
  -H "Authorization: Bearer $MIXVOICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "This is a sample of my voice.",
    "reference_audio_url": "https://example.com/my-voice.wav",
    "model": "v2-emotion"
  }'

Replace the sample URL with a reachable WAV or MP3 recording you have permission to use.

Choose a model

Set the model field explicitly. Every model on this endpoint requires a reference audio URL.

Model parameters
v1-real

Keep the speaker recognizable

Start here when matching the tone of the reference recording is the priority.

v2-emotion

Direct an expressive reading

Use it for dialogue or narration that needs a specific mood. Pass the optional emotion settings to guide delivery.

v3-qwen

Generate speech in multiple languages

Use it for multilingual scripts or to give a reading direction, such as “read in a calm tone.”

omni

Describe the voice you want

Guide the result with voice descriptors in omni_options, such as age, accent, or pitch.

voxcpm

Guide a dialect or speaking style

Use the documented instructions or omni_options fields when dialect and delivery matter.

How billing works

Successful requests use your account’s audio credit balance. Failed tasks incur no audio credit charge.

View plans and audio credit allowances

Credits are based on input text

1 credit
Per standard character, including spaces and punctuation.
2 credits
Per CJK unified ideograph in U+4E00–U+9FFF.

Hello costs 5 credits. 你好 costs 4 credits. Other text is counted in UTF-16 code units, so some emoji cost 2 credits.

A request with insufficient balance returns HTTP 402 before the task starts.

Get an API key

Open API Keys
  1. Sign in and open Settings → API Keys.
  2. Choose Create key, then copy the key into your server environment as MIXVOICE_API_KEY.
  3. Send it as a Bearer token in the Authorization header. Keep the key on your server and out of browser code.

The clone request returns 202 Accepted and a task_id. Poll GET /api/v2/tasks/{task_id} and read audioUrl when the task completes.