Nodes/Krea2 Regional/Krea2 Apply Regional
ComfyUI Node

Krea2 Apply Regional

A ComfyUI node in conditioning/krea2_regional with 15 inputs and 2 outputs.

By januspluto·Created about a month ago·Updated 12 days ago· 6
Krea2 Apply Regional
  • model
  • conditioning
  • regions
  • base_loras
  • MODEL
  • CONDITIONING
restrict_img_attnfalse
exclusive_maskstrue
adaptive_masksoff
adaptive_steps2
adaptive_threshold0.45
base_loras_exclude_regionsfalse
region_lock_strength0.00
region_lock_start0.35
region_lock_end0.85
restrict_end_percent1.00
unmaskable_layersskip
Categoryconditioning/krea2_regional

Inputs (15)

NameTypeDefaultDescription
modelMODEL
conditioningCONDITIONING
regionsKREA2_REGIONS
restrict_img_attnBOOLEANfalseBlock image<->image attention across regions. Strongest anti-bleed lever; can look collaged.
exclusive_masksBOOLEANtrueWhere grown/feathered region masks overlap, each token keeps only its strongest region (no double LoRA in the gap).
adaptive_masksCOMBOoffFreeFuse-style adaptive routing: watch where the model actually places each subject during the first steps (prompt-token/image-token attention), then snap the region masks to those silhouettes. 'refine boxes' keeps discovery inside your (slightly grown) boxes; 'free' lets regions land anywhere.
adaptive_stepsINT21–8How many model calls to observe before snapping the masks.
adaptive_thresholdFLOAT0.450.05–0.95Affinity cutoff (fraction of each region's peak). Lower = larger discovered regions.
base_loras_exclude_regionsBOOLEANfalseStyle/base LoRAs apply everywhere EXCEPT inside the subject regions — keeps a style LoRA from contaminating character LoRAs.
region_lock_strengthFLOAT0.000–1Latent-only Region Lock: snapshot each region's predicted-clean latent once identity has formed and pull it back toward that snapshot each step. Suppresses late-step drift/mutation inside regions. 0 = off; 0.2-0.4 anchors, 0.7+ freezes hard.
region_lock_startFLOAT0.350–0.95When (as a fraction of the schedule) to take the snapshot.
region_lock_endFLOAT0.850.05–1When to release the lock so the model can integrate seams and lighting.
restrict_end_percentFLOAT1.000.05–1When restrict_img_attn is on: release the image<->image isolation at this fraction of the schedule. Identity locks in during the restricted window; the open steps afterwards integrate seams and lighting. 1.0 = restricted for the whole run (classic). 0.4-0.6 is a good cohesion sweet spot.
base_lorasoptKREA2_LORAS
unmaskable_layersoptCOMBOskipSome LoRA layers (timestep/modulation embedders from newer trainers) have no spatial token axis and can't be region-masked. 'skip' drops them from REGION LoRAs (safest for isolation); 'apply globally' keeps their full effect but it touches the whole image.

Outputs (2)

NameTypeDescription
MODELMODEL
CONDITIONINGCONDITIONING