Asosiy mazmunga oʻtish

Get a voice

GEThttps://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.

Kalitsiz ishlaydi; voices:read ruxsatli kalit koʻproq koʻradi.

Yoʻl parametrlari

  • idstringMajburiy

    The voice id.

Javob

200application/json

Success.

  • dataobjectMajburiy
  • request_idstringMajburiy

    Format: uuid

Sarlavhalar

  • X-Request-IdstringIxtiyoriy

    Identifies this request. A JSON body carries it as request_id too; 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.

  • 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) or service_unavailable (503).