ComfyUI Node
Krea Regions
Draw boxes for Krea Region Edit. Each box's description becomes its note. Boxes can also come from core bounding boxes, KJNodes BBOX, a JSON string, or a mask. Chain nodes to add boxes on other images.
Krea Regions
- editor_state
- background
- bboxes
- mask
- last_incoming
- regions
- regions
- preview
◄width1024►
◄height1024►
◄image_index1►
◄mask_boxesbox per blob►
◄bbox_tuple_formatxyxy►
CategoryKrea/utils
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 102464–16384 | — |
| height | INT | 102464–16384 | — |
| editor_state | BOUNDING_BOXES | Draw boxes; write each box's instruction in its description. | |
| image_index | INT | 11–8 | Which of the edit node's images these boxes are on (1 = the image being edited). |
| mask_boxes | COMBO | box per blob | 2 options: box per blob, one box |
| bbox_tuple_format | COMBO | xyxy | Layout of KJNodes BBOX tuples (Points Editor defaults to xyxy). |
| backgroundopt | IMAGE | The image the boxes are drawn on. | |
| bboxesopt | BOUNDING_BOX,BBOX,ARRAY,STRING | Boxes to start from: core BOUNDING_BOX or elements, KJNodes BBOX, or JSON. A new upstream value replaces the canvas; canvas edits are kept until it changes again. | |
| maskopt | MASK | Adds the bounding box(es) of this mask. | |
| last_incomingopt | BOUNDING_BOXES | Internal state of the canvas. | |
| regionsopt | KREA_REGIONS | Regions from another Krea Regions node to add to. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| regions | KREA_REGIONS | — |
| preview | IMAGE | — |