API to retrieve the full list of voices, both public and private, available to a user.
GET
https://api.convai.com/tts/get_available_voices
This endpoint is called to get the list of available voices for a user. The voice list includes information regarding all the public as well as user's private voices.
The request body only required the following header field :
On success, the API will return a nested JSON object in the following format :
No CONVAI-API-KEY provided by the user in the Request.
Invalid CONVAI-API-KEY provided by the user in the Request.
Server Side Failure. Please reach out to support.
Section Name
: The name of the section under which the voice is available (in the Convai Playground).
Voice Name
: The name of the voice that is visible to the user on the Convai Playground.
voice_value
: The unique id for the voice, uniquely identifying the voices. This is the value that needs to be sent to the backend while using the Convai's TTS endpoint or updating/setting the voice for the character.
lang_codes
: List of languages supported by the voice.
gender
: Gender of the voice (MALE/FEMALE).
sample_link
: The link to the voice sample file.
Field Name | Type | Value / Description |
---|---|---|
CONVAI-API-KEY*
String
Your Convai API Key.