Endpoint
GET /api/v1/get_voices
Fetches all available voices.
Headers
Response
success: Boolean indicating request statusvoices: Array of voice objects
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Learn how to retrieve available voices.
/api/v1/get_voicesAuthorization: Bearer {YOUR_API_KEY_HERE}
{
"success": true,
"voices": [
{
"name": "Kartik",
"description": "Warm, steady, and confident male voice suitable for banking.",
"languages": [
"English",
"Hindi"
],
"gender": "male"
}
]
}
success: Boolean indicating request statusvoices: Array of voice objectsasync function getVoices() {
const res = await fetch("https://timepay.ai/api/v1/get_voices", {
headers: {
Authorization: "Bearer YOUR_API_KEY_HERE"
}
});
const data = await res.json();
console.log(data);
}
getVoices();
