Wan2.7: Image to Video
Upload an image and audio file to generate a video with synchronized sound, using the first and last frames for control.
Try an example
About this workflow
This ComfyUI tutorial workflow shows you how to turn a still image (or a pair of start/end images) and an audio track into a coherent video with sound using Wan2.7. The core is the Wan2ImageToVideoApi node, which takes your reference image(s) and audio, then synthesizes the in-between frames so the video begins on your first frame, transitions naturally, and lands on your last frame. LoadImage nodes feed the first and last control frames, while SaveVideo writes the final output to disk.
Technically, the first and last frames act as strong compositional anchors: Wan2.7 preserves the subject and layout at those endpoints and generates motion between them. The audio you provide is used to align timing and pacing so the video duration matches the track and motion evolves in sync. Keep your start and end images aligned in aspect ratio and subject framing for cleaner transitions. The SaveVideo node then packages the generated frames (and the synchronized audio from the API) into a playable video file.
Questions & answers
You can use one or two. One image will guide both the start and end, creating motion that returns to the original framing. Adding a second image as the last frame lets Wan2.7 transition toward a different final composition.
The audio defines the video’s duration and helps align motion pacing. Choose a track with the length you want. If the node exposes timing controls, keep them consistent with the audio to avoid truncation or extra silence.
Match the aspect ratio between your first and last frames, and keep a reasonable resolution your hardware or API quota can handle. Higher resolutions need more compute and time—start smaller to validate motion, then scale up.
Use sharp, well-lit images with consistent subject size and framing across the first and last frames. Avoid drastic changes in viewpoint or lighting between endpoints. If available, reduce motion intensity settings for subtler moves.