recent_actorsVoice Cloning API

Voice Cloning API
Clone Any Voice in Seconds

Upload a short audio sample, get back a reusable voice ID. Use it for Text-to-Speech, dubbing, and more. Starting at $2 for 100K credits. No KYC, pay with crypto.

1 min

Minimum sample length

< 30s

Clone creation time

Unlimited

Voices per account

Forever

Voice storage

How Voice Cloning Works

Two API calls — one to clone, one to speak.

1
upload

Upload Audio

Send an audio file (MP3/WAV) via multipart/form-data to the cloning endpoint.

2
psychology

AI Training

Our AI analyzes the voice characteristics and creates a unique voice profile in under 30 seconds.

3
record_voice_over

Use Anywhere

Receive a voice_id. Use it in any TTS request to speak in that exact voice.

Code Examples

Clone and use a voice in under 20 lines of code.

codePython
import requests

# Step 1: Clone a voice
with open("sample.mp3", "rb") as f:
    clone_resp = requests.post(
        "https://cheapaiapi.com/api/v1/voice-cloning",
        headers={"Authorization": "Bearer sk_your_api_key"},
        files={"audio": f},
        data={"name": "My Custom Voice"}
    )
voice_id = clone_resp.json()["voice_id"]

# Step 2: Use cloned voice for TTS
tts_resp = requests.post(
    "https://cheapaiapi.com/api/v1/text-to-speech",
    headers={"Authorization": "Bearer sk_your_api_key"},
    json={
        "text": "Hello, this is my cloned voice!",
        "voice_id": voice_id,
    }
)
with open("output.mp3", "wb") as f:
    f.write(tts_resp.content)
codeJavaScript / Node.js
// Step 1: Clone a voice from an audio file
const formData = new FormData();
formData.append("audio", audioFile);
formData.append("name", "My Custom Voice");

const cloneRes = await fetch(
  "https://cheapaiapi.com/api/v1/voice-cloning",
  {
    method: "POST",
    headers: { "Authorization": "Bearer sk_your_api_key" },
    body: formData,
  }
);
const { voice_id } = await cloneRes.json();

// Step 2: Generate speech with cloned voice
const ttsRes = await fetch(
  "https://cheapaiapi.com/api/v1/text-to-speech",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer sk_your_api_key",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({ text: "Hello!", voice_id }),
  }
);

Features

mic

Instant Cloning

Voice profile ready in under 30 seconds from upload.

save

Persistent Voices

Cloned voices are stored permanently. Reuse across unlimited TTS calls.

language

Cross-Language

Use a cloned English voice to speak Spanish, French, or any supported language.

tune

Fine Control

Adjust stability and clarity settings to tailor the voice output.

api

REST API

Simple multipart/form-data upload. No special SDK required.

verified

High Fidelity

Powered by ElevenLabs models for state-of-the-art voice quality.

Frequently Asked Questions

How much audio do I need to clone a voice?expand_more
As little as 1 minute of clean audio is enough for a good clone. Longer samples (5–30 minutes) produce higher quality results with better voice consistency.
What audio formats are accepted for voice cloning?expand_more
MP3, WAV, M4A, FLAC, and OGG are all supported. The audio should be clean speech with minimal background noise for best results.
How much does voice cloning cost?expand_more
Creating a voice clone uses credits from your balance. Once created, you reuse the voice_id for free in TTS API calls (TTS charges apply per character).
Are cloned voices permanent?expand_more
Yes. Cloned voices are stored in your account and can be reused across any number of TTS requests. You can delete them anytime.
Can I clone someone else's voice?expand_more
Only with the explicit consent of the person whose voice you are cloning. Impersonation without consent violates our Terms of Service.
Is voice cloning available via API only or also through a UI?expand_more
Both. You can clone voices through the dashboard UI or via the REST API. The voice_id works across both interfaces.

Start Cloning Voices Today

Build custom voice experiences for your brand, app, or content. No monthly commitment.

rocket_launchGet Started — $2 for 100K Credits