Skip to content

    API documentation

    Render MV scene

    POST/api/v1/mv/{mvId}/scenes/{sceneIndex}/render

    Authentication · x-api-key

    Render one MV scene. Studio creates a candidate scene video from the current scene image and requires MVView.version as expectedVersion. Fast edits the currently selected generated scene and accepts prompt, optional referenceImages replacement, expectedVersion, config, and prompt compatibility aliases; a Fast edit needs at least one of prompt, referenceImages or (Omn shot-engine MVs) shotType. Omitting referenceImages preserves the source scene images. Omn V1 shot-engine MVs also accept shotType to re-render the scene as another shot type the MV's plan supports (never bridge); sent alone it re-renders the scene with its current prompt and reference images. The edit stays on the MV's pinned routes and is priced per shot second at the MV's render-tier price (no economy discount). Fast rejects durationSec/resolution/render controls; scene-edit billing uses saved Fast scene metadata.

    Scope: task:create

    Billing and effects: Paid operation: credits are authorized when the Task is accepted. Review the quote or preflight and save the receipt.

    Recovery: Save one Idempotency-Key with the exact request body before submission. Reuse both after an uncertain response.

    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

    mvIdpath · Required
    string

    MV identifier returned by create or read operations.

    sceneIndexpath · Required
    string

    Zero-based scene index from the MV storyboard.

    Request headers

    Idempotency-Keyheader · Optional
    string

    Unique key for one logical write. Retrying the same body with the same key replays the original result; reusing it with a different body returns 409.

    Maximum characters: 255.

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

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

      Requested output aspect ratio.

    • Request · configOptional

      object

      Standard task configuration: priority, tags, metadata, and webhookUrl.

      4 fields
      • Request · config.metadataOptional

        object

        Free-form caller metadata, echoed back on read. Stored as opaque JSON; the server never mutates it.

        1 field
      • Request · config.priorityOptional

        number

        Task priority 1-10 (higher = sooner). Default 5.

        Minimum: 1. Maximum: 10. Default: 5.

      • Request · config.tagsOptional

        array<string>

        Free-form labels for filtering. Up to 20, 100 chars each.

        Maximum items: 20.

        1 field
        • Request · config.tags[]Each item

          string

          Maximum characters: 100.

      • Request · config.webhookUrlOptional

        string

        URL to receive task.* lifecycle events via the central webhook service.

        Format: uri.

    • Request · draftOptional

      boolean

      Whether to use the supported draft rendering policy.

    • Request · durationSecOptional

      number

      Studio-only render control. Fast scene edit rejects client-supplied durationSec; Fast scene-edit billing uses saved scene metadata.

      Minimum: 1. Maximum: 16.

    • Request · expectedVersionOptional

      number

      Optimistic-concurrency guard. Fast may omit it for backward compatibility; if omitted, OmnAPI uses the latest MV version available when the request is accepted. Studio requires it and rejects stale values with 409.

      Minimum: 0.

    • Request · fpsOptional

      24 | 48

      Requested numeric output frame rate.

    • Request · maxCreditsOptional

      number

      Maximum OmnAPI credits authorized for this paid request.

      Minimum: 0.

    • Request · promptOptional

      string

      Cross-mode prompt. Fast scene edit uses this as the official instruction field; Studio treats it as a one-shot video prompt override.

      Maximum characters: 3000.

    • Request · quoteIdOptional

      string

      Short-lived quote identifier for the matching paid operation.

      Minimum characters: 1. Maximum characters: 100.

    • Request · referenceImagesOptional

      array<string>

      Public reference image URLs.

      Minimum items: 1. Maximum items: 7.

      1 field
    • Request · resolutionOptional

      "540p" | "720p" | "1080p"

      Studio-only render control. Fast scene edit rejects client-supplied resolution; Fast scene-edit billing uses saved scene metadata.

    • Request · shotTypeOptional

      "narrative" | "lipsync" | "performance" | "dance"

      Fast Omn V1 shot-engine MVs only: render the edited scene as this shot type. May be sent alone (without prompt or referenceImages) to re-render the scene with its current prompt and reference images, at the same price as any edit. It must be a shot type the MV's pinned plan serves with the scene's reference images, within the scene's length; bridge (first/last-frame continuity) is not an edit shot type, because a bridge shot continues the previous shot of its sequence, which an edit does not re-render. Unsupported values and other MVs are rejected with 400 VALIDATION_ERROR (details.field, details.availableShotTypes) before any charge.

    • Request · videoModelOptional

      string

      Public scene-video model code.

      Maximum characters: 100.

    • Request · videoPromptOptional

      string

      Alias of videoPromptOverride for Studio. Fast accepts this only as a compatibility alias for prompt.

      Maximum characters: 1500.

    • Request · videoPromptOverrideOptional

      string

      Studio one-shot video prompt override. Fast accepts this only as a compatibility alias for prompt.

      Maximum characters: 1500.

    • Request · videoProviderOptional

      "p-video" | "hailuo" | "minimax-h3" | "vidu"

      Public scene-video option code.

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

      number

      Credits required for this operation. A quote is an estimate; an accepted Task records its authorized charge.

      Minimum: 0.

    • Response 200 · pricingRequired

      object

      Price recorded for this operation. Distinguish the accepted charge from final net settlement and any refunds.

      Only the listed fields are accepted in this object.

      9 fields
    • Response 200 · productRequired

      object

      Product context for this Task. Use the resource identifier and product read to follow delivery separately from Task execution.

      Only the listed fields are accepted in this object.

      7 fields
      • Response 200 · product.featureCodeRequired

        string

        Canonical Suno feature code selected for this operation, such as song generation or derivation.

      • Response 200 · product.modelCodeRequired

        string

        Canonical Suno model code selected for the Task, separate from the provider model display name.

      • Response 200 · product.providerCodeRequired

        string

        Canonical provider code for this Task's product context, normally suno.

      • Response 200 · product.resourceIdRequired

        string | null

        Product resource id when created synchronously

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

        2 options
      • Response 200 · product.typeRequired

        string

        Product resource type associated with the accepted Suno operation; used to choose the matching resource read.

      • Response 200 · product.autoFinalizeOptional

        boolean

        Whether the product should finalize automatically

      • Response 200 · product.deliveryStatusOptional

        string | null

        Product-level delivery status when applicable

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

        2 options
    • Response 200 · requestIdRequired

      string | null

      Request id echoed from X-Request-Id or generated by API

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

      2 options
    • Response 200 · taskIdRequired

      string

      Operation Task identifier. Save it before polling; a receipt does not mean the operation has completed.

    • Response 200 · warningCodesRequired

      array<string>

      Nonfatal findings or delivery fallbacks. Inspect each warning; a warning alone does not imply failure or a refund.

      1 field
      • Response 200 · 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 · chargedOptional

      boolean

      Whether the accepted scene-render Task required a positive credit debit; not confirmation of final settlement.

    • Response 200 · estimatedCompletionTimeOptional

      string | null

      Estimated completion time

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

      2 options
      • Response 200 · Option 1 — stringOption

        string

        Estimated completion time. JSON uses an ISO 8601 date-time string with timezone.

        Format: date-time.

      • Response 200 · Option 2 — nullOption

        null
    • Response 200 · renderingIdOptional

      string

      Identifier of the scene-render attempt/result created or reused by this operation.

    • Response 200 · sceneIndexOptional

      number

      Zero-based index of the scene changed or rendered by this operation.

    • Response 200 · versionOptional

      number

      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

    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

    Response for status 403 Forbidden: API-key scope/IP restrictions or billing hold. A positive balance does not bypass payment review. Check GET /api/v1/account/credits billingStatus before further paid requests.

    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

    408 Request Timeout

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

        string

        Application-specific error code (see error catalog)

      • Response 408 · error.messageRequired

        string

        Human readable error message

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

    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