Skip to main content

List voices

GET https://api.kittenml.com/v1/voices?model=kitten-tts-2-latest
Not for KittenTTS 0.8

KittenTTS 0.8 Mini has a fixed eight-voice catalog and no voice listing. For Kitten TTS 2 Mini, Nano and Pico, see their voices. See feature support by model.

Use this authenticated endpoint instead of hard-coding the voice catalog. It returns the Kitten TTS 2 voices that KittenML makes available to every organization, with their name and language, the voice-cloning capability, and the active saved voices owned by the caller's organization.

Query parameters​

ParameterDefaultAccepted values
modelKitten TTS 2kitten-tts-2-latest, kitten-tts-2-mini, kitten-tts-2-nano, or kitten-tts-2-pico
limit1001 through 100. Limits saved voices only
after—The last_custom_id of the previous page
include_metadatafalsetrue adds a metadata object to every voice
include_previewfalsetrue adds a preview_url to every voice
language—A language code from languages, such as en
use_case, tone, gender, pitch, accent, perceived_age—One value each; see filters

The model parameter defaults to kitten-tts-2-latest. KittenTTS 0.8 Mini has a fixed eight-voice catalog, listed in KittenTTS 0.8 voices.

cURL​

curl -L --fail-with-body -sS \
'https://api.kittenml.com/v1/voices?model=kitten-tts-2-latest' \
-H "Authorization: Bearer $KITTENML_API_KEY"

Python with httpx​

pip install httpx
import os

import httpx

response = httpx.get(
"https://api.kittenml.com/v1/voices",
params={"model": "kitten-tts-2-latest"},
headers={"Authorization": f"Bearer {os.environ['KITTENML_API_KEY']}"},
follow_redirects=True,
timeout=30,
)
response.raise_for_status()
catalog = response.json()

for voice in catalog["data"]:
# Send a public voice's id as the voice string; send a saved one as {"id": ...}.
print(f"{voice['type']:<8} {voice['language']} {voice['id']}")
print(f"request_id: {response.headers.get('x-request-id')}")

JavaScript with fetch​

Node.js 18 and later include fetch, which follows redirects by default.

const url = new URL("https://api.kittenml.com/v1/voices");
url.searchParams.set("model", "kitten-tts-2-latest");

const response = await fetch(url, {
headers: {Authorization: `Bearer ${process.env.KITTENML_API_KEY}`},
});
const requestId = response.headers.get("x-request-id");
const catalog = await response.json();
if (!response.ok) {
throw new Error(`${catalog.error?.message} (request_id=${requestId})`);
}

for (const voice of catalog.data) {
// Send a public voice's id as the voice string; send a saved one as {id}.
console.log(`${voice.type.padEnd(8)} ${voice.language} ${voice.id}`);
}
console.log(`request_id: ${requestId}`);

Response​

This response is shortened to one saved voice and one public voice. A real response lists the caller's saved voices, newest first, then the public voices.

{
"object": "list",
"model": "kitten-tts-2-latest",
"data": [
{
"id": "voice_0123456789abcdef0123456789abcdef",
"created_at": 1787760000,
"name": "My saved voice",
"object": "audio.voice",
"type": "custom",
"model": "kitten-tts-2-latest",
"language": "en",
"experimental": false
},
{
"id": "frank_en",
"created_at": 1792791247,
"name": "Frank — Reserved Announcer",
"object": "audio.voice",
"type": "public",
"model": "kitten-tts-2-latest",
"language": "en",
"experimental": false
}
],
"public_voices_unavailable": false,
"languages": [
{"code": "en", "experimental": false},
{"code": "ar", "experimental": false},
{"code": "de", "experimental": false},
{"code": "es", "experimental": false},
{"code": "fr", "experimental": false},
{"code": "it", "experimental": false},
{"code": "pt", "experimental": false},
{"code": "ru", "experimental": false},
{"code": "zh", "experimental": false},
{"code": "hi", "experimental": false},
{"code": "nl", "experimental": true},
{"code": "id", "experimental": true},
{"code": "ja", "experimental": true},
{"code": "ko", "experimental": true},
{"code": "pl", "experimental": true},
{"code": "tr", "experimental": true},
{"code": "sv", "experimental": true},
{"code": "da", "experimental": true},
{"code": "fi", "experimental": true},
{"code": "he", "experimental": true}
],
"voice_cloning": {
"supported": true,
"custom_voices_included": true,
"saved_voices_supported": true,
"supported_languages": ["en"],
"create_endpoint": "/v1/audio/voices",
"consent_endpoint": "/v1/audio/voice_consents"
},
"has_more": false,
"first_custom_id": "voice_0123456789abcdef0123456789abcdef",
"last_custom_id": "voice_0123456789abcdef0123456789abcdef"
}

Each entry in data is an audio.voice object:

FieldMeaning
idThe value to select this voice with
nameThe voice's display name, such as Frank — Reserved Announcer; for a saved voice, the name it was created with
typepublic for a voice available to every organization, or custom for a saved voice your organization owns
modelThe model ID you sent
languageISO 639-1 code of the language the voice speaks
experimentaltrue when the voice is marked experimental; otherwise false
created_atUnix timestamp in seconds

Select a public voice by sending its id or name as the voice string. Select a saved voice with an object, "voice": {"id": "voice_..."}; a bare saved-voice ID string is rejected with 400 invalid_voice. On the input-streaming WebSocket, put either id in the voice query parameter.

Public voices follow your own saved voices on every page and are not counted by limit or the cursors. public_voices_unavailable is true when the public voices could not be read for this response; your saved voices are still listed.

A saved voice reports the language of its reference, or en when that language is unclear.

Voice metadata and filters​

Add include_metadata=true to get a short description and listening tags for each voice, and filter the list by language, use case, tone, gender, pitch, accent or perceived age. Without these parameters the response is unchanged.

curl -L --fail-with-body -sS \
'https://api.kittenml.com/v1/voices?model=kitten-tts-2-latest&language=en&use_case=audiobook&tone=calm&include_metadata=true' \
-H "Authorization: Bearer $KITTENML_API_KEY"

This response is shortened to one voice and the fields used here; the other fields are the same as in the response above.

{
"object": "list",
"model": "kitten-tts-2-latest",
"data": [
{
"id": "otis_en",
"created_at": 1792791371,
"name": "Otis — Rumbling Male",
"object": "audio.voice",
"type": "public",
"model": "kitten-tts-2-latest",
"language": "en",
"experimental": false,
"metadata": {
"description": "Low-pitched, resonant voice that sounds middle-aged, with a calm and confident delivery. Suggested for narration and announcements.",
"gender": "male",
"accent": null,
"perceived_age": "middle_aged",
"pitch": "low",
"texture": ["clear", "resonant"],
"tone": ["calm", "confident", "serious"],
"use_cases": ["audiobook", "announcements"]
}
}
],
"metadata_filters": {
"gender": ["female", "male"],
"accent": ["american", "brazilian", "standard", "english_accented", "british", "non_native"],
"use_case": ["audiobook", "education", "conversational", "news", "announcements", "podcast", "characters", "advertising", "relaxation", "tours"],
"tone": ["calm", "confident", "serious", "friendly", "energetic", "reserved", "playful"],
"pitch": ["low", "medium", "high"],
"perceived_age": ["young_adult", "middle_aged", "older_adult"]
}
}

metadata is null for a voice with no published metadata yet, including saved voices. Inside the object, a field that is not established is null, or [] for a list.

FieldValues
descriptionOne or two sentences built from the tags below
use_casesaudiobook, education, conversational, news, announcements, podcast, characters, advertising, relaxation, tours
tonecalm, confident, serious, friendly, energetic, reserved, playful
pitchlow, medium, high
accentamerican, brazilian, standard, english_accented, british, non_native
genderfemale, male
perceived_ageyoung_adult, middle_aged, older_adult
textureclear, resonant, nasal, gravelly, breathy, raspy (shown only; not a filter)

accent describes pronunciation: standard is the standard pronunciation of the voice's language, english_accented is another language spoken with an English accent, british is British English, and non_native is a voice whose pronunciation shows a different first language. gender and perceived_age describe how the voice sounds.

Filters​

language, use_case, tone, gender, pitch, accent and perceived_age each take one value from the lists above; language takes any code in languages.

  • Different filters combine with AND.
  • use_case and tone match when the voice's list contains the value.
  • Filters work with or without include_metadata.
  • A voice without a value for a field never matches a filter on that field, but still appears in the unfiltered list.
  • An unknown value returns 400 invalid_request_error, with param naming the filter. With include_metadata=true, metadata_filters lists the accepted values.

Public voices that match appear on every page, as they do without filters. Saved voices keep their limit and after pagination: language filters each page and keeps the cursors, so a page can hold fewer saved voices than limit. Saved voices have no metadata, so the other filters leave them out and has_more is false.

Voice previews​

Add include_preview=true to get a short audio sample of each voice. Without it the response is unchanged. It works with include_metadata and the filters.

curl -L --fail-with-body -sS \
'https://api.kittenml.com/v1/voices?model=kitten-tts-2-latest&language=en&include_preview=true' \
-H "Authorization: Bearer $KITTENML_API_KEY"

This response is shortened to two voices and the fields used here; the other fields are the same as in the response above.

{
"object": "list",
"model": "kitten-tts-2-latest",
"data": [
{
"id": "voice_0123456789abcdef0123456789abcdef",
"name": "My saved voice",
"type": "custom",
"language": "en",
"preview_url": null
},
{
"id": "otis_en",
"name": "Otis — Rumbling Male",
"type": "public",
"language": "en",
"preview_url": "https://media.kittenml.com/voice-previews/kitten-tts-2/otis_en/01ff7f452ccaaae2.mp3"
}
]
}
  • preview_url links to an MP3 of the voice reading a short sentence in its language. Fetching it needs no API key and uses no credits, so a browser can play it directly: <audio src="..." preload="none">.
  • preview_url is null for saved voices, and for a public voice that has no preview yet.
  • Use preview_url exactly as returned; do not build it from the voice ID.
  • Read preview_url from this listing rather than storing it: it changes when the voice is updated.
  • A value other than true or false returns 400 invalid_request_error with param: "include_preview".

Voice IDs​

Select a Kitten TTS 2 voice by its voice ID: the voice's lowercase first name and language code, separated by an underscore, such as eleanor_en. Copy the ID from this table or from the response's id; the title is the voice's display name (name). Voice IDs are case-sensitive. The default voice is eleanor_en.

The table below shows 47 of the voices. Use GET /v1/voices for the full list across 20 languages. Each uses the same fields: id, object, name, type, model, language, and experimental.

Voice IDTitleLanguage
matthew_enMatthewEnglish
willow_enWillow — Hushed Young FemaleEnglish
dolores_enDoloresEnglish
victor_enVictor — Older NarratorEnglish
dante_enDante — American VoiceEnglish
alfred_enAlfred — Calm Steady NarratorEnglish
saoirse_enSaoirse — Serious TeacherEnglish
claire_enClaireEnglish
raven_enRaven — Friendly TeacherEnglish
bella_enBella (Kitten V0.8)English
jasper_enJasper (Kitten V0.8)English
luna_enLuna (Kitten V0.8)English
bruno_enBruno (Kitten V0.8)English
rosie_enRosie (Kitten V0.8)English
hugo_enHugo (Kitten V0.8)English
kiki_enKiki (Kitten V0.8)English
leo_enLeo (Kitten V0.8)English
frank_enFrank — Reserved AnnouncerEnglish
herbert_enHerbert — Firm NarratorEnglish
diana_enDiana — Energetic NarratorEnglish
laurence_enLaurence — Dramatic MaleEnglish
maeve_enMaeve — Cozy FemaleEnglish
walter_enWalter — Warm MaleEnglish
edith_enEdith — Soft FemaleEnglish
miles_enMiles — Steady VoiceEnglish
grace_enGrace — Friendly NarratorEnglish
reginald_enReginald — Deep VoiceEnglish
iris_enIris — Character VoiceEnglish
marcus_enMarcus — Serious NarratorEnglish
serena_enSerena — Gentle FemaleEnglish
julian_enJulian — Steady NarratorEnglish
eleanor_enEleanor — Somber FemaleEnglish
otis_enOtis — Rumbling MaleEnglish
vincent_enVincent — American AssistantEnglish
martha_enMarthaEnglish
sable_enSable — Gentle AssistantEnglish
victoria_enVictoria — Regal FemaleEnglish
omar_arOmar — Arabic (العربية)Arabic
lukas_deLukas — German (Deutsch)German
henry_enHenry — EnglishEnglish
diego_esDiego — American-Accented SpanishSpanish
amelie_frAmelie — French (Français)French
luca_itLuca — Italian (Italiano)Italian
tiago_ptTiago — Portuguese (Português)Portuguese
alexei_ruAlexei — Russian (Русский)Russian
lin_zhLin — Chinese (Simplified) (简体中文)Simplified Chinese
priya_hiPriya — Hindi (हिन्दी)Hindi

The _en voices speak English; each of the others speaks the language in its ID and title. Select the language by selecting the voice. See Language coverage.

Voice IDs use only letters, digits, and underscores, so they need no encoding in a URL, such as the input-streaming WebSocket query.

Kitten TTS 2 Mini, Nano and Pico voices​

curl -L --fail-with-body -sS \
'https://api.kittenml.com/v1/voices?model=kitten-tts-2-mini&language=de&gender=female' \
-H "Authorization: Bearer $KITTENML_API_KEY"

The response has the shape shown in Response, with the built-in voices of the model you asked for. These models have no saved voices, so limit and after change nothing and has_more is false. language and gender (female or male) filter the list, include_metadata=true adds metadata with the voice's description (or null) and gender, and include_preview=true adds a preview_url to every voice (null for a voice that has no preview yet). The other filters are not available for these models.

Send a voice's id as voice. The ID ends with the language the voice speaks. In kitten-tts-2-mini, the English voices also speak German, Spanish, Italian, Portuguese and Russian: eleanor_en speaks English and eleanor_de German. The default voice is eleanor_en.

kitten-tts-2-mini

LanguageVoice IDs
English (en)eleanor_en, martha_en, serena_en, iris_en, grace_en, edith_en, diana_en, otis_en, vincent_en, max_en, danny_en
German (de)lena_de, greta_de, jonas_de, felix_de, plus 9 of the English voices, such as eleanor_de
Spanish (es)lucia_es, carmen_es, javier_es, diego_es, plus 9 of the English voices, such as eleanor_es
Italian (it)giulia_it, chiara_it, marco_it, luca_it, plus 9 of the English voices, such as eleanor_it
Portuguese (Brazil) (pt)beatriz_pt, camila_pt, rafael_pt, thiago_pt, plus 9 of the English voices, such as eleanor_pt
Russian (ru)anastasia_ru, natasha_ru, dmitri_ru, ivan_ru, plus 9 of the English voices, such as eleanor_ru
Hindi (hi)priya_hi, ananya_hi, arjun_hi, vikram_hi
Danish (da)freja_da, mads_da, rasmus_da
Finnish (fi)aino_fi, helmi_fi, eero_fi, juho_fi, ville_fi
French (fr)camille_fr, chloe_fr, manon_fr, louis_fr, antoine_fr, julien_fr, mathis_fr, etienne_fr
Japanese (ja)yuki_ja, sakura_ja, haruka_ja, aoi_ja, haruto_ja
Korean (ko)seoyeon_ko, minjun_ko, jihoon_ko
Dutch (nl)sanne_nl, fenna_nl, daan_nl, bram_nl, joris_nl
Swedish (sv)astrid_sv, elsa_sv, oskar_sv
Swahili (sw)zawadi_sw, neema_sw, baraka_sw, juma_sw
Turkish (tr)elif_tr, zeynep_tr

kitten-tts-2-nano

LanguageVoice IDs
English (en)eleanor_en, martha_en, serena_en, iris_en, grace_en, edith_en, otis_en, vincent_en, max_en, danny_en
German (de)anna_de, mia_de, lukas_de, paul_de
Spanish (es)sofia_es, elena_es, pablo_es, mateo_es
Italian (it)francesca_it, alessandro_it, giorgio_it, davide_it
Portuguese (Brazil) (pt)juliana_pt, larissa_pt, gustavo_pt, caio_pt
Russian (ru)olga_ru, tatiana_ru, sergei_ru, alexei_ru
Hindi (hi)priya_hi, ananya_hi, arjun_hi, vikram_hi
French (fr)juliette_fr, gabriel_fr, nicolas_fr

kitten-tts-2-pico

LanguageVoice IDs
English (en)eleanor_en, edith_en, otis_en, frank_en
German (de)anna_de, mia_de, lukas_de, paul_de
Spanish (es)sofia_es, elena_es, pablo_es, mateo_es
Italian (it)francesca_it, alessandro_it, giorgio_it, davide_it
Portuguese (Brazil) (pt)juliana_pt, larissa_pt, gustavo_pt, caio_pt
Russian (ru)olga_ru, tatiana_ru, sergei_ru, alexei_ru
Hindi (hi)priya_hi, arjun_hi
French (fr)amelie_fr, lea_fr, theo_fr, baptiste_fr

KittenTTS 0.8 voices​

KittenTTS 0.8 Mini (kitten-tts-mini-0.8) has a fixed catalog of eight English voices. This endpoint does not list them; send the value from this table as voice. Voice values are case-sensitive, and the default is Bella.

VoiceCharacter
BellaWarm and expressive
JasperClear and conversational
LunaCalm and smooth
BrunoDeep and steady
RosieBright and friendly
HugoAuthoritative
KikiLively and energetic
LeoRelaxed and natural

A KittenTTS 0.8 voice is not accepted by Kitten TTS 2, and a Kitten TTS 2 voice is not accepted by a 0.8 model.

Saved-voice pagination​

All public voices are returned on every successful page. limit controls only the number of caller-owned saved voices and accepts 1–100. When has_more is true, send last_custom_id as after:

curl -L --fail-with-body -sS \
'https://api.kittenml.com/v1/voices?model=kitten-tts-2-latest&limit=25&after=voice_0123456789abcdef0123456789abcdef' \
-H "Authorization: Bearer $KITTENML_API_KEY"

after must name a saved voice the caller owns. An unknown, revoked, or foreign ID is rejected with 404 voice_not_found and param: "after" rather than being treated as an empty page, so read the cursor from a previous response's last_custom_id instead of constructing it.

The endpoint requires a durable organization or registered legacy API key because its response can contain private saved-voice IDs. Another organization cannot list your voices. GET /v1/audio/voices is not a listing route and answers 405.

Create and revoke saved voices using the endpoints in Clone a voice. Runnable Python and JavaScript clients are available in the voice-listing TTS examples.