ComfyUI Node
😺NKD Klein Reference Control
EXPERIMENTAL — full control of ONE reference image in a single node. Sets how STRONG it is (with an optional per-step curve) and, if you connect a mask, confines WHERE it applies on the canvas. Leave the mask unconnected to use it purely as a strength control. Chain one per reference; put it on the model line between Presampling and your sampler.
😺NKD Klein Reference Control
- model
- mask
- latent
- model
- latent
◄reference_index1►
◄weight1.00►
◄region_weight1.00►
◄outside_suppression1.00►
◄region_hardness0.00►
◄schedule—►
Category😺NKD Nodes/Klein
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| reference_index | INT | 10–7 | Which reference this node controls. 0 = the main reference (ref_0), 1 = ref_1, … in the order added. |
| weight | FLOAT | 1.000–2 | Overall strength of this reference. 1.0 = no change, below 1 dilutes (0 = removed), above 1 reinforces (up to 2). A connected curve multiplies this per step. |
| region_weight | FLOAT | 1.000–4 | (Regional) how strongly the reference shows up INSIDE the zone. 1.0 = normal, up to 4 reinforces. Only used with a mask. |
| outside_suppression | FLOAT | 1.000–1 | (Regional) how much the reference is held back OUTSIDE the zone. 1.0 = only inside the zone; 0.0 = no restriction. Only used with a mask. |
| region_hardness | FLOAT | 0.000–1 | (Regional) crispness of the zone edge. 0.0 = soft falloff; 1.0 = hard binary edge (tightest containment). Raise it if the reference bleeds outside the mask. Only used with a mask. |
| scheduleopt | FLOAT | Optional per-step curve in [0,1] (e.g. the FLOAT output of NKD Sigmas Curve) that MULTIPLIES the strength across denoise steps. Leave unconnected for a flat strength. | |
| maskopt | MASK | Optional zone to confine the reference to. Connect it to turn on regional control; leave it unconnected for a pure strength node. | |
| latentopt | LATENT | The canvas latent from Presampling — needed only when a mask is connected, to map it onto the token grid. Chain it from another Reference Control's latent output. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |
| latent | LATENT | The latent passed through — chain into the next Reference Control to drive several references. |