
Wan 2.7 Video-edit API by Alibaba
Edits videos using text instructions, reference images, and style transfer with multi-modal input support.
Wan 2.7 Video-edit
Wan 2.7 Video-edit edits an input video from text instructions and optional reference media. Use it for style transfer, subject-preserving edits, commercial polish, and short creative transformations.
Highlights
- Video editing with text control: Provide a source video and describe the target look or action.
- Optional reference media: Add a single reference image, multiple reference images, or driving audio when the edit needs extra visual or motion guidance.
- Native output tiers: Choose
720Por1080Pfor Wan 2.7 native video-edit output. - Common aspect ratios: Supports 16:9, 9:16, 1:1, 4:3, and 3:4.
Parameters
| Parameter | Required | Description |
|---|---|---|
model | Yes | alibaba/wan-2.7/video-edit |
prompt | Yes | Text instruction describing the edit. |
negative_prompt | No | Text describing what to avoid. |
video | Yes | Input video URL to edit. |
image | No | Single reference image URL. The alias first_frame is also accepted. |
images | No | Reference image URLs for style, subject, or object guidance. |
audio | No | Driving audio URL. The aliases audio_url and driving_audio are also accepted. |
resolution | No | 720P or 1080P. Defaults to native 1080P. |
ratio | No | 16:9, 9:16, 1:1, 4:3, or 3:4. Defaults to 16:9. |
duration | No | Output duration in seconds. Defaults to 5. |
prompt_extend | No | Enable upstream prompt expansion. Defaults to true. |
watermark | No | Whether to add the upstream provider watermark when supported. |
seed | No | Random seed. -1 means random. |
Resolution Tiers
| Request value | Path | Price multiplier |
|---|---|---|
720P | Native Wan 2.7 | 1.0x |
1080P | Native Wan 2.7 | 1.5x |
Omitted resolution uses native 1080P.
How To Use
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Authorization: Bearer $AIP_API_KEY" \ -H "Content-Type: application/json" \ --data-raw '{ "model": "alibaba/wan-2.7/video-edit", "prompt": "Enhance the clip with high-detail texture, stable edges, and a polished commercial look.", "video": "https://static.atlascloud.ai/media/videos/af3ce4416487e61f8b299c5dc42642e3.mp4", "resolution": "1080P", "ratio": "16:9", "duration": 5, "prompt_extend": true, "seed": -1 }'
Notes
- Generation is asynchronous. Poll
/api/v1/model/prediction/{request_id}for the final video URL. - Native
1080Puses the upstream Wan 2.7 1080P path.


















