ComfyUI Node
K2 Regional LoRA
Assigns one Krea 2 LoRA either globally or to a union of named regions. Regional LoRAs are applied UNFUSED: the delta is computed in the forward pass and gated per token, so it only touches the text tokens of the assigned clause and the image tokens inside the assigned boxes. Base weights are never rewritten, which also makes this work on FP8/INT8 checkpoints. routing 'character_identity' additionally injects an identity anchor sentence using the trigger phrase — use it for face/person LoRAs. Chain multiple LoRA nodes through the 'loras' input.
K2 Regional LoRA
- loras
- loras
◄lora_name▾►
◄strength1.00►
◄global_scopefalse►
◄regions►
◄routingstandard►
◄trigger_phrase►
◄display_name►
CategoryFVM Tools/K2
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| lora_name | COMBO | Krea 2 LoRA. Non-Krea architectures are rejected at compose time instead of silently doing nothing. | |
| strength | FLOAT | 1.00-4–4 | Delta multiplier. 0 disables the assignment, negative inverts the learned delta. |
| global_scope | BOOLEAN | false | On: applies to the whole image (fused, fast). Off: strict regional routing using the regions below. |
| regions | STRING | Comma separated region names (or ids) that receive this LoRA. Only used when global_scope is off. | |
| routing | COMBO | standard | standard: gate text-fusion and local main-stream deltas to the assigned boxes. character_identity: same isolation plus an explicit identity anchor built from the trigger phrase. |
| trigger_phrase | STRING | Activation phrase learned during LoRA training. Required for character_identity. | |
| lorasopt | K2_LORA | Chain input: previously assigned LoRAs. | |
| display_nameopt | STRING | Optional label used in reports. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| loras | K2_LORA | — |