Skip to content

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.

Works without a key; a key with voices:read sees more.

Path parameters

  • idstringRequired

    The voice id.

Response

200application/json

Success.

  • dataobjectRequired
  • request_idstringRequired

    Format: uuid

Headers

  • X-Request-IdstringOptional

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

  • 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).