> ## 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.

# LatentCrop - ComfyUI Built-in Node Documentation

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

LatentCrop 节点用于对图像的潜在表示执行裁剪操作。它允许指定裁剪的尺寸和位置，从而实现对潜在空间的目标性修改。

## 输入

| 参数       | 描述                                          | 数据类型     |
| -------- | ------------------------------------------- | -------- |
| `Latent` | `Latent` 参数代表待裁剪的潜在表示。它对于定义将要执行裁剪操作的数据至关重要。 | `LATENT` |
| `宽度`     | 指定裁剪区域的宽度。它直接影响输出潜在表示的尺寸。                   | `INT`    |
| `高度`     | 指定裁剪区域的高度，影响最终裁剪后潜在表示的大小。                   | `INT`    |
| `x`      | 确定裁剪区域的起始 x 坐标，影响裁剪在原始潜在表示中的位置。             | `INT`    |
| `y`      | 确定裁剪区域的起始 y 坐标，设定裁剪在原始潜在表示中的位置。             | `INT`    |

## 输出

| 参数       | 描述                   | 数据类型     |
| -------- | -------------------- | -------- |
| `latent` | 输出为应用了指定裁剪后的修改版潜在表示。 | `LATENT` |

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