List voices
curl --request GET \
--url https://api.telleo.ai/v1/voices \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.telleo.ai/v1/voices"
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.telleo.ai/v1/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"id": "google",
"object": "tts_model",
"label": "<string>",
"note": "<string>",
"default_voice": "<string>",
"languages": [
"<string>"
],
"pricing": {
"credits_per_minute": 123,
"ai_credits_per_minute": 123,
"telephony_credits_per_minute": 123
},
"voices": [
{
"id": "<string>",
"gender": "male",
"label": "<string>"
}
]
}
],
"languages": [
"<string>"
],
"has_more": true
}Agents
List voices
Every voice engine with its voices (id, gender), the languages it speaks and what a connected minute costs in credits.
Scope: calls:read.
GET
/
voices
List voices
curl --request GET \
--url https://api.telleo.ai/v1/voices \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.telleo.ai/v1/voices"
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.telleo.ai/v1/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"data": [
{
"id": "google",
"object": "tts_model",
"label": "<string>",
"note": "<string>",
"default_voice": "<string>",
"languages": [
"<string>"
],
"pricing": {
"credits_per_minute": 123,
"ai_credits_per_minute": 123,
"telephony_credits_per_minute": 123
},
"voices": [
{
"id": "<string>",
"gender": "male",
"label": "<string>"
}
]
}
],
"languages": [
"<string>"
],
"has_more": true
}