İç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/orders/dubbing/options

Dubbing options

Which dubbing kinds are open to the key owner and how to order them. Kinds are in kinds, keyed by the service of the source order: cartesia (the dub is the cartesia_dub service) and elevenlabs (the dub is elevenlabs_dub). Each kind has:

  • available — whether dubbing of this kind is open;
  • dub_service — the dub service code (it is also the task_type of the created order);
  • languages — allowed target_language values, models and default_model — allowed model_id values and the default model;
  • max_source_chars — the cap on source characters;
  • price_factor — how many times a dub costs more than voicing the same text with the source service (translation included): Cartesia — 1.35, ElevenLabs — 1.5;
  • maintenance — dubbing of this kind is temporarily not accepted.

A closed kind is available: false with empty lists and zeros. The top-level fields (except kinds) repeat the cartesia kind for compatibility with older clients.

Required key permission: orders.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/orders/dubbing/options

    Olası yanıtlar

    200

    Dubbing options.

    Gövde örneği
    {
      "success": true,
      "message": "string",
      "data": {
        "available": true,
        "languages": [
          "string"
        ],
        "models": [
          "string"
        ],
        "default_model": "string",
        "max_source_chars": 1,
        "price_factor": 1,
        "maintenance": true,
        "kinds": {
          "key": []
        }
      }
    }
    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 response payload.

    object
    availablezorunlu

    Whether dubbing of Cartesia orders is open (the cartesia kind; kept for older clients — use kinds).

    boolean
    languageszorunlu

    Allowed target_language values of the cartesia kind.

    array<string>
    modelszorunlu

    Allowed model_id values of the cartesia kind.

    array<string>
    default_modelzorunlu

    Default model of the cartesia kind.

    string
    max_source_charszorunlu

    Source character cap of the cartesia kind.

    integer
    price_factorzorunlu

    How many times a Cartesia dub costs more than voicing the same text with Cartesia (translation included).

    number
    maintenancezorunlu

    true — Cartesia dubbing is temporarily not accepted.

    boolean
    kindszorunlu

    Dubbing kinds keyed by the source order service (cartesia, elevenlabs). Each has available, dub_service (the dub service code, also the order task_type; null when closed), languages, models, default_model, max_source_chars, price_factor, maintenance.

    object
    *isteğe bağlı
    rastgele anahtarlar
    object
    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

    Bunun ürettiği olaylar

    İlerleme WebSocket üzerinden gelir: siparişi döngüde yoklamak gerekmez. Abonelik, siparişleri okumakla aynı izni gerektirir.

    Yapay zekâ için bu sayfa

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

    API sürümü 1.0.0