For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /nodes/03/InpaintModelConditioning.md.

内补模型条件(InpaintModelConditioning)

InpaintModelConditioningmodel/conditioning角色:条件修饰★ 常用节点

InpaintModelConditioning 节点旨在简化修复模型的条件处理流程,支持集成和操作多种条件输入以定制修复输出。它涵盖从加载特定模型检查点、应用样式或控制网络模型,到编码和组合条件元素等广泛功能,是自定义修复任务的综合工具。

参数

参数类型默认 / 范围说明
positiveCONDITIONING · 条件—(连线输入)你希望出现的内容,来自 CLIPTextEncode。
negativeCONDITIONING · 条件—(连线输入)你不希望出现的内容,CFG>1 时才生效。
vaeVAE · 自编码器—(连线输入)指定条件处理过程中使用的 VAE 模型。此输入对于确定将使用的 VAE 模型的具体架构和参数至关重要。
pixelsIMAGE · 图像—(连线输入)IMAGE。
maskMASK · 遮罩—(连线输入)白色区域参与运算。
noise_maskBOOLEAN · 布尔true / false需接入 RandomNoise / DisableNoise 等噪声节点,自定义采样流程必填。

输出

输出类型说明
positiveCONDITIONING条件
negativeCONDITIONING条件
latentLATENT潜空间

怎么接

  • 上游:CLIPTextEncode / 条件节点
  • 下游:KSampler.positive / negative
  • 接线:上游接 CLIPTextEncode 出来的条件,输出继续接 KSampler 的 positive/negative;多个条件修饰可以串联,后面的会覆盖或叠加前面的区域/强度设置。

使用案例

属于「条件修饰」类节点,向下游提供条件,最终进采样器的 positive 或 negative。从 positive、negative、vae 开始填就能跑起来。典型接法:CLIPTextEncode → 本节点 → KSampler.positive。注意:遮罩白色为生效区、黑色为忽略区;边缘务必羽化 8-32px 避免硬边。

端口与连线示意

InpaintModelConditioning 端口与连线示意

实战提示

  • 遮罩白色为生效区、黑色为忽略区;边缘务必羽化 8-32px 避免硬边。

同类节点

ClipSetLastLayer · ClipTextEncode · CLIP视觉编码 · 参考Latent · 应用风格模型 · 音频编码器编码 · CLIP文本编码(ControlNet) · 规格化视频Latent · PiD 条件处理 · 多参考潜空间 · ReferenceTimbreAudio · 保存条件