VideoGen API
Get voices
GET
/v1/get-voicesGet a list of voices supported by the VideoGen API. Each element in the list incudes the name, language code, quality, gender, and a sample audio track. Additionally, the endpoint can take in arguments filtering based on language code, quality, and gender.
Request
Query Params
languageCode
string
optional
Two-letter language code.
Example:
en
quality
enum<string>
optional
Quality of the voice. "lifelike" is provided by ElevenLabs, "standard" is provided by OpenAI, and "basic" is provided by Google.
Allowed values:
lifelikestandardbasic
Example:
lifelike
gender
enum<string>
optional
Gender of the voice.
Allowed values:
MALEFEMALENEUTRAL
Example:
MALE
Request samples
Responses
Successfully fetched voices(200)
Failed to fetch voices(400)
Successfully fetched voices
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
voices
array [object {1}]
required
audioSample
string
required
Mp3 sample of the voice.
Example
{
"voices": [
{
"name": "Mun",
"language": "English",
"country": "Singapore",
"quality": "lifelike",
"gender": "MALE",
"audioSample": "https://storage.googleapis.com/videogen-assets/tts-demos/eleven-labs-owsLoyJNU4K7ctU6NF7F-en.mp3"
}
]
}
Last modified: 23 days ago