Nodes/Krea2 Regional/Krea2 Regions from Ideogram JSON
ComfyUI Node

Krea2 Regions from Ideogram JSON

A ComfyUI node in conditioning/krea2_regional with 17 inputs and 6 outputs.

By januspluto·Created about a month ago·Updated 12 days ago· 6
Krea2 Regions from Ideogram JSON
  • clip
  • prev_regions
  • extra_base_loras
  • regions
  • base_conditioning
  • base_loras
  • masks
  • base_prompt
  • region_prompts
caption_json
width1024
height1024
grow_px0
feather_px0
coord_modenormalized
bbox_orderyx
lora_map
include_style_in_basetrue
include_unplaced_in_basetrue
include_palettesfalse
base_prepend
base_append
region_append
Categoryconditioning/krea2_regional

Inputs (17)

NameTypeDefaultDescription
clipCLIP
caption_jsonSTRINGWire the KJ builder's `prompt` output here, or paste the caption JSON directly.
widthINT102464–16384
heightINT102464–16384
grow_pxINT00–512Dilate every bbox mask by this many pixels.
feather_pxINT00–512Gaussian-soften mask edges. Soft values feather regional-LoRA strength; the attention mask binarizes at 0.5.
coord_modeCOMBOnormalizedMatch the KJ builder's toolbar setting (normalized 0-1000 grid vs absolute pixels).
bbox_orderCOMBOyxMatch the KJ builder's toolbar setting (yx = Ideogram [ymin,xmin,ymax,xmax]; xy = Qwen [xmin,ymin,xmax,ymax]).
lora_mapSTRINGOne rule per line: matcher => lora_name @ strength matcher: * (all regions), base (base prompt), an integer (1-based region order), or a substring of the region's desc. e.g. wizard => mychar @ 0.9 Inline <lora:name:0.8> tags inside descs also work.
include_style_in_baseBOOLEANtrue
include_unplaced_in_baseBOOLEANtrueElements without a bbox get folded into the base prompt.
include_palettesBOOLEANfalse
base_prependSTRINGPrepended to the base prompt (global LoRA trigger words etc.).
base_appendSTRING
region_appendSTRINGAppended to every region prompt (shared style tag etc.).
prev_regionsoptKREA2_REGIONS
extra_base_lorasoptKREA2_LORAS

Outputs (6)

NameTypeDescription
regionsKREA2_REGIONS
base_conditioningCONDITIONING
base_lorasKREA2_LORAS
masksMASK
base_promptSTRING
region_promptsSTRING