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/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 (ElevenLabs 30 000; up to 120 000 when segmentation is enabled);
  • 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.

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

    Respuestas posibles

    200

    Dubbing options.

    Ejemplo de cuerpo
    {
      "success": true,
      "message": "string",
      "data": {
        "available": true,
        "languages": [
          "string"
        ],
        "models": [
          "string"
        ],
        "default_model": "string",
        "max_source_chars": 1,
        "price_factor": 1,
        "maintenance": true,
        "max_languages_per_request": 1,
        "kinds": {
          "key": []
        }
      }
    }
    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 response payload.

    object
    availableobligatorio

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

    boolean
    languagesobligatorio

    Allowed target_language values of the cartesia kind.

    array<string>
    modelsobligatorio

    Allowed model_id values of the cartesia kind.

    array<string>
    default_modelobligatorio

    Default model of the cartesia kind.

    string
    max_source_charsobligatorio

    Source character cap of the cartesia kind.

    integer
    price_factorobligatorio

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

    number
    maintenanceobligatorio

    true — Cartesia dubbing is temporarily not accepted.

    boolean
    max_languages_per_requestobligatorio

    How many languages one target_languages accepts (that many dubs a request creates); 0 — dubbing is closed.

    integer
    kindsobligatorio

    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, max_languages_per_request.

    object
    *opcional
    claves arbitrarias
    object
    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

    Eventos que genera

    El progreso llega por WebSocket: no hace falta sondear el pedido en bucle. Para suscribirse se necesita el mismo permiso que para leer pedidos.

    Esta página para IA

    Abrir .mdllm.md

    versión de la API 1.0.0