⌘K

Wan 2.7 - Video Edit

wan27_videoedit

Wan 2.7 Video Edit edits an input video with text instructions, and can optionally use reference images for local replacement or style transfer.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request.

Value: wan27_videoedit

input array required

The Vtrix generation API requires input to be an array. Model parameters must be placed under input[0].params. The cURL example is the request format for Vtrix customers, not the raw Alibaba DashScope request format.

input[0].params object required

Provider request body forwarded to Alibaba DashScope. Put request fields under input and generation options under parameters.

input object required

DashScope video request input.

input.prompt string

Text prompt describing the expected video content or edit instruction.

input.negative_prompt string

Negative prompt describing what should not appear in the result.

input.media array

Input media array for image-to-video, reference-to-video, or video edit requests.

input.audio_url string

Audio file URL for text-to-video requests. HTTP/HTTPS URLs are supported.

parameters object

DashScope generation options.

parameters.duration integer

Output video duration in seconds.

parameters.resolution string

Output video resolution, for example 720P.

parameters.ratio string

Output video aspect ratio, for example 16:9.

parameters.prompt_extend boolean

Whether to enable prompt rewriting.

parameters.watermark boolean

Whether to add a watermark.

parameters.audio_setting string

Audio handling mode for video edit requests. Valid values include auto and origin.

parameters.seed integer

Random seed.

Notes

  • The cURL example on this page is the Vtrix customer request format, not the raw Alibaba DashScope request format.
  • Put model parameters under input[0].params.
  • This model uses an async task flow. Create a task first, then poll the result by id.
  • This model maps to upstream model wan2.7-videoedit.
  • The task ID and result URL are valid for 24 hours. Download the result promptly.