Skip to main content

Voices

List all supported voices for given language and dialect.

Request

GEThttps://api.fliki.ai/v1/voices

Headers

{
"Content-type": "application/json",
"Authorization": "Bearer API_KEY"
}
KeyValueDescription
Content-Typeapplication/jsonSpecifies that the request body format is JSON, allowing the server to parse the data correctly.
AuthorizationBearer YOUR_API_KEYGenerate your API Key in the account/api. section and replace YOUR_API_KEY with your actual key.

Query params

{
"languageId": String,
"dialectId": String
}
KeyTypeDescription
languageIdstringUnique identifier for each language.
dialectIdstringUnique identifier for each dialect within a language.

Obtain languageId via the languages endpoint. Obtain dialectId via the dialects endpoint.

Response

[
{
"_id": String,
"name": String,
"gender": String,
"isUltra": String,
"audioSample": String,
"styles": Object,
},
]
KeyTypeDescription
_idstringUnique identifier for each voice.
namestringName of the voice (e.g., “John”, “Emma”).
genderstringGender of the voice (e.g., “male”, “female”).
isUltrastringIndicates if the voice is an “Ultra” realistic voice.
audioSamplestringURL or path to the audio sample for the voice.
stylesobjectObject containing different voice styles or variations.

Example

cURL Request
curl \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-X GET "https://api.fliki.ai/v1/voices?languageId=...&dialectId=..."