Skip to main content
POST
Enroll a voice
Enrolls an existing voice (typically one you just created with status draft) from a reference audio clip. Enrollment runs asynchronously: the response is 202 Accepted with the processing voice and a job_id you poll with GET /jobs/{id}. When the job reaches succeeded, the voice becomes ready. A clip the cloner can’t use fails the job rather than the request - the reference needs at least ~6 seconds of continuous speech.
Prefer /clone if you want to create and enroll a voice in one call. Like cloning, enrollment is free - no character usage is charged.

Authorization

string
required
Your workspace API key (flv_…).

Path parameters

string
required
The voice id to enroll.

Body (multipart/form-data)

file
required
The reference audio clip. Maximum 20 MiB; larger uploads return 400.
string
BCP-47 language code of the reference clip (e.g. en, hi).
string
Optional transcript of the reference clip. Improves clone quality when provided.

Response

Voice
The Voice object, now with status processing.
string
The clone job id. Poll GET /jobs/{id} until it reaches a terminal status.
Response

Prompt

Copy this into your coding agent (Claude Code, Cursor, Codex…) to implement this endpoint.