ComfyUI Node
LC Krea2 LoRA Merge
Merges two to four Krea 2 LoRAs with a per-block A / B curve (sum or TIES), applies the result to the model and outputs it for LC LoRA Save. The heatmaps show A's and B's share and the merged result.
LC Krea2 LoRA Merge
- model
- model
- merged_lora
◄lora_a▾►
◄lora_b▾►
◄strength_a1.00►
◄strength_b1.00►
◄mix0.50►
◄methodsum►
◄presetBoth full►
◄blocks0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5►
◄ties_density0.50►
◄blocks_in—►
◄lora_cNone►
◄strength_c1.00►
◄lora_dNone►
◄strength_d1.00►
CategoryLC ModelBuilder/Krea2
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | Krea 2 model. The merged LoRA is applied to it, like a LoRA loader. | |
| lora_a | COMBO | LoRA A, from models/loras. | |
| lora_b | COMBO | LoRA B, from models/loras. | |
| strength_a | FLOAT | 1.00-4–4 | — |
| strength_b | FLOAT | 1.00-4–4 | — |
| mix | FLOAT | 0.500–1 | One slider for the whole merge, like a plain model merge: 0 = only LoRA A, 1 = only LoRA B. At 0.5 the bars apply as set; toward 0 B fades out everywhere, toward 1 A does. |
| method | COMBO | sum | sum = the LoRAs added, exactly (fast). ties = keeps each LoRA's strongest changes and drops the ones that fight each other: for LoRAs that clash, e.g. two styles or two characters. Slower (works on every full layer). |
| preset | COMBO | Both full | Per block: 0 = only A, 0.5 = both at full strength, 1 = only B. Dragging the graph switches to Custom. |
| blocks | STRING | 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5 | 28 block values, 0 (A) to 1 (B). Drag the bars on the node. |
| ties_density | FLOAT | 0.500.05–1 | ties only: share of each LoRA's changes that is kept (its strongest). Lower = only the most important changes survive. |
| blocks_inopt | STRING | A 28-block curve from another node. When wired it replaces the preset and the bars. | |
| lora_copt | COMBO | None | Optional third LoRA, at strength_c in every block (not on the curve). |
| strength_copt | FLOAT | 1.00-4–4 | — |
| lora_dopt | COMBO | None | Optional fourth LoRA, at strength_d in every block (not on the curve). |
| strength_dopt | FLOAT | 1.00-4–4 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| model | MODEL | The model with the merged LoRA applied. |
| merged_lora | LC_LORA | The merged LoRA, for LC LoRA Save. |