List voices
https://my.neuronai.uz/api/v1/tts/voicesLists the stock voices, then your organization's voice clones.
No key is needed: without one, only stock voices are listed. A key that is sent is still checked.
Works without a key; a key with voices:read sees more.
Query parameters
typestring | nullOptionalstockorcustom. Leave it out for both.Allowed values:
stockcustomnulllanguagestring | nullOptionalOnly voices in this language, such as
uz.Max. length: 16
limitinteger | nullOptionalVoices per page, from 1 to 100. 50 by default.
Minimum: 1 · Maximum: 100
cursorstring | nullOptionalThe
next_cursorof the previous page.Max. length: 512
Response
200application/jsonSuccess.
dataVoice[]Requirednext_cursorstring | nullRequiredrequest_idstringRequiredFormat: uuid
Headers
X-Request-IdstringOptionalIdentifies this request. A JSON body carries it as
request_idtoo; quote it to support.Format: uuid
Errors
- 401
The key sent is invalid, revoked, disabled or expired. A request without a key is answered as anonymous.
- 403
A key was sent, and the client IP is not in its allowlist:
ip_not_allowed. - 422
The request failed validation (
invalid_request).error.fieldsnames each invalid field. - 502
The voice service could not list its voices:
upstream_error. - default
Any other error, in the same shape, such as
server_error(500) orservice_unavailable(503).