Skip to content

    API documentation

    Get Fast MV availability

    GET/api/v1/mv/fast/availability

    Authentication · x-api-key

    Check whether Fast MV creation on the Vidu engine is currently available. Omn V1 runs are excluded; managedVersion=omn-v1 returns 400 VALIDATION_ERROR pointing to GET /api/v1/mv/capabilities. Use the requested managedVersion and honor retryAfterSec before trying again. gateEnabled remains in the public contract and is fixed to true; unknown and unavailable block paid creates before direct debit.

    Scope: task:read

    Billing and effects: Free resource read; no generation purchase.

    Recovery: Read the current resource before retrying a mutation; do not assume this operation supports Idempotency-Key.

    Follow this operation’s workflow → · All permission rules

    OneClick, OneClick Turbo, Studio and Omn-on-API-v1 endpoint. Keep each MV on the endpoint that created it. Compare Music Video models

    Request

    Query parameters

    managedVersionquery · Optional
    "oneclick-v1" | "premium-v2"

    Responses

    Read the HTTP status and body together. A receipt confirms acceptance; poll the returned Task or product view for terminal execution and media delivery. Example IDs and credit amounts are illustrative, not a price quote.

    HTTP 401 · Request rejected; correct the key before retrying

    Complete JSON example (optional fields may be omitted).

    {
    "success": false,
    "error": {
    "code": "INVALID_API_KEY",
    "message": "Invalid API key"
    }
    }
    200 OK

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 200 · admissionStateRequired

      "AVAILABLE" | "DEGRADED" | "BACKPRESSURED" | "UNAVAILABLE"

      Current paid-creation admission decision: normal/degraded admission or backpressure/unavailability, as reported by the listed checks.

    • Response 200 · checkedAtRequired

      string

      ISO 8601 time when availability and the sampling window were evaluated.

    • Response 200 · checksRequired

      array<object>

      Results of validating the submitted media and request. Resolve blocking failures before purchase.

      1 field
      • Response 200 · checks[]Each item

        object
        6 fields
        • Response 200 · checks[].messageRequired

          string

          Human-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.

        • Response 200 · checks[].nameRequired

          string

          Stable identifier of the availability check, such as task_worker, asset_storage or upstream_provider_health.

        • Response 200 · checks[].statusRequired

          "pass" | "warn" | "fail" | "unknown"

          State of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.

        • Response 200 · checks[].managedVersionOptional

          string

          Managed purchase contract to which this check applies.

        • Response 200 · checks[].reasonOptional

          string

          Machine-readable check reason, including deployment_disabled.

        • Response 200 · checks[].retryableOptional

          boolean

          False means repeating the request cannot resolve this check without a service configuration change.

    • Response 200 · gateEnabledRequired

      true

      Paid-create availability gate; fixed to true in the current public contract.

    • Response 200 · guidanceRequired

      string

      Human-readable next steps for the current availability state; honor retryAfterSec before another create attempt.

    • Response 200 · managedVersionRequired

      "oneclick-v1" | "premium-v2"

      Compatibility request profile, separate from the execution engine. Defaults to oneclick-v1. With explicit engineVersion=omn-v1 and performanceMode, an omitted profile is inferred as premium-v2; explicit profiles are never overridden. Implicit and Vidu requests retain their existing defaults.

    • Response 200 · messageRequired

      string

      Human-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.

    • Response 200 · metricsRequired

      object

      Recent delivery sample and queue observations for the requested managed version; not an individual Task ETA.

      12 fields
      • Response 200 · metrics.avgTerminalDurationSecRequired

        number | null

        Legacy field name: average creation-to-update duration of successful READY projects only, in seconds; null without successful samples.

        May be null.

      • Response 200 · metrics.failedCountRequired

        number

        Number of sampled projects in FAILED state, including input and policy failures.

      • Response 200 · metrics.failureRateRequired

        number

        FAILED projects as a percentage (0-100) of terminal sampled projects; includes input/policy failures, unlike provider technical failure rate.

      • Response 200 · metrics.predictedDeliveryWaitSecRequired

        number | null

        Estimated queue wait plus successful delivery duration in seconds; null when prediction is unavailable, not a deadline guarantee.

        May be null.

      • Response 200 · metrics.predictedQueueWaitSecRequired

        number | null

        Estimated queue wait in seconds from queue depth and recent successful throughput; null without sufficient calibration.

        May be null.

      • Response 200 · metrics.processingCountRequired

        number

        Number of sampled projects in PROCESSING or FINALIZING state.

      • Response 200 · metrics.projectCountRequired

        number

        Number of matching projects sampled in the lookback window, capped at 500.

      • Response 200 · metrics.readyCountRequired

        number

        Number of sampled projects in READY state.

      • Response 200 · metrics.readyRateRequired

        number

        READY projects as a percentage (0-100) of terminal sampled projects.

      • Response 200 · metrics.recentServiceRatePerMinuteRequired

        number | null

        Recent successful deliveries divided by the sampling window in minutes, used for queue-wait prediction.

        May be null.

      • Response 200 · metrics.staleProcessingCountRequired

        number

        Maximum of stale sampled PROCESSING count and stale Task/finalizing detection indicators; not an exact global stalled-task total.

      • Response 200 · metrics.terminalCountRequired

        number

        Number of sampled READY plus FAILED projects.

    • Response 200 · retryAfterSecRequired

      number | null

      Suggested delay in seconds before another request. Honor the Retry-After header when present; use bounded backoff.

      May be null.

    • Response 200 · statusRequired

      "available" | "degraded" | "unavailable" | "unknown"

      State of the object containing this field. Use its listed values; operation acceptance, Task completion and media delivery are separate states.

    • Response 200 · windowMinutesRequired

      number

      Effective lookback window in minutes, clamped to 15 through 1440.

    400 Bad Request

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 400 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 400 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 400 · error.messageRequired

        string

        Human readable error message

      • Response 400 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 400 · successRequired

      false

      Always false for error responses

    401 Unauthorized

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 401 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 401 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 401 · error.messageRequired

        string

        Human readable error message

      • Response 401 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 401 · successRequired

      false

      Always false for error responses

    403 Forbidden

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 403 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 403 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 403 · error.messageRequired

        string

        Human readable error message

      • Response 403 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 403 · successRequired

      false

      Always false for error responses

    404 Not Found

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 404 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 404 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 404 · error.messageRequired

        string

        Human readable error message

      • Response 404 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 404 · successRequired

      false

      Always false for error responses

    429 Too Many Requests

    Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 429 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 429 · error.codeRequired

        string

        RATE_LIMITED for request and task admission rejections.

      • Response 429 · error.messageRequired

        string

        Human-readable explanation. Wording may change; use the machine-readable code for programmatic decisions.

      • Response 429 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        9 fields
        • Response 429 · error.details.currentOptional

          integer

          Current count for the rate-limit window identified by policy and scope.

          Minimum: 0.

        • Response 429 · error.details.inFlightOptional

          integer

          Current accepted tasks counted against the relevant account or API-key admission limit.

          Minimum: 0.

        • Response 429 · error.details.limitOptional

          integer

          Maximum count allowed by this response context. A limit is not a throughput guarantee.

          Minimum: 0.

        • Response 429 · error.details.policyOptional

          "operation" | "query"

          Allowance bucket: query for resource reads, operation for task-producing or operation requests. See the rate-limit response headers.

        • Response 429 · error.details.retryAfterSecOptional

          integer

          Suggested delay in seconds before another request. Honor the Retry-After header when present; use bounded backoff.

          Minimum: 1.

        • Response 429 · error.details.scopeOptional

          "user" | "api-key" | "ip" | "apiKey"

          Entity whose allowance was exceeded, such as the user, API key or IP address.

        • Response 429 · error.details.tierOptional

          "FREE" | "PREMIUM" | "ENTERPRISE"

          Account allowance tier used for this admission or rate-limit decision.

        • Response 429 · error.details.typeOptional

          "rps" | "daily" | "monthly"

          Admission limit that rejected the request: rps (continuously refilled requests-per-second bucket), daily or monthly UTC request budget. Interpret with policy, scope and retryAfterSec.

        • Response 429 · error.details[key]Each value

          any JSON value

          Key pattern: ^(.*)$.

    • Response 429 · successRequired

      false

      Whether this response reports a successful action; false accompanies the structured error object.

      Default: false.

    500 Internal Server Error

    application/json

    Required, optional and null

    Required fields apply within their object and selected option. An optional object may be absent; when present, its required fields must be included. Required and nullable are independent: null is allowed only where listed.

    • Response 500 · errorRequired

      object

      Structured failure information. Branch on code, show message, and interpret details only for that code. The request ID is returned in the X-Request-Id header.

      3 fields
      • Response 500 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 500 · error.messageRequired

        string

        Human readable error message

      • Response 500 · error.detailsOptional

        object

        Optional error-specific context. Read code first; details keys depend on that code. Unknown keys must not break error handling. See /resources/errors/.

        1 field
    • Response 500 · successRequired

      false

      Always false for error responses

    Workflow and next steps → · Recover an uncertain request

    Interactive API Explorer → · OpenAPI JSON