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

# ControlNetInpaintingAliMamaApply - ComfyUI Built-in Node Documentation

> ControlNetInpaintingAliMamaApply 节点通过将正向和负向 conditioning 与控制图像和遮罩相结合，为修复（inpainting）任务应用 ControlNet conditioning。

ControlNetInpaintingAliMamaApply 节点通过将正向和负向 conditioning 与控制图像和遮罩相结合，为修复（inpainting）任务应用 ControlNet conditioning。它处理输入图像和遮罩，生成修改后的 conditioning，以引导生成过程，从而精确控制图像中哪些区域被修复。该节点支持强度调整和时间控制，可在生成过程的不同阶段微调 ControlNet 的影响。

## 输入

| 参数           | 描述                                                         | 数据类型         | 必需 | 范围         |
| ------------ | ---------------------------------------------------------- | ------------ | -- | ---------- |
| `正面条件`       | 用于引导生成朝向期望内容的正向 conditioning                               | CONDITIONING | 是  | -          |
| `负面条件`       | 用于引导生成远离不需要内容的负向 conditioning                              | CONDITIONING | 是  | -          |
| `ControlNet` | 用于为生成过程提供额外控制的 ControlNet 模型                               | CONTROL\_NET | 是  | -          |
| `vae`        | 用于编码和解码图像的 VAE（变分自编码器）                                     | VAE          | 是  | -          |
| `图像`         | 用作 ControlNet 控制引导的输入图像                                    | IMAGE        | 是  | -          |
| `遮罩`         | 定义图像中应予修复区域的遮罩                                             | MASK         | 是  | -          |
| `强度`         | ControlNet 效果的强度（默认值：1.0，步长：0.01）                          | FLOAT        | 是  | 0.0 到 10.0 |
| `开始百分比`      | 高级参数。ControlNet 影响在生成过程中开始作用的起始点（以百分比表示）（默认值：0.0，步长：0.001） | FLOAT        | 是  | 0.0 到 1.0  |
| `结束百分比`      | 高级参数。ControlNet 影响在生成过程中停止作用的终止点（以百分比表示）（默认值：1.0，步长：0.001） | FLOAT        | 是  | 0.0 到 1.0  |

**注意：** 当 ControlNet 启用了 `concat_mask` 时，遮罩会被反转并应用到图像上后再进行处理，同时反转后的遮罩也会包含在发送给 ControlNet 的额外拼接数据中。

## 输出

| 输出名    | 描述                                     | 数据类型         |
| ------ | -------------------------------------- | ------------ |
| `正面条件` | 应用 ControlNet 后用于修复的修改后正向 conditioning | CONDITIONING |
| `负面条件` | 应用 ControlNet 后用于修复的修改后负向 conditioning | CONDITIONING |

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

***

**Source fingerprint (SHA-256):** `307b55c7b4936826b9e4424c172248fa4b41921c2362de724e5cfa2f1c25de68`
