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 GitHubThe Wan 2.7 Image to Video node generates a video starting from a first-frame image. You can optionally provide a last-frame image to create a transition between the two, or provide an audio file to guide the video’s motion and timing. The node uses an AI model to animate the scene based on your text description.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
model | COMBO | Yes | "wan2.7-i2v" | The AI model to use for video generation. |
model.prompt | STRING | Yes | - | A text description of the elements and visual features you want in the video. Supports English and Chinese. |
model.negative_prompt | STRING | Yes | - | A text description of elements or features you want the model to avoid. |
model.resolution | COMBO | Yes | "720P""1080P" | The resolution of the output video. |
model.duration | INT | Yes | 2 to 15 | The length of the generated video in seconds (default: 5). |
first_frame | IMAGE | Yes | - | The image to use as the first frame of the video. The output video’s aspect ratio is derived from this image. |
last_frame | IMAGE | No | - | An optional image to use as the last frame. When provided, the model generates a video that transitions from the first frame to this last frame. |
audio | AUDIO | No | - | An optional audio file to drive the video generation, useful for lip-syncing or beat-matched motion. Duration must be between 2 and 30 seconds. If not provided, the model will generate matching background music or sound effects. |
seed | INT | Yes | 0 to 2147483647 | A seed value to control the randomness of the generation (default: 0). |
prompt_extend | BOOLEAN | Yes | - | When enabled, the node will use AI assistance to enhance your text prompt (default: True). This is an advanced setting. |
watermark | BOOLEAN | Yes | - | When enabled, an AI-generated watermark will be added to the final video (default: False). This is an advanced setting. |
audio input has a duration constraint. If provided, the audio file must be between 2 and 30 seconds long.
Outputs
| Output Name | Data Type | Description |
|---|---|---|
output | VIDEO | The generated video file. |
Source fingerprint (SHA-256):
db5e4e26a407c71e2b79179d32cdad926db5af16461f2aa565eab544295df7ff