Nodes/comfyui-fvmtools/K2 Regional LoRA
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.

By ping1979ping·Created 5 months ago·Updated 21 days ago· 0
K2 Regional LoRA
  • loras
  • loras
lora_name
strength1.00
global_scopefalse
regions
routingstandard
trigger_phrase
display_name
CategoryFVM Tools/K2

Inputs (8)

NameTypeDefaultDescription
lora_nameCOMBOKrea 2 LoRA. Non-Krea architectures are rejected at compose time instead of silently doing nothing.
strengthFLOAT1.00-4–4Delta multiplier. 0 disables the assignment, negative inverts the learned delta.
global_scopeBOOLEANfalseOn: applies to the whole image (fused, fast). Off: strict regional routing using the regions below.
regionsSTRINGComma separated region names (or ids) that receive this LoRA. Only used when global_scope is off.
routingCOMBOstandardstandard: 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_phraseSTRINGActivation phrase learned during LoRA training. Required for character_identity.
lorasoptK2_LORAChain input: previously assigned LoRAs.
display_nameoptSTRINGOptional label used in reports.

Outputs (1)

NameTypeDescription
lorasK2_LORA