Skip to main content
The VoxVoice API allows you to fetch a list of all available voices that can be used for Text-to-Speech generation.

Endpoint

GET /api/v1/get_voices

Fetches all available voices.

Headers

Authorization: Bearer {YOUR_API_KEY_HERE}

Response

{
  "success": true,
  "voices": [
  {
    "name": "Kartik",
    "description": "Warm, steady, and confident male voice suitable for banking.",
    "languages": [
      "English",
      "Hindi"
    ],
    "gender": "male"
  }
]
}
  • success: Boolean indicating request status
  • voices: Array of voice objects

Example — Fetch Voices (Node.js)

async 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();

Need Help?

If you have any questions or need assistance, please contact our support team at support@timepay.ai.