Files
shootthesound-comfyUI-LongLook/__init__.py
T
shootthesound 4eca91353b New Free Long Enforcer Node
v3.0.4 - Performance optimizations + FreeLong Enforcer

  Performance improvements:
  - Single-FFT spectral blending (faster, improved float16 precision)
  - Cached temporal detection and blend ramps across blocks
  - Reduced memory allocations in window processing

  New node: Wan FreeLong Enforcer (now in the race scene workflow)
  - Experimental extension with stricter motion locking
  - 3-tier frequency blending: locked ultra-low, blended mid, local high
  - Early blocks use global-only attention to establish motion before detail processing
  - May help with complex motion scenes (e.g., vehicles, camera movement) where standard FreeLong still shows drift
  - Use standard FreeLong first; try Enforcer if you see motion reversals or trajectory inconsistency
2025-12-29 00:29:21 +00:00

31 lines
798 B
Python

"""
comfyUI-LongLook: FreeLong for Wan 2.2 Video Generation
Implements FreeLong (NeurIPS 2024) spectral blending for:
1. Better motion consistency within each generation
2. Reliable chunk chaining for unlimited length videos
"""
from .nodes import (
WanContinuationConditioning,
WanFreeLong,
WanFreeLongEnforcer,
)
NODE_CLASS_MAPPINGS = {
"WanContinuationConditioning": WanContinuationConditioning,
"WanFreeLong": WanFreeLong,
"WanFreeLongEnforcer": WanFreeLongEnforcer,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"WanContinuationConditioning": "Wan Continuation Conditioning",
"WanFreeLong": "Wan FreeLong",
"WanFreeLongEnforcer": "Wan FreeLong Enforcer",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
WEB_DIRECTORY = None
__version__ = "3.0.4"