Skip to main content
POST
Creates a voice from a reference recording and saves it to your account. The returned id can be passed as voice to Generate speech and the streaming endpoint right away, and it is listed in /v1/models with owned_by: "user". Clones are private. Only API keys on the account that created a clone can use or delete it.
Each account can keep up to 10 cloned voices. Delete one with DELETE /v1/voices/{id} to make room for another. Cloning is English-only.

Authorization

string
required
Bearer sk_… — your secret API key.

Body

string
required
A display name for the voice, up to 40 characters. Must be unique among your voices (case-insensitive).
string
required
The reference clip as base64-encoded WAV, 3–12 seconds long. Use clean speech from a single speaker with no music or background noise. The request body may be up to 16 MB.
Must be true. This confirms you have permission to clone the voice in the clip.

Response

string
The new voice id. Pass this as voice when generating speech.
string
Always voice.
string
The display name, with surrounding whitespace trimmed.
number
Unix timestamp (seconds) the voice was created.
string
Always user.
number
Length of the reference clip in seconds.

Errors