Skip to main content
POST
Voice Clone Embeddings

Voice Cloning Flow

Voice cloning is a two-step process. Complete Step 1 once per voice, then reuse the embedding across any synthesis endpoint.
1

Generate a voice embedding — this page

Upload 5–30 seconds of clean reference audio to extract a speaker_embedding. Cache the result — you only need to generate it once per voice.
2

Synthesize with your cloned voice

Pass the speaker_embedding from Step 1 to your preferred synthesis endpoint:

REST

Full audio returned in a single response

Streaming (SSE)

Receive audio progressively as it’s synthesized

Realtime (WebSocket)

Lowest latency — stream text in, audio out

Overview

Generate a speaker_embedding from a reference audio clip. Upload the file and receive a multi-dimensional embedding you can pass to any Voice Cloned TTS endpoint.

Authorizations

X-API-Key-ID
string
header
required

Headers

X-API-Key-ID
string
required

API Key ID for authentication

Body

multipart/form-data
audio_file
file
required

The audio file to generate embeddings for

Response

200 - application/json

Voice embeddings generated successfully

success
boolean
Example:

true

message
string
Example:

"Voice embeddings generated successfully"

data
object