VoxStudio Docs
Download

Voices

#GET/v1/voices

Lists the voices an engine can speak with.

Query parameters

NameDefaultDescription
enginesystemEngine id from GET/v1/engines

Response 200: an array of:

FieldTypeDescription
idstringPass as voice to POST/v1/speech
namestringDisplay name
languagestringBCP-47 tag, e.g. en-US, fr-FR
samplestring | nullA sample sentence in the voice's language (system voices)
genderstring | nullfemale, male, or null when unknown

Errors: 400 engine_unavailable

Terminal
curl -s "$VOX_URL/v1/voices?engine=system" -H "Authorization: Bearer $VOX_API_KEY"
# [{"id":"Samantha","name":"Samantha","language":"en-US","sample":"Hello! My name is Samantha."}, …]
Terminal
curl -s "$VOX_URL/v1/voices?engine=kokoro" -H "Authorization: Bearer $VOX_API_KEY"
# [{"id":"af_heart","name":"Heart","language":"en-US","sample":null,"gender":"female"}, …]

Tip: to pick a voice for the user's language, filter on language starting with their language code (for example fr).

#GET/v1/voices/library

Every voice in one list: the voices of each installed engine plus your custom voices, with your favorites and tags.

FieldTypeDescription
enginestringThe engine that speaks it (custom voices: the cloning engine)
id, name, language, genderAs in GET/v1/voices
custombooleanA voice you created from a recording
availablebooleanIts engine is installed. Custom voices stay listed, with false, when no cloning engine is installed.
favoriteboolean
tagsstring[]Sorted, lowercase
duration_s, created_atnumber | nullCustom voices only

#PUT/v1/voices/meta

Favorite or tag any voice, built-in or custom. Only the fields you send change.

Terminal
curl -s -X PUT "$VOX_URL/v1/voices/meta" -H "Authorization: Bearer $VOX_API_KEY" -H "Content-Type: application/json" \
  -d '{"engine": "kokoro", "voice": "af_heart", "favorite": true, "tags": ["warm", "narration"]}'
FieldTypeDescription
enginestringThe voice's engine. Ignored for custom voices (cv_…), whose favorites and tags apply everywhere.
voicestringVoice id
favoritebooleanOptional
tagsstring[]Optional. Replaces the tag list: up to 12 tags, each trimmed and truncated to 24 characters; duplicates are removed.

Response 204, and a voices.changed event is sent.