- Implemented `AutoLoopCalculatorLTX` node to enforce `8n + 1` frame chunks. - Added `ResTool32xLTX` node for strict 32x divisible resolutions with proper minimum pixel scaling. - Updated `IncrementalVideoStitcher` (in `image.py`) to correctly subtract the overlapping anchor frame from global frame progression when LTX mode is active. - Added `global_ltx_mode` reset in `SequentialLoopStart` to prevent state leakage to other non-LTX workflows. - Registered nodes in `__init__.py` and updated `README.md` & `README_EN.md` with new features.
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
__version__ = "1.5.1"
|
|
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
|
|
def register_node(c, display_name=None):
|
|
NODE_CLASS_MAPPINGS[c.__name__] = c
|
|
NODE_DISPLAY_NAME_MAPPINGS[c.__name__] = display_name or c.__name__
|
|
return c
|
|
|
|
# Importar tools
|
|
from . import image, loop, video, tools
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS.update({
|
|
"SessionImageReceiver": "📥 Session Image Receiver",
|
|
"SessionImageSender": "📤 Session Image Sender",
|
|
"IncrementalVideoStitcher": "🎞️ Incremental Auto-Stitcher",
|
|
"VideoAnalyzerWithAudio": "🕵️ Video Analyzer + Audio",
|
|
"AutoLoopCalculator": "📊 Auto Loop Calculator",
|
|
"AutoLoopCalculatorWan": "📊 Auto Loop Calculator (WanVideo 3dVAE)",
|
|
"AutoLoopCalculatorLTX": "📊 Auto Loop Calculator (LTX 2.3)",
|
|
"SequentialLoopStart": "🏁 Loop Start (Index)",
|
|
"SequentialLoopTrigger": "🚀 Loop Trigger (Auto-Queue)",
|
|
# Tools
|
|
"AutoFPSLimiter": "⏱️ Auto FPS Limiter",
|
|
"ResTool8x": "📐 ResTool 8x (SD1.5)",
|
|
"ResTool16x": "📏 ResTool 16x (SDXL)",
|
|
"ResTool32x": "🎞️ ResTool 32x (WanVideo)",
|
|
"ResTool32xLTX": "🌌 ResTool 32x (LTX 2.3)",
|
|
"ResTool64x": "🎬 ResTool 64x (Hunyuan)",
|
|
})
|
|
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|