Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This node generates a video featuring a person or object based on provided reference materials. It uses the Wan 2.7 model to create videos from a text prompt, supporting single-character performances and multi-character interactions. You must provide at least one reference video or image for the generation to work.

Inputs

ParameterData TypeRequiredRangeDescription
modelCOMBOYes"wan2.7-r2v"The specific model to use for video generation.
model.promptSTRINGYes-Prompt describing the video. Use identifiers such as ‘character1’ and ‘character2’ to refer to the reference characters.
model.negative_promptSTRINGNo-Negative prompt describing what to avoid in the generated video (default: empty).
model.resolutionCOMBOYes"720P"
"1080P"
The resolution of the output video.
model.ratioCOMBOYes"16:9"
"9:16"
"1:1"
"4:3"
"3:4"
The aspect ratio of the output video.
model.durationINTYes2 to 10The length of the generated video in seconds (default: 5).
model.reference_videosVIDEONo-A list of reference videos. You can add up to 3 videos.
model.reference_imagesIMAGENo-A list of reference images. You can add up to 5 images.
seedINTNo0 to 2147483647Seed to use for generation, which helps control the randomness of the output (default: 0).
watermarkBOOLEANNo-Whether to add an AI-generated watermark to the result (default: False). This is an advanced setting.
Important Constraints:
  • You must provide at least one reference video or reference image in the model.reference_videos or model.reference_images inputs.
  • The total combined number of reference videos and images cannot exceed 5.

Outputs

Output NameData TypeDescription
outputVIDEOThe generated video file.

Source fingerprint (SHA-256): 83550e1193a13c3686506a279c0a8469be93be564dd27867e31b8b2724e7025d