This commit is contained in:
Eugene Fairley 2025-06-27 13:23:31 -07:00
parent 3c102ada58
commit 7899fb868c

View File

@ -673,11 +673,11 @@ class WanTrackToVideo:
# Add motion features to conditioning # Add motion features to conditioning
concat_latent_image = vae.encode(image[:, :, :, :3]) concat_latent_image = vae.encode(image[:, :, :, :3])
positive = node_helpers.conditioning_set_values(positive, positive = node_helpers.conditioning_set_values(positive,
{"concat_mask": motion_patched, {"concat_mask": mask,
"concat_latent_image": concat_latent_image}) "concat_latent_image": video})
negative = node_helpers.conditioning_set_values(negative, negative = node_helpers.conditioning_set_values(negative,
{"concat_mask": motion_patched, {"concat_mask": mask,
"concat_latent_image": concat_latent_image}) "concat_latent_image": video})
# Handle clip vision output if provided # Handle clip vision output if provided