ComfyUI Extension: IAMCCS-nodes

Authored by IAMCCS

Created

Updated

0 stars

Custom nodes by IAMCCS, including a critical fix for LoRA loading in native WANAnimate workflows, especially useful for advanced models like FLUX and WAN 2.1. This bypasses the need for the WanVideoWrapper for LoRA functionality.

Custom Nodes (0)

    README

    🌀 IAMCCS-nodes

    <img src="icon.png" width="150" height="150">

    Author: IAMCCS (Carmine Cristallo Scalzi)

    Category: ComfyUI Custom Nodes

    Main Feature: Fix for LoRA loading in native WANAnimate workflows

    Version: 1.0.0

    Overview

    The IAMCCS-nodes package introduces a fix for a key limitation in native WANAnimate workflows: when users run animation pipelines without the WanVideoWrapper, LoRA models fail to load correctly — most weights are ignored, and the visual consistency breaks.

    This package contains two complementary nodes that work together to fix this problem and restore full LoRA functionality while keeping the workflow lightweight and modular.

    The IAMCCS Native LoRA System introduces an optimized way to handle multiple LoRAs inside native ComfyUI workflows. It is composed of two interconnected nodes designed to work seamlessly together.

    1. LoRA Stack (WAN-style remap)

    This node lets you combine several LoRA models—especially those made for WAN2.x / Animate / Flow architectures—into one unified output.

    [Node piece](assets/lora stack.png)

    Each LoRA slot includes:

    an independent strength control,

    automatic WAN-style key remapping for full compatibility,

    and support for .safetensors files across any model type (flow, wan, sdxl, etc).

    It produces a stacked LoRA bundle that merges all the active LoRAs and prepares them for efficient native injection.

    2. Apply LoRA to MODEL (Native)

    This node applies the generated LoRA stack directly to a loaded diffusion model at the Torch level, without relying on older ComfyUI Apply LoRA wrappers.

    Node piece no_2

    Works natively with FP16 accumulation (recommended when paired with Model Patch Torch Settings)

    Maintains precision and speed

    Fully compatible with WAN2.x and other Flow-type diffusion models

    Output: a ready-to-run patched model for image or video generation.

    This structure replaces multiple chained LoRA nodes with a single modular system, improving both stability and performance. Ideal for WANAnimate, WANVideo, or any Flow-based cinematic model.

    Node piece no_3

    Installation

    The node has now been officially accepted on ComfyUI Manager, You can install it directly from there (just search for IAMCCS).

    or

    You can grab it manually:

    digit in your terminal:

    cd ComfyUI/custom_nodes git clone https://github.com/IAMCCS/IAMCCS-nodes.git

    Compatibility

    ComfyUI ≥ 0.3.0

    Python ≥ 3.12

    Torch ≥ 2.8 (CUDA 12.6 or 12.8)

    Compatible with: WAN2.1, WAN2.2, WANAnimate, WANAnimate_relight, Pulid, Flux, and multi-LoRA setups.

    Technical Insight

    LoRA weights fail to load in native WANAnimate pipelines because the model initialization bypasses the internal LoRA merge functions used in the wrapper. By separating the process into two modular nodes, IAMCCS-nodes restores full LoRA compatibility without depending on WanVideoWrapper, keeping performance high and structure clean.

    Node 1 replaces the missing LoRA-loading phase.

    Node 2 reintroduces dynamic LoRA reapplication and blending inside the animation graph.

    This modular architecture makes LoRA management in WANAnimate flexible, transparent, and fully native.

    If my work helped you, and you’d like to say thanks — grab me a coffee ☕

    <a href="https://www.buymeacoffee.com/iamccs" target="_blank"> <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="200" /> </a>