Shootthesound controls Wan 2.2 with ComfyUI-wan-i2v-control

A statue mannequin on an orange background

ComfyUI-wan-i2v-control is a custom node pack for ComfyUI that brings precise region control to WAN image-to-video generation. The tool intercepts the conditioning process and applies masks to specific areas, letting users transform only selected parts of a starting frame instead of the entire image.

Created by developer Peter Neill under the name Shootthesound, this node pack solves a common issue where video generation transforms unwanted regions. It uses MediaPipe for automatic person and face detection, removing the need to manually create masks for every project.

Masking and region control options of ComfyUI-wan-i2v-control

  • Built-in person detection for face, hair, body, and clothing isolation.
  • Face landmark targeting for eyes, lips, nose, cheeks, and other specific features.
  • Multi-person scene support with left or right side ignore options.
  • Depth map integration for distance-based masking.
  • Drop First Frames utility node to remove garbled initial frames from output.
  • Custom mask input support for transparent PNGs and external masks.

Video creators working on character transformation projects can change a person's appearance while keeping the background intact. This approach also helps with scene continuity, allowing editors to take the last frame of one clip, regenerate specific elements, and continue smoothly to the next segment.

Installation and practical tips

The developer recommends using higher resolutions at 720p or above for better face landmark detection, with close-up shots producing the best facial feature results. Users experiencing 'ghost edges' on dynamic masks should try setting the feather value to around 0.015 for smoother blending.

An LTX 2 version is planned if community interest is sufficient. Installation requires cloning the repository into the ComfyUI custom_nodes folder and installing mediapipe before restarting the interface. Example workflows are included to help users get started quickly.

You can find ComfyUI-wan-i2v-control on GitHub.