Files
MariusKM-ComfyUI-BadmanNodes/pyproject.toml
T
MariusKM 696ff93aa0 Fix masking to use binary masks instead of gradients for WAN compatibility
CRITICAL FIX: WAN models require binary masks (0.0 or 1.0), not gradient masks

- Replace gradient mask logic with binary masks throughout
- mask=0.0: Use provided keyframe image (inpainting guidance)
- mask=1.0: Generate freely (no guidance)
- Context window pyramid fusion handles smooth blending automatically
- Gradient masks were causing ghosting, blurriness, and artifacts

Technical details:
- Start keyframe: mask=0.0 for first frame_blend_width frames
- Middle keyframe: mask=0.0 for frame_blend_width region centered at middle_frame_position
- End keyframe: mask=0.0 for last frame_blend_width frames
- All other regions: mask=1.0 (fully generated)
- Context windows with pyramid fusion create smooth transitions at overlaps

Fixes tensor dimension error and improves visual quality
Bump version to 1.2.1
2025-10-14 17:39:07 +02:00

15 lines
507 B
TOML

[project]
name = "comfyui-badmannodes"
description = "Utility nodes including ImageBlend, Math, Strings, Color tools, Wildcard Processor, Latent Noise Mask, and WAN Three Frame To Video for keyframe-based video generation"
version = "1.2.1"
license = "LICENSE"
[project.urls]
Repository = "https://github.com/MariusKM/ComfyUI-BadmanNodes"
# Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "bigting"
DisplayName = "ComfyUI-BadmanNodes"
Icon = ""
#adding stuff to trigger action