API Reference

Text To Speech · Languages

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

Retrieves a list of supported languages for text-to-speech synthesis.

Query parameters

  • sampleRateintegeroptional

    Retrieves supported languages based on the given sample rate (e.g., 48000, 22050), or retrieves all languages if not specified.

Responses

  • 200A list of supported languages for text to speech.

    Bodyapplication/json

    • statusbooleanoptional
      Example:
      true
    • languagesarray of stringoptional

    Example response

    {  "status": true,  "languages": [    "english",    "hindi",    "tamil",    "gujarati"  ]}
  • 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"}