Skip to content

List voices

GEThttps://my.neuronai.uz/api/v1/tts/voices

Lists 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.

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

Query parameters

  • typestring | nullOptional

    stock or custom. Leave it out for both.

    Allowed values:stockcustomnull

  • languagestring | nullOptional

    Only voices in this language, such as uz.

    Max. length: 16

  • limitinteger | nullOptional

    Voices per page, from 1 to 100. 50 by default.

    Minimum: 1 · Maximum: 100

  • cursorstring | nullOptional

    The next_cursor of the previous page.

    Max. length: 512

Response

200application/json

Success.

  • dataVoice[]Required
  • next_cursorstring | nullRequired
  • 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.

  • 422

    The request failed validation (invalid_request). error.fields names 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) or service_unavailable (503).