Clone a Voice
clone_voiceEnroll a custom cloned voice from an audio sample (async). Requires a Pro or active 7-day pass key. Provide exactly one of audio_base64 or audio_url (https). Sample limits: 10 MB max upload; wav, mp3 or m4a; a 10–30 second clean single-speaker recording (enrollment rejects clips shorter than 10 or longer than 30 seconds; trim longer recordings first). Account limits: maximum 3 cloned voices, 5 enrollments per day. Returns a voice_id with status "enrolling" — check list_voices until its status is "ready" (there is no job to poll), then use it in text_to_speech (Pro or active 7-day pass), create_podcast (Pro key), or POST /api/v1/audio/speech (REST, same key).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the cloned voice. | |
| consent | Yes | Required attestation: you confirm you have the recording rights to this audio sample. The server rejects anything but an explicit true. | |
| audio_url | No | https URL to the audio sample — fetched server-side, same 10 MB bound. | |
| mime_type | No | Sample MIME type — wav, mp3 and m4a are accepted (the server enforces the exact allowlist). | audio/wav |
| audio_base64 | No | Base64-encoded audio sample (10 MB max decoded). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| voice_id | Yes |