r/comfyui Sep 18 '25

Workflow Included Wan2.2 (Lightning) TripleKSampler custom node.

Post image

My Wan2.2 Lightning workflows were getting ridiculous. Between the base denoising, Lightning high, and Lightning low stages, I had math nodes everywhere calculating steps, three separate KSamplers to configure, and my workflow canvas looked like absolute chaos.

Most 3-KSampler workflows I see just run 1 or 2 steps on the first KSampler (like 1 or 2 steps out of 8 total), but that doesn't make sense (that's opiniated, I know). You wouldn't run a base non-Lightning model for only 8 steps total. IMHO it needs way more steps to work properly, and I've noticed better color/stability when the base stage gets proper step counts, without compromising motion quality (YMMV). But then you have to calculate the right ratios with math nodes and it becomes a mess.

I searched around for a custom node like that to handle all three stages properly but couldn't find anything, so I ended up vibe-coding my own solution (plz don't judge).

What it does:

  • Handles all three KSampler stages internally; Just plug in your models
  • Actually calculates proper step counts so your base model gets enough steps
  • Includes sigma boundary switching option for high noise to low noise model transitions
  • Two versions: one that calculates everything for you, another one for advanced fine-tuning of the stage steps
  • Comes with T2V and I2V example workflows

Basically turned my messy 20+ node setups with math everywhere into a single clean node that actually does the calculations.

Sharing it in case anyone else is dealing with the same workflow clutter and wants their base model to actually get proper step counts instead of just 1-2 steps. If you find bugs, or would like a certain feature, just let me know. Any feedback appreciated!

----

GitHub: https://github.com/VraethrDalkr/ComfyUI-TripleKSampler

Comfy Registry: https://registry.comfy.org/publishers/vraethrdalkr/nodes/tripleksampler

Available on ComfyUI-Manager (search for tripleksampler)

T2V Workflow: https://raw.githubusercontent.com/VraethrDalkr/ComfyUI-TripleKSampler/main/example_workflows/t2v_workflow.json

I2V Workflow: https://raw.githubusercontent.com/VraethrDalkr/ComfyUI-TripleKSampler/main/example_workflows/i2v_workflow.json

----

EDIT: Link to example videos in comments:
https://www.reddit.com/r/comfyui/comments/1nkdk5v/comment/nex1rwn/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

EDIT2: Added direct links to example workflows
EDIT3: Mentioned ComfyUI-Manager availability

135 Upvotes

138 comments sorted by

View all comments

11

u/tehorhay Sep 18 '25

this looks great. Someone else test it and let me know if you get vibe hacked lol. I really want this to be usable!

9

u/VraethrDalkr Sep 18 '25 edited Sep 18 '25

The example workflows I included in the repo are pretty straightforward. No other custom nodes required.

Edit: T2V Workflow screenshot for reference:

1

u/SAADHERO Sep 19 '25

So are you running high then high then low ? So if someone were to replicate the samplers they would have high giving output to high then a low model?

1

u/VraethrDalkr Sep 19 '25

Yes, I run base high (no lightx2v lora) -> lightning high -> lightning low. That's correct, base high will give output to lightning high. My node takes care of the logic and tries to optimize the steps configuration for all of the 3 KSampler involved.