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.
Работает без ключа; ключ с voices:read видит больше.
Параметры запроса
typestring | nullНеобязательныйstockorcustom. Leave it out for both.Допустимые значения:
stockcustomnulllanguagestring | nullНеобязательныйOnly voices in this language, such as
uz.Макс. длина: 16
limitinteger | nullНеобязательныйVoices per page, from 1 to 100. 50 by default.
Минимум: 1 · Максимум: 100
cursorstring | nullНеобязательныйThe
next_cursorof the previous page.Макс. длина: 512
Ответ
200application/jsonSuccess.
dataVoice[]Обязательноnext_cursorstring | nullОбязательноrequest_idstringОбязательноФормат: uuid
Заголовки
X-Request-IdstringНеобязательныйIdentifies this request. A JSON body carries it as
request_idtoo; quote it to support.Формат: uuid
Ошибки
- 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).