> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/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`      | INT    | 确定裁剪区域起始的x坐标，影响裁剪在原始潜在表示内的位置。              |
| `y`      | INT    | 确定裁剪区域起始的y坐标，设定裁剪在原始潜在表示内的位置。              |

## 输出

| 参数名称     | 数据类型   | 作用                   |
| -------- | ------ | -------------------- |
| `latent` | LATENT | 输出是应用了指定裁剪的修改后的潜在表示。 |
