ComfyUI Node
Krea2 Regions from Ideogram JSON
A ComfyUI node in conditioning/krea2_regional with 17 inputs and 6 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | CLIP | — | |
| caption_json | STRING | Wire the KJ builder's `prompt` output here, or paste the caption JSON directly. | |
| width | INT | 102464–16384 | — |
| height | INT | 102464–16384 | — |
| grow_px | INT | 00–512 | Dilate every bbox mask by this many pixels. |
| feather_px | INT | 00–512 | Gaussian-soften mask edges. Soft values feather regional-LoRA strength; the attention mask binarizes at 0.5. |
| coord_mode | COMBO | normalized | Match the KJ builder's toolbar setting (normalized 0-1000 grid vs absolute pixels). |
| bbox_order | COMBO | yx | Match the KJ builder's toolbar setting (yx = Ideogram [ymin,xmin,ymax,xmax]; xy = Qwen [xmin,ymin,xmax,ymax]). |
| lora_map | STRING | One 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_base | BOOLEAN | true | — |
| include_unplaced_in_base | BOOLEAN | true | Elements without a bbox get folded into the base prompt. |
| include_palettes | BOOLEAN | false | — |
| base_prepend | STRING | Prepended to the base prompt (global LoRA trigger words etc.). | |
| base_append | STRING | — | |
| region_append | STRING | Appended to every region prompt (shared style tag etc.). | |
| prev_regionsopt | KREA2_REGIONS | — | |
| extra_base_lorasopt | KREA2_LORAS | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| regions | KREA2_REGIONS | — |
| base_conditioning | CONDITIONING | — |
| base_loras | KREA2_LORAS | — |
| masks | MASK | — |
| base_prompt | STRING | — |
| region_prompts | STRING | — |