{voice_id} path field accepts a public handle or a legacy numeric ID.
The {ref_id} path field is the integer reference ID returned by list or upload.
List Voices
Get a list of available voices.Query Parameters
integer
default:"20"
Maximum number of voices to return (1-100)
integer
default:"0"
Offset for pagination
Response
Example
Get Voice
Get details for a specific voice.Path Parameters
string
required
The voice handle or legacy numeric ID
Response
Example
Create Voice
Create a new voice with optional reference audio files.Request Body
Send eitherapplication/json with the metadata fields directly in the body,
or multipart/form-data when attaching reference files. Multipart requests use
the parts below.
JSON
required
JSON object with voice metadata (sent as a JSON part):
file[]
Reference audio files (WAV, MP3, OGG, M4A, FLAC). Can include multiple files;
each file is limited to 50 MiB.
Response
Example
Update Voice
Update voice metadata. Only provided fields are changed.Path Parameters
string
required
The voice handle or legacy numeric ID
Request Body (JSON)
string
Voice name (1-200 chars)
string
Voice description (maximum 2000 characters)
string
Generative voice description (maximum 2000 characters)
string
narrative_story, conversational, characters_animation, social_media,
entertainment_tv, advertisement, or informative_educationalstring
young, middle_age, or oldstring
male, female, or neutralstring
low, mid, or higharray
ISO 639-1 language codes
string
Text for sample generation (maximum 2000 characters)
Example
Delete Voice
Archive a voice you own. The endpoint returns204 No Content.
Path Parameters
string
required
The voice handle or legacy numeric ID
Example
List Voice References
Get reference audio files associated with a voice.Response
Example
Add Voice Reference
Upload a reference audio file to a voice.Request Body (multipart/form-data)
file
required
Non-empty reference audio file (WAV, MP3, OGG, M4A, FLAC), maximum 50 MiB.
An empty or unsupported file returns
400; an oversized file returns 413.string
default:""
Optional transcript of the reference audio.
Example
Delete Voice Reference
Remove a reference audio file from a voice.Example
Publish Voice
Request publication of a voice. Sets the voice as public and marks it as pending verification.Example
Generate Voice Sample
Trigger sample audio generation for a voice that has at least one reference. Master-key callers must also supply the integerorg_id query parameter. An
ordinary organization API key derives the organization from the key and does
not need this parameter.
Example
Response
sample_s3_path is always a string. sample_url is a signed string | null.
Voice Object
Fields
List and get responses contain the catalog fields throughavatar_url and
sample_url. Create, update, and publish responses additionally contain the
generative, publication, verification, and sample-text fields below.
The list response wraps the voice objects in voices and also returns integer
total, limit, and offset fields.
Voice Reference Fields
Categories
The accepted values when creating or updating a voice arenarrative_story, conversational, characters_animation, social_media,
entertainment_tv, advertisement, and informative_educational.
Supported Languages
Common language codes:Error Responses
Notable management errors include400 VALIDATION_ERROR for invalid metadata
or files, 403 UNAUTHORIZED when the key has no organization/user identity,
404 NOT_FOUND for an invisible voice or missing reference, 413 VALIDATION_ERROR for a reference upload over 50 MiB, and 501 VALIDATION_ERROR when voice management is unavailable on the deployment.