ComfyUI Node
Wan 2.7 - Video Edit
Wan 2.7 - Video Edit OpenAPI Specification
Wan 2.7 - Video Edit
- video_url
- video
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄promptChange the character's outfit and add the hat shown in the reference image.►
◄negative_promptlow resolution, errors, worst quality, low quality, malformed, extra fingers, bad proportions►
◄reference_imagehttps://example.com/demo/reference.png►
◄resolution1080p►
◄aspect_ratio16:9►
◄duration0►
◄audio_settingauto►
◄prompt_extendtrue►
◄watermarkfalse►
◄seed0►
◄nsfw_checkerfalse►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Video/Wan
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Change the character's outfit and add the hat shown in the reference image. | Optional text prompt describing the expected elements and visual features in the generated video. Supports Chinese and English. Maximum length: 5000 characters. |
| video_url | VIDEO | — | |
| negative_promptopt | STRING | low resolution, errors, worst quality, low quality, malformed, extra fingers, bad proportions | Optional negative prompt describing content that should not appear in the video. Supports Chinese and English. Maximum length: 500 characters. |
| reference_imageopt | STRING | https://example.com/demo/reference.png | Optional reference image URL for character, clothing, or style guidance. - Formats: `JPEG`, `JPG`, `PNG` (no alpha channel), `BMP`, `WEBP` - Resolution: width and height range `[240,8000]` pixels - Aspect ratio: `1:8` to `8:1` - Supports public `http/https` URLs or temporary `oss` URLs |
| resolutionopt | COMBO | 1080p | Output video resolution tier. `1080p` costs more than `720p`. Default value: `1080p`. - `720p`: 720p - `1080p`: 1080p |
| aspect_ratioopt | COMBO | 16:9 | Output video aspect ratio. - If omitted: the output uses an aspect ratio close to the input video - If provided: the output uses the specified aspect ratio - Available values: `16:9`, `9:16`, `1:1`, `4:3`, `3:4` |
| durationopt | INT | 00–10 | Output video duration in seconds. - Default `0` means using the full input video duration without truncation - If a value is provided, the output is clipped from second `0` to the specified length - Valid values are `0` or any integer in `[2,10]` |
| audio_settingopt | COMBO | auto | Video audio setting. - `auto`: default, the model decides whether to regenerate audio based on the `prompt` - `origin`: force keeping the original input video audio |
| prompt_extendopt | BOOLEAN | true | Whether to enable prompt rewriting. When enabled, the model expands the input prompt. This usually works better for short prompts but increases processing time. |
| watermarkopt | BOOLEAN | false | Whether to add a watermark. The watermark is placed in the lower-right corner of the video with the fixed text "AI generated". |
| seedopt | INT | 00–2147483647 | Random seed. Range: `0-2147483647`. If omitted, the system generates one automatically. |
| nsfw_checkeropt | BOOLEAN | false | Defaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself. Note: There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements. |
| timeout_secondsopt | INT | 120030–7200 | — |
| callback_urlopt | STRING | Optional KIE callback URL. Leave empty for normal ComfyUI use. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |
| url | STRING | — |
| all_urls_json | STRING | — |
| task_id | STRING | — |
| raw_json | STRING | — |
| credits_consumed | FLOAT | — |
| credits_left | FLOAT | — |