ComfyUI Node
Wan 2.7 - Reference to Video
Wan 2.7 - Reference to Video OpenAPI Specification
Wan 2.7 - Reference to Video
- video
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄promptImage 1 is eating, while video 1 and image 2 are singing beside it.►
◄negative_promptlow resolution, errors, worst quality, low quality, malformed, extra fingers, bad proportions►
◄reference_image[
"https://example.com/demo/ref-image-1.png",
"https://example.com/demo/ref-image-2.png"
]►
◄reference_video[
"https://example.com/demo/ref-video-1.mp4"
]►
◄first_framehttps://example.com/demo/first-frame.png►
◄reference_voicehttps://example.com/demo/reference-voice.mp3►
◄resolution1080p►
◄aspect_ratio16:9►
◄duration5►
◄prompt_extendtrue►
◄watermarkfalse►
◄seed0►
◄nsfw_checkerfalse►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Video/Wan
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Image 1 is eating, while video 1 and image 2 are singing beside it. | Text prompt. Required. Describes the desired elements and visual features in the generated video. Supports Chinese and English. Maximum length: 5000 characters. |
| negative_promptopt | STRING | low resolution, errors, worst quality, low quality, malformed, extra fingers, bad proportions | Optional negative prompt describing what should not appear in the video. Supports Chinese and English. Maximum length: 500 characters. |
| reference_imageopt | STRING | [ "https://example.com/demo/ref-image-1.png", "https://example.com/demo/ref-image-2.png" ] | Array of reference image URLs. At least one of `reference_image` or `reference_video` must be provided. The total number of images and videos cannot exceed 5. |
| reference_videoopt | STRING | [ "https://example.com/demo/ref-video-1.mp4" ] | Array of reference video URLs. At least one of `reference_image` or `reference_video` must be provided. The total number of images and videos cannot exceed 5. |
| first_frameopt | STRING | https://example.com/demo/first-frame.png | First frame image URL. At most one image can be provided. If supplied, `aspect_ratio` is ignored and the output uses a ratio close to the first frame image. |
| reference_voiceopt | STRING | https://example.com/demo/reference-voice.mp3 | Audio URL used to specify the voice timbre of the subject in the reference material. Rules: - If `reference_video` contains audio and `reference_voice` is not provided, the original video audio is used by default - If both `reference_video` and `reference_voice` are provided, `reference_voice` takes priority Audio limits: - Formats: `wav`, `mp3` - Duration: `1` to `10` seconds - File size: up to `15MB` |
| resolutionopt | COMBO | 1080p | Output video resolution tier. Available values: `720p`, `1080p`. Default value: `1080p`. |
| aspect_ratioopt | COMBO | 16:9 | Output video aspect ratio. Effective logic: - If `first_frame` is not provided: the video is generated using the specified `aspect_ratio` - If `first_frame` is provided: `aspect_ratio` is ignored and the output uses a ratio close to the first frame image |
| durationopt | INT | 52–10 | Output video duration in seconds. Valid range is an integer from `2` to `10`. Default value: `5`. |
| 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 | — |