Nodes/BBox Canvas for Nodes 1.0/Create Bounding Boxes (Nodes 1.0)
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.

By MoistRecognition69·Created 5 days ago·Updated 5 days ago· 2
Create Bounding Boxes (Nodes 1.0)
  • background
  • bboxes
  • preview
  • bboxes
  • elements
◄width1024►
◄height1024►
◄editor_state[]►
◄last_incoming[]►
Categoryutilities

Inputs (6)

NameTypeDefaultDescription
widthINT102464–16384Width of the canvas and the pixel grid for the bounding boxes. Ignored (and hidden) when a background image is connected.
heightINT102464–16384Height of the canvas and the pixel grid for the bounding boxes. Ignored (and hidden) when a background image is connected.
editor_stateSTRING[]Internal: the boxes drawn on the canvas, as JSON.
last_incomingSTRING[]Internal: the upstream bboxes value that last initialized the canvas.
backgroundoptIMAGEOptional image used as background in the canvas and preview.
bboxesoptBOUNDING_BOX,ARRAY,STRINGBounding 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)

NameTypeDescription
previewIMAGE—
bboxesBOUNDING_BOX—
elementsARRAY—