diff --git a/comfy_extras/nodes_wan.py b/comfy_extras/nodes_wan.py index c6e40a72c..1601968d9 100644 --- a/comfy_extras/nodes_wan.py +++ b/comfy_extras/nodes_wan.py @@ -673,11 +673,11 @@ class WanTrackToVideo: # Add motion features to conditioning concat_latent_image = vae.encode(image[:, :, :, :3]) positive = node_helpers.conditioning_set_values(positive, - {"concat_mask": motion_patched, - "concat_latent_image": concat_latent_image}) + {"concat_mask": mask, + "concat_latent_image": video}) negative = node_helpers.conditioning_set_values(negative, - {"concat_mask": motion_patched, - "concat_latent_image": concat_latent_image}) + {"concat_mask": mask, + "concat_latent_image": video}) # Handle clip vision output if provided