首页/ 节点库/ Image Prep For ICLora
第三方插件 ComfyUI-KJNodes

Image Prep For ICLora

将参考图像按比例缩放到指定高度,并与潜在图像(latent_image)拼接在一起,拼接时可以加入中间的边框宽度(border_width)。同时也会生成一个对应的掩码,用于区分参考区域与扩展区域。Image Prep For

Image Prep For ICLora 2026-01-28 收录 573 次浏览

节点中英文对比

ComfyUI 结构对照

按当前节点配置,分别展示中文与英文节点结构。面板按 ComfyUI 实际界面还原: 左侧圆点是输入,右侧圆点与该行最右的名称为输出,下方胶囊是控件参数; 控件两端的三角表示可切换的选项。

中文节点 9 项
Image Prep For ICLora
reference_image IMAGE
Latent图像 遮罩
latent_mask
reference_mask
output_width —
output_height —
border_width —
英文节点 9 项
Image Prep For ICLora
reference_image IMAGE
latent_image MASK
latent_mask
reference_mask
output_width —
output_height —
border_width —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

面板用于对照参数位置与命名,不做交互;实际节点外观以 ComfyUI 内的主题为准。

参数说明

输入 4 · 输出 2 · 控件 3

依据当前节点关联的 NodesItems 数据,按输入、输出、控件三类分别列出名称与说明。

输入参数 4 项
reference_image reference_image
参考图像,通常用于插入角色或遮罩内容的主图。
Latent图像 latent_image
待拼接的 latent 区图像,作为输出图右半部分。可选,用于 ICLora 风格生成时作为右图补充。
latent_mask latent_mask
latent 区图像的掩码,用于构建输出掩码。如果提供,将用于构造 final mask 的右半部分。
reference_mask reference_mask
参考图像对应的遮罩,用于裁剪参考图区域。为 None 或全黑时将忽略,非空时将裁剪参考图。
输出参数 2 项
IMAGE IMAGE
合成后的图像,包含左侧参考图、可选边界与右侧 latent 图。
遮罩 MASK
表示参考图与 latent 区域分隔的掩码。
控件参数 3 项
output_width output_width
最终输出图像的目标宽度(像素)。
output_height output_height
最终输出图像的目标高度(像素)。
border_width border_width
参考图像与 latent 图之间的间隔边界宽度(像素)。

节点详解

原理 · 用法 · 常见问题
暂无节点说明

常见问题

按节点参数整理
Image Prep For ICLora是做什么的?
将参考图像按比例缩放到指定高度,并与潜在图像(latent_image)拼接在一起,拼接时可以加入中间的边框宽度(border_width)。同时也会生成一个对应的掩码,用于区分参考区域与扩展区域。Image Prep For
Image Prep For ICLora有哪些输入参数?
共 4 个输入,包括 reference_image(reference_image)、Latent图像(latent_image)、latent_mask(latent_mask)、reference_mask(reference_mask)。
Image Prep For ICLora的输出是什么?
共 2 个输出:IMAGE(IMAGE)、遮罩(MASK)。
Image Prep For ICLora有哪些可调参数?
共 3 个控件参数,包括 output_width(output_width)、output_height(output_height)、border_width(border_width)。
Image Prep For ICLora属于哪个节点包?
属于「ComfyUI-KJNodes」,节点分类为「第三方插件」。

同类节点

ComfyUI-KJNodes