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

# ImageCompositeMasked - ComfyUI Built-in Node Documentation

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

此节点设计用于组合图像，允许将源图像覆盖在目标图像上，在指定坐标处进行叠加，可选择调整大小和使用遮罩。

## 输入

| 参数名称     | 数据类型      | 作用                                                   |
| -------- | --------- | ---------------------------------------------------- |
| `目标图像`   | `IMAGE`   | 目标图像，源图像将组合在此图像上。它作为组合操作的背景。                         |
| `来源图像`   | `IMAGE`   | 要组合到目标图像上的源图像。此图像可以选择性地调整大小以适应目标图像的尺寸。               |
| `x`      | `INT`     | 在目标图像中，源图像左上角放置的x坐标。                                 |
| `y`      | `INT`     | 在目标图像中，源图像左上角放置的y坐标。                                 |
| `缩放来源图像` | `BOOLEAN` | 一个布尔标志，指示是否应调整源图像的尺寸以匹配目标图像的尺寸。                      |
| `遮罩`     | `MASK`    | 一个可选的遮罩，指定应将源图像的哪些部分组合到目标图像上。这允许进行更复杂的组合操作，如混合或部分叠加。 |

## 输出

| 参数名称    | 数据类型    | 作用                                 |
| ------- | ------- | ---------------------------------- |
| `image` | `IMAGE` | 图像组合操作后的结果图像，根据指定参数结合了源图像和目标图像的元素。 |
