Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
model | The model to use for video editing. | COMBO | Yes | "wan2.7-videoedit" |
model.prompt | Editing instructions or style transfer requirements. (default: empty string) | STRING | Yes | - |
model.resolution | The resolution for the output video. | COMBO | Yes | "720P""1080P" |
model.ratio | The aspect ratio for the output video. If not changed, it approximates the input video’s ratio. | COMBO | Yes | "16:9""9:16""1:1""4:3""3:4" |
model.duration | The output duration in seconds. ‘auto’ matches the input video duration. A specific value truncates from the start of the video. (default: “auto”) | COMBO | Yes | "auto""2""3""4""5""6""7""8""9""10" |
model.reference_images | A list of up to 4 reference images to guide the edit. | IMAGE | No | - |
video | The video to edit. | VIDEO | Yes | - |
seed | The seed to use for generation. (default: 0) | INT | No | 0 to 2147483647 |
audio_setting | ’auto’: model decides whether to regenerate audio based on the prompt. ‘origin’: preserve the original audio from the input video. (default: “auto”) | COMBO | No | "auto""origin" |
watermark | Whether to add an AI-generated watermark to the result. (default: False) | BOOLEAN | No | - |
- The
model.promptmust be at least 1 character long. - The input
videomust be between 2 and 10 seconds in duration. - The
model.reference_imagesinput can accept a maximum of 4 images.
Outputs
| Output Name | Description | Data Type |
|---|---|---|
output | The edited video generated by the model. | VIDEO |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
1ea6cacbf8f5b6666e164c4806d931d21ddd44568e5c9f6d44f389288f5ce84f