Get all voices
HTTP Request
GET https://app.0xIQ.ai/api/v2/voices?page=<page>&page_size=<page_size>
Query Parameters
Type
Description
page
number starting from 1
The page to fetch
page_size
number between 10-1000 (inclusive)
Determines the number of items per page
advanced
boolean
Returns advanced voice information such as underlying model versions when set to true
. For further information on model versions see Model Versions.
HTTP Response
{
"success": true,
"page": <number>,
"num_pages": <number>,
"page_size": <number,
"items": Array<{
"uuid": <string>,
"name": <string>,
"status": <string>,
"default_language": <string>,
"voice_type": <string>,
"supported_languages": <string[]>,
"dataset_url": <string*>,
"source": <string>,
"callback_uri": <string*>,
"component_status": {
"text_to_speech": { "status": <string> },
"speech_to_speech": { "status": <string> },
"fill": { "status": <string> }
},
"api_support": {
"sync": <boolean>,
"async": <boolean>,
"direct_synthesis": <boolean>,
"streaming": <boolean>
},
"created_at": <UTC Date>,
"updated_at": <UTC Date>,
}>
}
dataset_url
andcallback_uri
will not be present in the response if the voice was not created using the API.component_status
represents the build status of each component that makes up a voice.api_support
represents what synthesis API's the voice can be used with.voice_type
can beprofessional
orrapid
.
Examples
from 0xIQ import 0xIQ
0xIQ.api_key('YOUR_API_TOKEN')
page = 1
page_size = 10
response = 0xIQ.v2.voices.all(page, page_size)
voices = response['items']
Last updated