Skip to content

    API documentation

    Save creative draft

    PUT/api/v1/mv/drafts/{id}

    Authentication · x-api-key

    Save creative choices without purchasing generation. Updates require expectedVersion to match the stored revision; stale updates return 409.

    Scope: task:create

    Billing and effects: Free draft save/update; preview and full generation are separate paid operations.

    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

    Path parameters

    idpath · Required
    string

    Resource identifier returned by the corresponding create operation.

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

      object

      Saved creative choices and source media. Omitted visual style and performance use automatic song-led planning.

      Only the listed fields are accepted in this object.

      12 fields
      • Request · brief.sourceRequired

        object

        Choose one source: a Suno clip ID or publicly reachable audio URL. Use range to select a segment; supplied duration is only a hint and media preflight validates the actual audio.

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

        2 options
        • Request · Option 1 — type = "suno"Option

          object

          Only the listed fields are accepted in this object.

          2 fields
          • Request · brief.source.clipIdRequired

            string

            Suno clip identifier. Use the returned clip ID, not the Task or Generation ID.

            Minimum characters: 1.

          • Request · brief.source.typeRequired

            "suno"

            Audio source variant saved in the creative brief: Suno clip or external audio URL.

        • Request · Option 2 — type = "audio"Option

          object

          Only the listed fields are accepted in this object.

          6 fields
          • Request · brief.source.audioUrlRequired

            string

            External source-audio URL saved in the draft; validated when preflight runs.

            Format: uri.

          • Request · brief.source.typeRequired

            "audio"

            Audio source variant saved in the creative brief: Suno clip or external audio URL.

          • Request · brief.source.durationSecOptional

            number

            Duration in seconds for the containing media, selection or operation. Use validated duration when authorizing a purchase.

            Exclusive lower bound: 0.

          • Request · brief.source.lyricsOptional

            string

            Optional lyric text supplied for the draft's source audio.

            Maximum characters: 5000.

          • Request · brief.source.musicStyleOptional

            string

            Optional song genre, mood or musical style used to guide automatic visual planning.

            Maximum characters: 500.

          • Request · brief.source.titleOptional

            string

            Optional title supplied for the draft's source audio.

            Maximum characters: 200.

      • Request · brief.aspectRatioOptional

        "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "21:9"

        Requested output aspect ratio.

      • Request · brief.characterImageOptional

        string

        Character/singer portrait URL saved in the draft; its presence is checked for required singer modes.

        Format: uri.

      • Request · brief.descriptionOptional

        string

        Creative brief describing the desired MV story, imagery or mood.

        Maximum characters: 2000.

      • Request · brief.engineVersionOptional

        "omn-v1" | "vidu-v2"

        Generation option for this draft. Drafts buy Omn (omn-v1, the default); vidu-v2 (OneClick V2 Turbo) is retired and rejected at preflight/purchase.

        Default: "omn-v1".

      • Request · brief.performanceModeOptional

        "auto" | "story" | "perform" | "dance" | "sing" | "sing_perform" | "sing_turbo" | "sing_perform_turbo" | "perform_turbo" | "sing_dance" | "sing_play"

        Omn: auto and story use narrative rendering; sing / sing_perform sing with one performer. The *_turbo modes (OneClick V2 Turbo) are retired and rejected at preflight/purchase; dance, perform, sing_dance and sing_play are not available on the execution center.

        Default: "auto".

      • Request · brief.referenceImagesOptional

        array<string>

        Public reference image URLs.

        Maximum items: 6.

        1 field
      • Request · brief.renderTierOptional

        "draft" | "standard" | "hd" | "ultra"

        Omn only; resolution determines the purchased tier: draft 480p, standard 768p, hd 1080p, ultra 1440p. 1080p/1440p are AI-upscaled from 768p. quality=high is unavailable; use standard quality. Historical purchased plans retain their original tiers.

      • Request · brief.resolutionOptional

        "480p" | "540p" | "720p" | "768p" | "1080p" | "1440p"

        Vidu Turbo supports 720p or 1080p (default 720p). Omn V1 defaults to the selected tier's resolution or 720p and must match renderTier when supplied.

      • Request · brief.scheduleOptional

        "standard" | "economy"

        Omn V1 only. economy renders shots only in the off-peak window at the same video price as standard scheduling, with a longer delivery window: shots start between 00:00 and 07:40 Beijing time (no new shot in the window's last 20 minutes, so none runs into peak pricing). MVView.generation.scheduleWindow reports the window the waiting shots are bought in; its offPeakEndsAt is the 08:00 window end.

      • Request · brief.styleIdOptional

        "auto" | "cinematic" | "anime" | "ink" | "3d" | "vaporwave" | "brand"

        Omit or use auto to let the planner choose visual art direction.

        Default: "auto".

      • Request · brief.subtitlesOptional

        boolean

        Whether the draft requests subtitles in the generated MV.

    • Request · expectedVersionRequired

      string | integer

      Optimistic-concurrency guard using the current resource version.

      Minimum: 1. Use a complete option below; the value must satisfy at least one option.

      2 options
      • Request · Option 1 — stringOption

        string

        Numeric string accepted by coercion; the converted value must satisfy the numeric constraints (minimum 1). Prefer a JSON number.

        Format: integer.

      • Request · Option 2 — integerOption

        integer

        Minimum: 1.

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

      object

      Saved creative choices and source media. Omitted visual style and performance use automatic song-led planning.

      Only the listed fields are accepted in this object.

      12 fields
      • Response 200 · brief.sourceRequired

        object

        Choose one source: a Suno clip ID or publicly reachable audio URL. Use range to select a segment; supplied duration is only a hint and media preflight validates the actual audio.

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

        2 options
        • Response 200 · Option 1 — type = "suno"Option

          object

          Only the listed fields are accepted in this object.

          2 fields
          • Response 200 · brief.source.clipIdRequired

            string

            Suno clip identifier. Use the returned clip ID, not the Task or Generation ID.

            Minimum characters: 1.

          • Response 200 · brief.source.typeRequired

            "suno"

            Audio source variant saved in the creative brief: Suno clip or external audio URL.

        • Response 200 · Option 2 — type = "audio"Option

          object

          Only the listed fields are accepted in this object.

          6 fields
          • Response 200 · brief.source.audioUrlRequired

            string

            External source-audio URL saved in the draft; validated when preflight runs.

            Format: uri.

          • Response 200 · brief.source.typeRequired

            "audio"

            Audio source variant saved in the creative brief: Suno clip or external audio URL.

          • Response 200 · brief.source.durationSecOptional

            number

            Duration in seconds for the containing media, selection or operation. Use validated duration when authorizing a purchase.

            Exclusive lower bound: 0.

          • Response 200 · brief.source.lyricsOptional

            string

            Optional lyric text supplied for the draft's source audio.

            Maximum characters: 5000.

          • Response 200 · brief.source.musicStyleOptional

            string

            Optional song genre, mood or musical style used to guide automatic visual planning.

            Maximum characters: 500.

          • Response 200 · brief.source.titleOptional

            string

            Optional title supplied for the draft's source audio.

            Maximum characters: 200.

      • Response 200 · brief.aspectRatioOptional

        "16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "3:2" | "2:3" | "21:9"

        Requested MV aspect ratio saved in the draft.

      • Response 200 · brief.characterImageOptional

        string

        Character/singer portrait URL saved in the draft; its presence is checked for required singer modes.

        Format: uri.

      • Response 200 · brief.descriptionOptional

        string

        Creative brief describing the desired MV story, imagery or mood.

        Maximum characters: 2000.

      • Response 200 · brief.engineVersionOptional

        "omn-v1" | "vidu-v2"

        Generation option for this draft. Drafts buy Omn (omn-v1, the default); vidu-v2 (OneClick V2 Turbo) is retired and rejected at preflight/purchase.

        Default: "omn-v1".

      • Response 200 · brief.performanceModeOptional

        "auto" | "story" | "perform" | "dance" | "sing" | "sing_perform" | "sing_turbo" | "sing_perform_turbo" | "perform_turbo" | "sing_dance" | "sing_play"

        Omn: auto and story use narrative rendering; sing / sing_perform sing with one performer. The *_turbo modes (OneClick V2 Turbo) are retired and rejected at preflight/purchase; dance, perform, sing_dance and sing_play are not available on the execution center.

        Default: "auto".

      • Response 200 · brief.referenceImagesOptional

        array<string>

        Reference image URLs saved with the creative brief for later preflight/generation.

        Maximum items: 6.

        1 field
      • Response 200 · brief.renderTierOptional

        "draft" | "standard" | "hd" | "ultra"

        Omn only; resolution determines the purchased tier: draft 480p, standard 768p, hd 1080p, ultra 1440p. 1080p/1440p are AI-upscaled from 768p. quality=high is unavailable; use standard quality. Historical purchased plans retain their original tiers.

      • Response 200 · brief.resolutionOptional

        "480p" | "540p" | "720p" | "768p" | "1080p" | "1440p"

        Vidu Turbo supports 720p or 1080p (default 720p). Omn V1 defaults to the selected tier's resolution or 720p and must match renderTier when supplied.

      • Response 200 · brief.scheduleOptional

        "standard" | "economy"

        Omn V1 only. economy renders shots only in the off-peak window at the same video price as standard scheduling, with a longer delivery window: shots start between 00:00 and 07:40 Beijing time (no new shot in the window's last 20 minutes, so none runs into peak pricing). MVView.generation.scheduleWindow reports the window the waiting shots are bought in; its offPeakEndsAt is the 08:00 window end.

      • Response 200 · brief.styleIdOptional

        "auto" | "cinematic" | "anime" | "ink" | "3d" | "vaporwave" | "brand"

        Omit or use auto to let the planner choose visual art direction.

        Default: "auto".

      • Response 200 · brief.subtitlesOptional

        boolean

        Whether the draft requests subtitles in the generated MV.

    • Response 200 · expiresAtRequired

      string

      Expiry of this particular resource or receipt, in the format shown below. Do not reuse an expired purchase receipt.

    • Response 200 · idRequired

      string

      Identifier of this resource. Keep identifiers for Tasks, product resources and child assets separately; use the ID required by the destination endpoint.

    • Response 200 · planRequired

      object

      Derived draft readiness summary. ready_for_preflight means validation can proceed, not that a generation has been purchased.

      5 fields
      • Response 200 · plan.performanceModeRequired

        "auto" | "story" | "perform" | "dance" | "sing" | "sing_perform" | "sing_turbo" | "sing_perform_turbo" | "perform_turbo" | "sing_dance" | "sing_play"

        Saved performance mode, or auto when none was supplied in the draft.

      • Response 200 · plan.requiresPortraitRequired

        boolean

        True when a non-Omn singer mode lacks its required character portrait and needs user input before preflight.

      • Response 200 · plan.statusRequired

        "action_required" | "ready_for_preflight"

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

      • Response 200 · plan.styleRequired

        string

        Display name of the selected style pack, falling back to auto; empty when no known pack matches.

      • Response 200 · plan.warningCodesOptional

        array<string>

        Advisory adjustments applied when this draft is compiled, for example MV_SUBTITLE_DISABLED_NO_TIMELINE for an Omn V1 audio draft without subtitle timing.

        1 field
        • Response 200 · plan.warningCodes[]Each item

          string

          MV advisory warning codes. MV_CREATIVE_PLANNING_FROM_UNVERIFIED_TRANSCRIPT means recognized text was used for creative planning; MV_CREATIVE_PLANNING_WITHOUT_LYRICS means no usable lyric semantics were used. These two codes are mutually exclusive in the final plan. Customer lyrics with machine-estimated timing use MV_AUDIO_SUBTITLE_TIMING_UNVERIFIED instead. Non-fatal: the request still succeeds; these flag degraded, adjusted, or automatically recovered inputs and are projected into public Task warningCodes. Omn review codes (MV_NATIVE_CREATIVE_*, MV_NATIVE_SHOT_INTERNAL_CUT, MV_NATIVE_FRAME_BORDERS) describe the delivered video; their observations and affected scenes are in quality of GET /api/v1/tasks/{taskId}/workflow. MV_VOCAL_GENDER_MISMATCH means the requested singer gender differs from the song's lead vocal according to its style tags (or a title that is a style description); it is also returned by preflight. The requested cast is kept, but on Omn V1 that singer is not lip-synced (lipSync is withheld, same charge) and is not shown mouthing the vocal. MV_CREATIVE_BRIEF_SONG_WORLD_CONFLICT means an explicit setting in the request clashes with the period or culture the song's own lyrics, title or style tags imply; the explicit request elements are kept and the rest of the world is reconciled with the song. MV_NATIVE_PREPARATION_DEGRADED means Omn planning or preparation checks could not all be satisfied automatically, so the MV was produced with the best available material (for example a reference image that failed review used only for style, an automatically repaired plan, shortened optional prompt text or a mixed-audio lip-sync fallback); the result is flagged for human review. MV_CHARACTER_REFERENCE_DEGRADED means the supplied character image could not be used as an identity lock (face not recognizable, back view, mask, stylized, or a different number of people); it was used as a style reference and the platform created the character identity. MV_NATIVE_SHOT_FILLED (Omn) means one or more shots could not be generated and their windows were patched with a slow push-in on a still of the planned frame (at most 30% of the MV's duration); the credits for those seconds are refunded at settlement (refund.refundReason shots_filled) and quality asks for human review. MV_OMN_RESOLUTION_MAPPED (Omn) means a OneClick resolution was delivered on the nearest native Omn canvas without upscaling: 540p as 480p, 720p as 768p; the charge uses the delivered canvas.

    • Response 200 · versionRequired

      integer

      Current resource revision. Use it as expectedVersion when updating that resource to detect concurrent edits.

    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

    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

    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