Get a voice
GET
https://my.neuronai.uz/api/v1/tts/voices/{id}One voice by id. Stock voices are public. A voice clone needs a key with voices:read from its own organization; any other caller gets 404 not_found.
Работает без ключа; ключ с voices:read видит больше.
Параметры пути
idstringОбязательноThe voice id.
Ответ
200application/jsonSuccess.
dataobjectОбязательно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. - 404
No such voice for this key:
not_found. - 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).