API Reference

Text To Speech · Voices

GEThttps://api.shabd.tech/v1/text-to-speech/voices

Retrieves a list of supported voices.

Query parameters

  • includeSamplesbooleanoptional

    When set, includes voice sample data in the response. Optional.

Responses

  • 200A list of supported voices.

    Bodyapplication/json

    • statusbooleanoptional
      Example:
      true
    • voicesarrayoptional

    Example response

    {  "status": true,  "voices": [    {      "language": "malayalam",      "gender": "female",      "sampleRate": [        22050      ],      "voiceId": 110,      "voiceName": "Chandhini"    }  ]}
  • 500Internal server error

    Bodyapplication/json

    • statusbooleanoptional
      Example:
      false
    • messagestringoptional
      Example:
      An unexpected error occurred. Please try again later.

    Example response

    {  "status": false,  "message": "An unexpected error occurred. Please try again later."}