Skip to main content

/voices (Get Voices List)

Use this endpoint to programmatically fetch a complete list of all voices available to your account. This includes both public preset voices and any custom voices or clones you have created.

This is the programmatic alternative to viewing the Voice Library in your dashboard. You must specify which model (base or advance) you want to retrieve voices for.


Base URL


https://api.audixa.ai/v2

Request

GET /voices


Query Parameters

This endpoint requires the model to be specified as a URL query parameter.

ParameterTypeRequiredDescription
modelstringYesThe model to fetch voices for. Valid options: base or advance.

Code Examples

# Example fetching all 'base' model voices
# Replace YOUR_API_KEY with your actual key

curl -X GET "https://api.audixa.ai/v2/voices?model=base" \
-H "x-api-key: YOUR_API_KEY"

Responses

✅ Success

A successful request returns a 200 OK status code and a JSON object containing the user_id, the requested model, and a voices list.

Response: 200 OK
{
"user_id": "user_xyz_789",
"model": "base",
"voices":[
{
"voice_id": "am_2riuownnf",
"name": "Ethan",
"gender": "Male",
"accent": "American",
"free": true,
"description": "VoiceID: am_2riuownnf"
},
{
"voice_id": "af_3kbq21leo",
"name": "Lily",
"gender": "Female",
"accent": "American",
"free": true,
"description": "VoiceID: af_3kbq21leo"
},
{
"voice_id": "bf_jp71qvnzd",
"name": "Alice",
"gender": "Female",
"accent": "British",
"free": true,
"description": "VoiceID: bf_jp71qvnzd"
},
{
"voice_id": "adv_user_clone_abc",
"name": "My Custom Voice",
"gender": "Male",
"accent": "Custom",
"free": false,
"description": "User cloned voice"
}
]
// ...etc, followed by all other available voices
}

Voice Object Structure

Each voice object in the voices list will contain the following fields:

FieldTypeDescription
voice_idstringThe unique ID for the voice. This is the value you must send in the POST /tts request.
namestringThe display name of the voice (e.g., "Ethan").
genderstringThe gender of the voice (e.g., "Male", "Female").
accentstringThe accent of the voice (e.g., "American", "British", "Custom").
freebooleanIndicates if the voice is available on the Basic (free) plan. false indicates a premium voice.
descriptionstringA brief description of the voice.

❌ Errors

Status CodeError CodeDescription
400 Bad Request(various)The model query parameter is missing or invalid.
401 UnauthorizedInvalid API KeyYour x-api-key is missing or incorrect.