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": [
{
"_id": String,
"style": String,
"audioSample": String
}
]
},
]
KeyTypeDescription
_idstringUnique identifier for each voice. This is the voiceId.
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.
stylesarrayAvailable speaking styles for the voice (may be empty).

Each entry in styles is a style variation you can request with voiceStyleId:

KeyTypeDescription
_idstringUnique identifier for the style. This is the voiceStyleId.
stylestringStyle name (e.g., “cheerful”, “sad”, “newscast”).
audioSamplestringURL or path to the audio sample for that style.
tip

Prefer clicking over calling? You can also copy any of these IDs straight from the app. See Finding your IDs.

Example

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