Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The PrimitiveBoundingBox node creates a simple rectangular area defined by its position and size. It takes X and Y coordinates for the top-left corner, along with width and height values, and outputs a bounding box data structure that can be used by other nodes in a workflow.

Inputs

ParameterData TypeRequiredRangeDescription
xINTYes0 to 8192The X-coordinate for the top-left corner of the bounding box (default: 0).
yINTYes0 to 8192The Y-coordinate for the top-left corner of the bounding box (default: 0).
widthINTYes1 to 8192The width of the bounding box (default: 512).
heightINTYes1 to 8192The height of the bounding box (default: 512).

Outputs

Output NameData TypeDescription
bounding_boxBOUNDING_BOXA data structure containing the x, y, width, and height properties of the defined rectangle.

Source fingerprint (SHA-256): 3a91a1a2656fa46f8257334bbaf3bcba861ab91da8ebbfcefe7d5f3547dd307f