API reference
List voices
The voices a speech model can use. Send a voice's id as voice to /v1/audio/speech.
GET
https://api.oneapi.id/v1/audio/voices- Key header
Authorization: Bearer- Page size
- Up to 100, default 100
- Billed
- Free
Query parameters
modelstring requiredA tts model. Voice IDs differ per vendor, so the model decides whose voices are listed.
genderstringmale, female or neutral.
languagestringA language such as id, or en-GB for one region. On ElevenLabs models the answer also includes multilingual voices, whose languages is empty, as one page.
limitinteger1 to 100.
cursorstringnext_cursor from the previous page. It only works with the same filters.
Response
{
"object": "list",
"total": 102,
"next_cursor": "NEXT_CURSOR",
"data": [
{
"id": "VOICE_ID",
"name": "Voice name",
"gender": "female",
"accent": "standard",
"languages": ["id", "en"],
"styles": ["calm"]
}
]
}