Wan2.7 Video Edit
- Wan 2.7 video editing model, supporting style transfer and reference-image editing on existing videos
- Supports automatic or original audio preservation strategies
- Async processing mode, use the returned task ID to query task status
- Generated video links are valid for 24 hours, please save them promptly
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
wan-2.7-video-edit: Video Edit
"wan-2.7-video-edit"
Public URL of the video to be edited
Notes:
- Supports MP4 / MOV
- Input video duration must be within
2-10seconds - Maximum file size
100MB
"https://example.com/input.mp4"
Edit instruction or style transfer description
"Turn the scene into a rainy cyberpunk street at night"
Optional reference image URL for reference-image-driven video editing
"https://example.com/style.jpg"
Audio processing strategy
Options:
auto— Model automatically decides whether to regenerate audioorigin— Preserve the original audio from the input video as much as possible
Do not pass this parameter unless necessary.
auto, origin "auto"
Output video duration in seconds
Notes:
0means follow the input video duration- When set to
2-10, the corresponding duration is taken from the start of the input video
0 <= x <= 100
Output video resolution
Options: 720p, 1080p
720p, 1080p "720p"
Output video aspect ratio
Notes:
- Uses the input video aspect ratio when not specified
- Options:
16:9,9:16,1:1,4:3,3:4
16:9, 9:16, 1:1, 4:3, 3:4 "16:9"
Random seed for reproducibility
0 <= x <= 2147483647123
Whether to enable safety checker. Uses model default if not specified
Do not pass this parameter unless necessary.
true
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Asynchronous task information
Task output type
video "video"