İçeriğe geç
Lumean

Açıklamalar İngilizce

Bölümün arayüzü dilinize çevrildi, ancak işlem, şema ve hata açıklamaları yalnızca Rusça ve İngilizce mevcut — burada İngilizce sürüm gösteriliyor.
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.

Parametreler

Değerler doğrudan istek satırına yazılır ve URL kendiliğinden oluşur. Aşağıda her parametrenin türü, zorunlu olup olmadığı ve izin verilen değerleri var.

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

    Olası yanıtlar

    200

    Success. The payload is in data.

    Gövde örneği
    {
      "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
        }
      ]
    }
    Yanıt alanları
    successzorunlu

    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
    messagezorunlu

    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
    datazorunlu

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

    array<VoiceTag>VoiceTag
    dizi öğesi
    idzorunlu

    Internal identifier of the tag.

    integer
    codezorunlu

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

    string
    namezorunlu

    Tag name in the account language.

    string
    descriptionzorunlu

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

    null olabilir
    string
    colorzorunlu

    Tag colour in HEX — a styling hint.

    null olabilir
    string
    sort_orderzorunlu

    Sort weight within the tag list: lower comes first.

    integer
    401

    The key is missing, unknown, disabled or expired.

    Bu yanıtı çözümle
    Gövde örneği
    {
      "success": false,
      "message": "API key is missing. Provide it in the X-API-KEY header.",
      "data": null
    }
    Yanıt alanları
    successzorunlu

    Always false in error responses.

    boolean
    messagezorunlu

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

    string
    datazorunlu

    Always null when the request is rejected before processing.

    null olabilir
    null
    403

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

    Bu yanıtı çözümle
    Gövde örneği
    {
      "success": false,
      "message": "This API key does not have permission to perform this action."
    }
    Yanıt alanları
    successzorunlu

    Always false in error responses.

    boolean
    messagezorunlu

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

    string

    Yapay zekâ için bu sayfa

    .md sürümünü açllm.md

    API sürümü 1.0.0