Alibaba Wan/wan-v2-7-edit-video/Released Apr 2026

WAN 2.7 - Edit Video

Prompt-based video editing

Commercial use
Video

About WAN 2.7 - Edit Video

WAN 2.7 edit-video transforms existing videos using instruction-based editing, reference image-based editing, and video style transfer. It supports up to 1080p output, input videos of 2-10 seconds, multiple aspect ratios, and configurable audio handling (auto-regenerate or preserve original).

Ready to build with WAN 2.7 - Edit Video?

Try WAN 2.7 - Edit Video in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.

curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "wan-v2-7-edit-video",
  "input_video": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/videos/waterfall.mp4",
  "prompt": "Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture.",
  "resolution": "1080p",
  "duration": 0,
  "audio_setting": "auto"
}'

Request parameters

Every field WAN 2.7 - Edit Video accepts in the request body. See the API reference for response formats.

POSThttps://hub.oxen.ai/api/ai/videos/generate
FieldTypeRequiredDefaultDescription
input_videostring
uri
Yes
—
URL of the input video to edit. Format: MP4, MOV. Duration: 2-10s. Max 100 MB.
promptstringYes
—
Editing instruction or style transfer description.
reference_image_urlstring
uri
No
—
Reference image URL for reference-based editing.
resolutionstringNo"1080p"
720p1080p
durationintegerNo0
Range: 2 – 10
audio_settingstringNo"auto"Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video.
autoorigin
seedintegerNo
—
Random seed for reproducibility (0-2147483647).