Rebalance Guider B
A Steering Dial for Models Where the Negative Prompt Does Nothing
- positive
- clip
- conditioning_a
- conditioning_b
- conditioning
Krea 2 Turbo, Flux Schnell, every distilled checkpoint of the last two years: you type something in the negative box, nothing happens, because at CFG 1 ComfyUI doesn't just zero the unconditioned pass - it skips computing it. The negative prompt is inert. Rebalance Guider B gives you a direction to steer in anyway, and you describe that direction in words instead of plugging a negative prompt in.
What it actually does
You supply prompt pairs - a photo of a cat ||| a photo of a dog - and the node encodes both sides, takes B minus A, averages that difference over every pair, and winds up with one vector: the thing B has that A doesn't. Then it amplifies your positive conditioning along that vector.
Because the pairs average, the wording shared by both sides cancels. That's the trick: "cat" and "dog" fall out, "photo" falls out, and what survives is whatever direction you were systematically nudging toward. Write three or four pairs that all differ in the same respect and the surviving signal is that respect. This is the same projection-amplification the pack's main Rebalance Guider uses, except the direction comes from prompt arithmetic instead of a negative conditioning - which is what makes it usable on a model with no working CFG.
The alternative wiring is blunter and often better: connect conditioning_a and conditioning_b and you get mean-tokens(B) minus mean-tokens(A) from two real conditionings. One deliberate pair instead of an averaged set.
The inputs that matter
- positive - the conditioning you're steering. Wire from your text encode.
- guidance_strength - 0 to 2, default 0.5. This is a dial, not a CFG scale. Past 1.0 you're usually fighting oversaturation; the useful range is mostly 0.3–0.8.
- clip + pairs - the prompt-pair route. Pairs are one per line,
A ||| B. - subjects (optional) - one per line; each pair gets expanded for every subject so the subject itself cancels out of the average. This is how you steer on "expression" or "lighting" without the model also dragging along what the subject is.
- conditioning_a / conditioning_b (optional) - connect both and they replace
clip+pairsentirely.
Output is one conditioning. Straight into the positive side of your guider.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/nova452/Rebalance-Pack.git
Restart ComfyUI, or search "Rebalance Pack" in Manager. No requirements file and nothing to download: it needs torch, ComfyUI's node_helpers, and a clip you were already loading.
Two name hazards. This node lives in a pack that used to circulate as ComfyUI-Conditioning-Rebalance, and the Krea-specific rebalance nodes still turn up under ComfyUI-ConditioningKrea2Rebalance. Don't run old and new copies side by side - same class names, two registrations, confusing results.
Where people get burned
No direction, no node. With neither clip and pairs nor both conditionings connected, it raises "Rebalance Guider B needs either a clip (with pairs) or both conditioning_a and conditioning_b." That's the whole set of ways to satisfy it, and one of them has to be wired.
Pairs that differ in three ways teach it nothing. a cat on a sofa in daylight ||| a dog on grass at night averages content, placement and lighting into one mud direction. Change exactly one thing per pair.
Expecting a negative prompt. This doesn't remove what you name, it pushes along a direction. If you want "no extra fingers", that's still a negative prompt on a model with CFG, or a LoRA that fixes hands.
Honest expectation setting on Krea 2. This family of nodes is what people reached for in the first week of Krea 2 to get past the model's refusal "craters", and the community verdict on that specific use was grudging - it works, and it costs a little prompt adherence and quality. Treat it as a dial that shifts emphasis, not a switch that unlocks the model. Half the reports of it "not working" are really reports of it working exactly as much as it can.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| positive | CONDITIONING | — | |
| guidance_strength | FLOAT | 0.500–2 | — |
| clipopt | CLIP | — | |
| pairsopt | STRING | a photo of a cat ||| a photo of a dog | One pair per line: 'A ||| B'. Direction = enc(B) - enc(A), averaged over all pairs. Used when clip is connected. |
| subjectsopt | STRING | Optional subjects, one per line. Each pair is expanded for every subject so subject content cancels in the average. | |
| conditioning_aopt | CONDITIONING | Baseline conditioning (A). When connected together with conditioning_b, replaces clip + pairs. | |
| conditioning_bopt | CONDITIONING | Target conditioning (B). When connected together with conditioning_a, replaces clip + pairs. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| conditioning | CONDITIONING | — |