> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PrimitiveBoundingBox - ComfyUI Built-in Node Documentation

> Complete documentation for the PrimitiveBoundingBox node in ComfyUI. Learn its inputs, outputs, parameters and usage.

PrimitiveBoundingBox 节点创建一个由位置和大小定义的简单矩形区域。它接收左上角的 X 和 Y 坐标，以及宽度和高度值，并输出一个可供工作流中其他节点使用的边界框数据结构。

## 输入

| 参数   | 描述                   | 数据类型 | 是否必填 | 范围       |
| ---- | -------------------- | ---- | ---- | -------- |
| `x`  | 边界框左上角的 X 坐标（默认值：0）。 | INT  | 是    | 0 至 8192 |
| `y`  | 边界框左上角的 Y 坐标（默认值：0）。 | INT  | 是    | 0 至 8192 |
| `宽度` | 边界框的宽度（默认值：512）。     | INT  | 是    | 1 至 8192 |
| `高度` | 边界框的高度（默认值：512）。     | INT  | 是    | 1 至 8192 |

## 输出

| 输出名称           | 描述                                    | 数据类型          |
| -------------- | ------------------------------------- | ------------- |
| `bounding_box` | 包含所定义矩形的 `x`、`y`、`宽度` 和 `高度` 属性的数据结构。 | BOUNDING\_BOX |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/PrimitiveBoundingBox/zh.md)

***

**Source fingerprint (SHA-256):** `715f1a2bd650ecd6ba2ea3c1d54636bc32dff4fb4aec8f088ee9b0994809412c`
