Video Edit
WAN 2.7 - Edit video
Edit an existing video using WAN 2.7. Transform video content with text instructions, apply visual references, or transfer artistic styles.
Three editing modes:
- Instruction-based editing: Provide
promptwith editing instructions (e.g., “change the sky to sunset”) - Reference-image editing: Provide
promptandimage_urlsto apply visual references to the video - Style transfer: Provide
promptandimage_urlswith style reference images to transfer artistic styles
Key features:
- 720P and 1080P resolution support
- Up to 3 reference images for editing or style transfer
- Set
durationto0to preserve the full input video duration - Configurable audio handling: auto-generate or preserve original
POST
WAN 2.7 - Edit video
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
application/json
Edit an existing video using WAN 2.7. Supports three modes:
- Instruction-based editing: provide
promptwith editing instructions (e.g., "change the sky to sunset") - Reference-image editing: provide
promptandimage_urlsto apply visual references to the video - Style transfer: provide
promptandimage_urlswith style reference images to transfer artistic styles
Output video aspect ratio for editing. If not specified, the aspect ratio of the input video is preserved.
16:9: Landscape (widescreen)9:16: Portrait (vertical, mobile-optimized)1:1: Square4:3: Standard landscape3:4: Standard portrait
Available options:
16:9, 9:16, 1:1, 4:3, 3:4