FLUX.2 Klein Ref Latent Weight
The lightweight version of per-reference strength
- model
- MODEL
This is the stripped-down sibling of Ref Latent Controller - same core job, one reference's attention contribution turned up or down, but with the spatial fade and the conditioning pass-through removed. If you just need a plain per-reference volume knob and nothing fancier, this is the smaller, simpler node for it.
What it does
When you've loaded multiple references through Multi ReferenceLatent, Klein weights each one's contribution to attention roughly equally by default. This node scales one specific reference's keys and values, by index, across every block of the model - turning that reference up relative to the others (or down, toward near-silent) without touching text conditioning or any other reference.
It's a model-only patch. There's no conditioning input or output here at all, which is the tell for when to reach for this instead of Ref Latent Controller: if you don't need Ref Latent Controller's spatial fade and don't need it to hand your conditioning back out unchanged for further chaining, this does the same core scaling with one less thing to wire.
The inputs that matter
model- required, your checkpoint (with references already loaded upstream via Multi ReferenceLatent).reference_index- required, which reference this affects (0 = first), matching the order set in Multi ReferenceLatent.weight- required, default1, range 0–5. Below 1 quiets that reference's contribution; above 1 amplifies it. The range tops out at 5, a much tighter ceiling than Ref Latent Controller's strength field - a hint from the author that this node's sane operating range is genuinely narrower.
Output is a single patched MODEL.
Installing it
ComfyUI Manager: search ComfyUI-Flux2Klein-Enhancer, install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/capitan01R/ComfyUI-Flux2Klein-Enhancer.git
No extra dependencies.
Where people get burned
The most common mistake is reference index mismatch - this happens across the whole pack, but it's especially easy to miss here because there's no conditioning output to sanity-check against. Since this node doesn't touch conditioning at all, wiring reference_index to the wrong number gives you a graph that runs cleanly and produces some output, just not the effect you were after on the reference you meant to adjust. Double-check against the order you fed latents into Multi ReferenceLatent before assuming the node isn't working.
Second, if you find yourself wanting to weight one reference more strongly in one part of the frame than another - a face reference that should dominate a portrait crop while an outfit reference stays subtle at the edges - that's exactly what this node can't do and Ref Latent Controller's spatial_fade can. Reach for the bigger node once you need that; this one is deliberately the "just a volume knob" option.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| reference_index | INT | 00–7 | — |
| weight | FLOAT | 1.000–5 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |