Voice List API
API to retrieve the full list of voices, both public and private, available to a user.
Convai's Voice List API endpoint
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 users' private voices.
Request
The request body only requires the following header field :
Headers
Field Name | Type | Value / Description |
---|---|---|
CONVAI-API-KEY* | String | Your Convai API Key. |
Response
On success, the API will return a nested JSON object in the following format :
Response Field Descriptions
Section Name
: The name of the section under which the voice is available (in the Convai Playground). Eg :Azure Voices
,Elevenlabs Voices
,GCP Voices
,Convai Voices
etc.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 setting / updating 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 audio file.
Sample Code Snippet
Sample Response
Last updated