Saltar al contenido
Lumean

Descripciones en inglés

La interfaz de la sección está traducida a su idioma, pero las descripciones de operaciones, esquemas y errores solo existen en ruso y en inglés: aquí se muestra la versión en inglés.
GET/voices/tags

Voice Tags

The reference of active voice tags, named in the request language.

Needed for the tag_ids[] filter of GET /voices/public: take the ids of the tags you want from here. The language of the names follows the X-Locale header.

Required key permission: voices.read.

Parámetros

Los valores se escriben directamente en la línea de la solicitud y la URL se arma sola. Abajo están el tipo, la obligatoriedad y los valores permitidos de cada parámetro.

GEThttps://api.lumean.app/api/public/voices/tags

    Respuestas posibles

    200

    Success. The payload is in data.

    Ejemplo de cuerpo
    {
      "success": true,
      "message": "Success",
      "data": [
        {
          "id": 1,
          "code": "male",
          "name": "Male",
          "description": null,
          "color": null,
          "sort_order": 10
        },
        {
          "id": 2,
          "code": "female",
          "name": "Female",
          "description": null,
          "color": null,
          "sort_order": 20
        },
        {
          "id": 3,
          "code": "neutral",
          "name": "Neutral",
          "description": null,
          "color": null,
          "sort_order": 30
        },
        {
          "id": 4,
          "code": "calm",
          "name": "Calm",
          "description": null,
          "color": null,
          "sort_order": 40
        },
        {
          "id": 5,
          "code": "energetic",
          "name": "Energetic",
          "description": null,
          "color": null,
          "sort_order": 50
        },
        {
          "id": 6,
          "code": "young",
          "name": "Young",
          "description": null,
          "color": null,
          "sort_order": 60
        },
        {
          "id": 7,
          "code": "mature",
          "name": "Mature",
          "description": null,
          "color": null,
          "sort_order": 70
        },
        {
          "id": 8,
          "code": "narration",
          "name": "Narration",
          "description": null,
          "color": null,
          "sort_order": 80
        },
        {
          "id": 9,
          "code": "gaming",
          "name": "Gaming",
          "description": null,
          "color": null,
          "sort_order": 90
        },
        {
          "id": 10,
          "code": "character",
          "name": "Character",
          "description": null,
          "color": null,
          "sort_order": 100
        },
        {
          "id": 11,
          "code": "warm",
          "name": "Warm",
          "description": null,
          "color": null,
          "sort_order": 110
        },
        {
          "id": 12,
          "code": "cold",
          "name": "Cold",
          "description": null,
          "color": null,
          "sort_order": 120
        }
      ]
    }
    Campos de la respuesta
    successobligatorio

    Success flag. Branch on the HTTP status code instead: any 2xx response carries true here, while an error comes back in a different shape that need not contain this field at all.

    boolean
    messageobligatorio

    A human-readable note in the account language. Fine to show to a user; do not parse it — the wording changes without notice and is not an error code.

    string
    dataobligatorio

    The complete tag directory — the same set that appears in each voice’s tags.

    array<VoiceTag>VoiceTag
    elemento del array
    idobligatorio

    Internal identifier of the tag.

    integer
    codeobligatorio

    Tag code — the stable value to filter by, unlike the translatable name.

    string
    nameobligatorio

    Tag name in the account language.

    string
    descriptionobligatorio

    Explanation of the tag in the account language, when the author provided one.

    admite null
    string
    colorobligatorio

    Tag colour in HEX — a styling hint.

    admite null
    string
    sort_orderobligatorio

    Sort weight within the tag list: lower comes first.

    integer
    401

    The key is missing, unknown, disabled or expired.

    Analizar esta respuesta
    Ejemplo de cuerpo
    {
      "success": false,
      "message": "API key is missing. Provide it in the X-API-KEY header.",
      "data": null
    }
    Campos de la respuesta
    successobligatorio

    Always false in error responses.

    boolean
    messageobligatorio

    Error text in the key's language (set through the X-Locale header).

    string
    dataobligatorio

    Always null when the request is rejected before processing.

    admite null
    null
    403

    The key lacks the required permission, or the object belongs to another user.

    Analizar esta respuesta
    Ejemplo de cuerpo
    {
      "success": false,
      "message": "This API key does not have permission to perform this action."
    }
    Campos de la respuesta
    successobligatorio

    Always false in error responses.

    boolean
    messageobligatorio

    Error text in the key's language (set through the X-Locale header).

    string

    Esta página para IA

    Abrir .mdllm.md

    versión de la API 1.0.0