Skip to main content
GET
/
v1
/
tts
/
speakers
List voices
curl --request GET \
  --url https://api.kova.ai/v1/tts/speakers \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.kova.ai/v1/tts/speakers"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.kova.ai/v1/tts/speakers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kova.ai/v1/tts/speakers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.kova.ai/v1/tts/speakers"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.kova.ai/v1/tts/speakers")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.kova.ai/v1/tts/speakers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
Pass any speaker_ids value from GET /v1/tts/speakers as the voice field in your TTS requests. New voices are added regularly.
The voice catalog is live — always call /v1/tts/speakers at startup rather than hardcoding ids.

Example

import os, httpx

resp = httpx.get(
    "https://api.kova.ai/v1/tts/speakers",
    headers={"x-api-key": os.environ["KOVA_API_KEY"]},
)
resp.raise_for_status()
print(resp.json()["speaker_ids"])
const resp = await fetch("https://api.kova.ai/v1/tts/speakers", {
  headers: { "x-api-key": process.env.KOVA_API_KEY! },
});
const { speaker_ids } = await resp.json();
console.log(speaker_ids);
curl https://api.kova.ai/v1/tts/speakers \
  -H "x-api-key: $KOVA_API_KEY"
The SDKs do not currently expose a list_voices / listVoices convenience method. Use raw HTTP as above. If a helper is added in a future SDK release, this page should be updated to prefer it.

Picking a voice

Different voices have different character — accent, age, energy. The best way to pick is to listen. Try the same text through several voices:
from kova_tts import KovaTTSClient, AudioResponseFormat

client = KovaTTSClient(api_key="kova_sk_...")
voices_to_try = ["cal", "michaela"]  # adjust to match /v1/tts/speakers output
for voice in voices_to_try:
    result = client.tts(text="Welcome to Kova.", voice=voice,
                        response_format=AudioResponseFormat(encoding="mp3"))
    client.write_audio_file(result.audio, f"sample-{voice}.mp3")

Authorizations

x-api-key
string
header
required

Response

200 - application/json

Successful Response