Nodes/ComfyUI-Conditioning-Rebalance/Load LoRA Krea2 (Block)
ComfyUI Node

Load LoRA Krea2 (Block)

Krea 2 LoRAs Don't Have to Take Over the Whole Image

By nova452·Created 5 months ago·Updated 4 days ago· 555
Load LoRA Krea2 (Block)
  • model
  • model
◄lora_name▾►
◄strength1.00►
◄first1.00►
◄tmlp1.00►
◄txtmlp1.00►
◄tproj1.00►
◄txtfusion_layerwise_blocks_01.00►
◄txtfusion_layerwise_blocks_11.00►
◄txtfusion_projector1.00►
◄txtfusion_refiner_blocks_01.00►
◄txtfusion_refiner_blocks_11.00►
◄blocks_01.00►
◄blocks_11.00►
◄blocks_21.00►
◄blocks_31.00►
◄blocks_41.00►
◄blocks_51.00►
◄blocks_61.00►
◄blocks_71.00►
◄blocks_81.00►
◄blocks_91.00►
◄blocks_101.00►
◄blocks_111.00►
◄blocks_121.00►
◄blocks_131.00►
◄blocks_141.00►
◄blocks_151.00►
◄blocks_161.00►
◄blocks_171.00►
◄blocks_181.00►
◄blocks_191.00►
◄blocks_201.00►
◄blocks_211.00►
◄blocks_221.00►
◄blocks_231.00►
◄blocks_241.00►
◄blocks_251.00►
◄blocks_261.00►
◄blocks_271.00►
◄last1.00►
◄scan_json{}►

Every Krea 2 LoRA you download is a blunt instrument. It patches 28 transformer blocks plus the text-fusion stack, all at one strength, and your only knob is a single number that either does nothing at 0.4 or repaints the entire frame at 0.9. Load LoRA Krea2 (Block) from nova452's Rebalance-Pack hands you the knob per block group instead.

Why you'd want that

The Krea 2 LoRA ecosystem went from zero to flooded inside three days - a partner shipped 999 of them as a batch, and the community read on that volume was blunt: "they train on a few images for 100 steps, they're not great." Half of what you'll download is a style that only actually lives in the early blocks, wrapped in a bunch of deltas that flatten skin texture or smear the background.

Normal loading forces you to accept the whole bundle. Block weighting lets you say "yes to the finish, no to the composition" - crank last and blocks_20 up, pull the first blocks toward zero, and the style usually arrives without whatever the LoRA broke on the way in. Same trick works in reverse to tame a character LoRA that's overcooked at 0.8 but lifeless at 0.5.

How it works

The node reads the safetensors header of the file you pick (not the weights - just the key names), and works out which Krea 2 block groups the LoRA actually touches. It normalizes trainer spellings first, so transformer_blocks.4. and blocks.4. both land in the same group, as do text_fusion., final_layer. and img_in. style names.

Then each group's patches get applied with strength × block_weight. Two consequences worth internalising:

  • A block weight of 0 means those patches are skipped entirely, not scaled to nothing. That's a real difference - the module never sees a delta.
  • strength multiplies on top of every block weight, so strength 0 returns your model untouched and the LoRA silently does nothing.

The inputs that matter

  • model - your Krea 2 model from UNETLoader, before the sampler or guider.
  • lora_name - anything in ComfyUI/models/loras.
  • strength - the global multiplier, −10 to 10, default 1.0. Set it once and do the shaping with the blocks; it's much easier to reason about.
  • The block widgets - first, tmlp, txtmlp, tproj, txtfusion_layerwise_blocks_0/1, txtfusion_projector, txtfusion_refiner_blocks_0/1, blocks_0 … blocks_27, last. Each is 0.0–1.0, default 1.0, and the tooltip tells you the truth: hidden groups aren't in the scanned LoRA.
  • scan_json - not yours to type. It's where the Scan Blocks button parks its result, and the Python side reads it to know which groups to honour.

Output is a single model. Wire it where the loaded model used to go.

Install

Manager is easiest - search the pack title, "Rebalance Pack". Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/nova452/Rebalance-Pack.git

Restart ComfyUI. There's no requirements.txt and no model download: the pack is pure Python over torch and ComfyUI's own comfy.lora / folder_paths. One trap here - this pack ships with PublisherId = nova452 and its pyproject still names the project ComfyUI-Conditioning-Rebalance. If you were around for the earlier ComfyUI-ConditioningKrea2Rebalance repo, don't keep both installed. Two copies registering the same node classes gives you duplicate entries in the node menu and unpredictable mapping wins.

Where people get burned

Press Scan Blocks before you trust anything. Until you do, scan_json is {}, and the node falls back to applying every group at ratio 1.0 - which means a full-strength LoRA even if the widgets on screen look dialled down. Load a saved workflow from someone else and the scan result comes with it, which is why their settings reproduce and yours don't.

Zeroing too much. blocks_0 through blocks_27 are where the actual content lives. Kill them all and you're left with a text-encoder-flavoured nudge that mostly changes colour grading. Start with one group nudged to 0.5, look, then continue.

It's Krea 2 only. The key map comes from the model you feed it, so a Flux or SDXL LoRA in that dropdown will load and apply nothing. Check the console - no error, no effect.

Categoryloaders

Inputs (42)

NameTypeDefaultDescription
modelMODEL—
lora_nameCOMBO0 options:
strengthFLOAT1.00-10–10Global multiplier on top of every block weight.
firstFLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
tmlpFLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
txtmlpFLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
tprojFLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
txtfusion_layerwise_blocks_0FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
txtfusion_layerwise_blocks_1FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
txtfusion_projectorFLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
txtfusion_refiner_blocks_0FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
txtfusion_refiner_blocks_1FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_0FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_1FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_2FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_3FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_4FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_5FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_6FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_7FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_8FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_9FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_10FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_11FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_12FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_13FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_14FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_15FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_16FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_17FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_18FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_19FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_20FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_21FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_22FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_23FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_24FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_25FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_26FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
blocks_27FLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
lastFLOAT1.000–1Block weight; hidden block groups are not in the scanned LoRA.
scan_jsonSTRING{}Last scan result, filled by the Scan Blocks button.

Outputs (1)

NameTypeDescription
modelMODEL—