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.
Kalitsiz ishlaydi; voices:read ruxsatli kalit koʻproq koʻradi.
Soʻrov parametrlari
typestring | nullIxtiyoriystockorcustom. Leave it out for both.Ruxsat etilgan qiymatlar:
stockcustomnulllanguagestring | nullIxtiyoriyOnly voices in this language, such as
uz.Maks. uzunlik: 16
limitinteger | nullIxtiyoriyVoices per page, from 1 to 100. 50 by default.
Eng kami: 1 · Eng koʻpi: 100
cursorstring | nullIxtiyoriyThe
next_cursorof the previous page.Maks. uzunlik: 512
Javob
200application/jsonSuccess.
dataVoice[]Majburiynext_cursorstring | nullMajburiyrequest_idstringMajburiyFormat: uuid
Sarlavhalar
X-Request-IdstringIxtiyoriyIdentifies this request. A JSON body carries it as
request_idtoo; quote it to support.Format: uuid
Xatolar
- 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).