ComfyUI Node
Create Bounding Boxes (Nodes 1.0)
Draw bounding boxes in a canvas that works in the classic Nodes 1.0 frontend. Outputs the same preview, pixel-space bounding boxes and prompt elements as the core Create Bounding Boxes node.
Create Bounding Boxes (Nodes 1.0)
- background
- bboxes
- preview
- bboxes
- elements
◄width1024►
◄height1024►
◄editor_state[]►
◄last_incoming[]►
Categoryutilities
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 102464–16384 | Width of the canvas and the pixel grid for the bounding boxes. Ignored (and hidden) when a background image is connected. |
| height | INT | 102464–16384 | Height of the canvas and the pixel grid for the bounding boxes. Ignored (and hidden) when a background image is connected. |
| editor_state | STRING | [] | Internal: the boxes drawn on the canvas, as JSON. |
| last_incoming | STRING | [] | Internal: the upstream bboxes value that last initialized the canvas. |
| backgroundopt | IMAGE | Optional image used as background in the canvas and preview. | |
| bboxesopt | BOUNDING_BOX,ARRAY,STRING | Bounding boxes, elements, or a JSON string to initialize the canvas. A new upstream value replaces the canvas; edits made afterwards are kept until it changes again. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| preview | IMAGE | — |
| bboxes | BOUNDING_BOX | — |
| elements | ARRAY | — |