Voice
List TTS Providers and Models
Get all supported TTS providers and their models for a given language. Returns provider IDs and model IDs needed to fetch voices.
GET
/
api
/
v1
/
voice-config
/
tts
List TTS providers and models
curl --request GET \
--url https://api.bolna.ai/api/v1/voice-config/tts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.bolna.ai/api/v1/voice-config/tts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bolna.ai/api/v1/voice-config/tts', 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.bolna.ai/api/v1/voice-config/tts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.bolna.ai/api/v1/voice-config/tts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.bolna.ai/api/v1/voice-config/tts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bolna.ai/api/v1/voice-config/tts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"language": "hi",
"providers": [
{
"id": "7a3f4573-7548-5b34-80f9-5edf23bed79b",
"name": "ElevenLabs",
"is_supported": true,
"models": [
{
"id": "f1b5c9cc-72e1-56a4-be8c-f3ee37d38309",
"model_id": "eleven_turbo_v2_5",
"display_name": "Eleven Turbo v2.5",
"description": "Our high quality, low latency model in 32 languages.",
"display_order": 3,
"quality_tier": "turbo",
"is_supported": true,
"default": false
}
]
},
{
"id": "9e675bdf-00e5-5bd5-b858-f1b088a48dbd",
"name": "Sarvam",
"is_supported": true,
"models": [
{
"id": "5d82c5f4-458f-5ff6-ae2b-a5e692b77a2c",
"model_id": "bulbul:v3",
"display_name": "Bulbul v3",
"description": "Latest Sarvam TTS model with 30+ speakers, pace control, and temperature control.",
"display_order": 1,
"quality_tier": "standard",
"is_supported": true,
"default": false
}
]
}
],
"custom_voices": {},
"default": null
}{
"error": 401,
"message": "Access denied"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
BCP-47 language code to filter providers by language support (e.g. en, hi, ta). Omit for all languages.
Example:
"hi"
Was this page helpful?
Previous
List voicesGet a paginated list of voices for a specific TTS provider and model. Requires provider_id and model_id from the List Providers endpoint.
Next
⌘I
List TTS providers and models
curl --request GET \
--url https://api.bolna.ai/api/v1/voice-config/tts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.bolna.ai/api/v1/voice-config/tts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bolna.ai/api/v1/voice-config/tts', 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.bolna.ai/api/v1/voice-config/tts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.bolna.ai/api/v1/voice-config/tts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.bolna.ai/api/v1/voice-config/tts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bolna.ai/api/v1/voice-config/tts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"language": "hi",
"providers": [
{
"id": "7a3f4573-7548-5b34-80f9-5edf23bed79b",
"name": "ElevenLabs",
"is_supported": true,
"models": [
{
"id": "f1b5c9cc-72e1-56a4-be8c-f3ee37d38309",
"model_id": "eleven_turbo_v2_5",
"display_name": "Eleven Turbo v2.5",
"description": "Our high quality, low latency model in 32 languages.",
"display_order": 3,
"quality_tier": "turbo",
"is_supported": true,
"default": false
}
]
},
{
"id": "9e675bdf-00e5-5bd5-b858-f1b088a48dbd",
"name": "Sarvam",
"is_supported": true,
"models": [
{
"id": "5d82c5f4-458f-5ff6-ae2b-a5e692b77a2c",
"model_id": "bulbul:v3",
"display_name": "Bulbul v3",
"description": "Latest Sarvam TTS model with 30+ speakers, pace control, and temperature control.",
"display_order": 1,
"quality_tier": "standard",
"is_supported": true,
"default": false
}
]
}
],
"custom_voices": {},
"default": null
}{
"error": 401,
"message": "Access denied"
}
