Skip to content

    API documentation

    Adopt candidates of an edit

    POST/api/v2/mv/videos/{id}/adopt

    Authentication · x-api-key

    Free (the candidates were paid with the edit). picks covers every changed shot: a ready candidate index or "original". The same picks can be sent again; the video then composes and is delivered. 409 MV_CENTER_EDIT_NOT_PENDING when it is not waiting for a selection.

    Scope: task:create

    Billing and effects: Free: picks candidates already paid for with the edit; the edited video then composes and is delivered.

    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

    Omn music video endpoint. Check capabilities and preflight before purchasing. How Music Video requests work

    Request

    Path parameters

    idpath · Required
    string

    Resource identifier returned by the corresponding create operation.

    Minimum characters: 1. Maximum characters: 128.

    JSON request body

    Content-Type: application/json · Required body

    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.

    Only the listed fields are accepted in this object.

    • Request · picksRequired

      object

      For every changed shot: a ready candidate index, or "original" to keep the old shot.

      1 field
      • Request · picks[key]Each value

        string | integer | "original"

        Key pattern: ^[a-zA-Z0-9][a-zA-Z0-9_./-]{0,120}$. Use a complete option below; the value must satisfy at least one option.

        2 options

    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 · createdAtRequired

      string

      Creation time (ISO 8601).

    • Response 200 · failureRequired

      object | null

      Why the video failed; null unless status is failed.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · idRequired

      string

      Video id.

    • Response 200 · priceRequired

      object | null

      Charge and refund so far.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · progressRequired

      number

      Progress percent.

      Minimum: 0. Maximum: 100.

    • Response 200 · specRequired

      object

      What was bought.

      4 fields
      • Response 200 · spec.creativeRequired

        object

        What the video shows.

        Only the listed fields are accepted in this object.

        5 fields
        • Response 200 · spec.creative.briefOptional

          string

          What the video shows: story, setting, people, events.

          Maximum characters: 3000.

        • Response 200 · spec.creative.modeOptional

          "auto" | "sing" | "story" | "mood"

          auto: Omn chooses the direction and whether people appear (no singing). sing: the referenced performer sings the song (lip-synced, requires references.performer). story: a narrative from the lyrics or brief (requires storySource). mood: atmospheric visuals.

          Default: "auto".

        • Response 200 · spec.creative.peopleOptional

          "auto" | "none"

          none: no people or characters on screen (not with sing).

          Default: "auto".

        • Response 200 · spec.creative.storySourceOptional

          "lyrics" | "brief"

          Required when mode is story, not allowed otherwise. lyrics: tell the story of the lyrics. brief: tell the story in creative.brief (brief required).

          Default: "lyrics".

        • Response 200 · spec.creative.styleOptional

          string

          Visual treatment: look, palette, camera feel.

          Maximum characters: 1000.

      • Response 200 · spec.outputRequired

        object

        Delivered output.

        2 fields
      • Response 200 · spec.sourceRequired

        object

        Audio used for the video.

        4 fields
        • Response 200 · spec.source.typeRequired

          "audio_url" | "suno_clip"

          Audio source kind.

          Default: "audio_url".

        • Response 200 · spec.source.durationSecOptional

          number | null

          Effective audio length in seconds.

          May be null. Use a complete option below; the value must satisfy at least one option.

          2 options
        • Response 200 · spec.source.endSecOptional

          number

          Selected range end in seconds.

        • Response 200 · spec.source.startSecOptional

          number

          Selected range start in seconds.

      • Response 200 · spec.titleRequired

        string | null

        Video title.

        May be null. Use a complete option below; the value must satisfy at least one option.

        2 options
    • Response 200 · statusRequired

      "queued" | "generating" | "delivering" | "completed" | "failed" | "cancelled" | "deleted"

      Product status of the video.

      Default: "queued".

    • Response 200 · taskIdRequired

      string | null

      The generation Task; Task webhooks and /api/v1/tasks/{taskId} carry this id.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · updatedAtRequired

      string

      Last change (ISO 8601).

    • Response 200 · warningsRequired

      array<string>

      Advisory warning codes.

      1 field
    • Response 200 · candidatesOptional

      object | null

      Candidates of an edit version (null for other videos).

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · editOptional

      object | null

      The edit that made this version; null for a purchase.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · etaOptional

      object | null

      Estimate while queued or processing; null otherwise. An estimate, not a commitment; local delivery adds a few minutes.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
      • Response 200 · Option 1 — requires queuePosition, startAt, finishAt, remainingSecondsOption

        object

        Estimate while queued or processing; null otherwise. An estimate, not a commitment; local delivery adds a few minutes.

        4 fields
        • Response 200 · eta.finishAtRequired

          string | null

          Estimated generation finish (ISO 8601).

          May be null. Use a complete option below; the value must satisfy at least one option.

          2 options
        • Response 200 · eta.queuePositionRequired

          integer | null

          Place in the generation queue; 0 = running.

          May be null. Use a complete option below; the value must satisfy at least one option.

          2 options
        • Response 200 · eta.remainingSecondsRequired

          integer | null

          Estimated seconds remaining.

          May be null. Use a complete option below; the value must satisfy at least one option.

          2 options
        • Response 200 · eta.startAtRequired

          string | null

          Estimated or actual generation start (ISO 8601).

          May be null. Use a complete option below; the value must satisfy at least one option.

          2 options
      • Response 200 · Option 2 — nullOption

        null
    • Response 200 · parentIdOptional

      string | null

      The video this version was edited from; null for a purchase.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · qualityOptional

      object | null

      Quality grade of a completed video; null before completion.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
    • Response 200 · stageOptional

      string | null

      Generation stage while queued or processing: planning, generating, reviewing, composing or delivering. Null otherwise or when unknown.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
      • Response 200 · Option 1 — stringOption

        string

        Generation stage while queued or processing: planning, generating, reviewing, composing or delivering. Null otherwise or when unknown.

      • Response 200 · Option 2 — nullOption

        null
    • Response 200 · waitingOptional

      object | null

      Action needed before the version continues.

      May be null. Use a complete option below; the value must satisfy at least one option.

      2 options
      • Response 200 · Option 1 — requires reasonOption

        object

        Action needed before the version continues.

        1 field
        • Response 200 · waiting.reasonRequired

          string

          Why generation is paused while still processing: storyboard_approval, review (held for a quality review before release) or candidate_selection (adopt one candidate per changed shot with POST /videos/{id}/adopt). Null otherwise.

      • Response 200 · Option 2 — nullOption

        null
    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

    402 Payment Required

    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 402 · 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 402 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 402 · error.messageRequired

        string

        Human readable error message

      • Response 402 · 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 402 · 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

    409 Conflict

    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 409 · 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 409 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 409 · error.messageRequired

        string

        Human readable error message

      • Response 409 · 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 409 · successRequired

      false

      Always false for error responses

    413 Payload Too Large

    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 413 · 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 413 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 413 · error.messageRequired

        string

        Human readable error message

      • Response 413 · 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 413 · successRequired

      false

      Always false for error responses

    422 Unprocessable Entity

    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 422 · 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 422 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 422 · error.messageRequired

        string

        Human readable error message

      • Response 422 · 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 422 · 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

    502 Bad Gateway

    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 502 · 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 502 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 502 · error.messageRequired

        string

        Human readable error message

      • Response 502 · 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 502 · successRequired

      false

      Always false for error responses

    503 Service Unavailable

    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 503 · 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 503 · error.codeRequired

        string

        Application-specific error code (see error catalog)

      • Response 503 · error.messageRequired

        string

        Human readable error message

      • Response 503 · 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 503 · successRequired

      false

      Always false for error responses

    Workflow and next steps → · Recover an uncertain request

    Interactive API Explorer → · OpenAPI JSON