首页/ 节点库/ use the new Inpaint Crop node)
第三方插件 ComfyUI-Inpaint-CropAndStitch

use the new Inpaint Crop node)

use the new Inpaint Crop node 2026-01-30 收录 722 次浏览

节点中英文对比

ComfyUI 结构对照

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

中文节点 22 项
use the new Inpaint Crop node)
image stitch
遮罩 cropped_image
optional_context_mask cropped_mask
context_expand_pixels —
context_expand_factor —
fill_mask_holes —
blur_mask_pixels —
invert_mask —
blend_pixels —
rescale_algorithm —
mode —
force_width —
force_height —
rescale_factor —
min_width —
min_height —
max_width —
max_height —
padding —
英文节点 22 项
use the new Inpaint Crop node
image stitch
mask cropped_image
optional_context_mask cropped_mask
context_expand_pixels —
context_expand_factor —
fill_mask_holes —
blur_mask_pixels —
invert_mask —
blend_pixels —
rescale_algorithm —
mode —
force_width —
force_height —
rescale_factor —
min_width —
min_height —
max_width —
max_height —
padding —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

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

参数说明

输入 3 · 输出 3 · 控件 16

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

输入参数 3 项
image image
原始输入图像
遮罩 mask
修复区域遮罩
optional_context_mask optional_context_mask
额外的“必须保留为上下文”的区域。 处理流程里会把它和主掩码的上下文框合并,以确保这些区域也被包含到,以提升修复区域颜色、纹理、结构的一致性与无缝贴合效果。
输出参数 3 项
stitch stitch
包含缝合信息的字典(比如裁剪图在画布图中的位置与尺寸;用于后续将修复结果融合回原图)
cropped_image cropped_image
裁剪后的待修复图像区域
cropped_mask cropped_mask
裁剪后待修复图像的蒙版区域
控件参数 16 项
context_expand_pixels context_expand_pixels
上下文区域像素扩展量 默认值20
context_expand_factor context_expand_factor
上下文区域比例扩展因子 默认1.0
fill_mask_holes fill_mask_holes
自动填充封闭蒙版掩码内补的空隙 默认True
blur_mask_pixels blur_mask_pixels
掩码羽化半径(高斯模糊) 默认16
invert_mask invert_mask
反转掩码(修复未标记区域) 默认False
blend_pixels blend_pixels
缝合时边缘融合宽度 默认16.0
rescale_algorithm rescale_algorithm
裁剪区域缩放时使用的插值算法(nearest/bilinear/bicubic/bislerp/lanczos/box/hamming),影响缩放后图像的细节保留和边缘平滑度 默认值bicubic
mode mode
裁剪模式:free size自由尺寸/forced size固定尺寸/ranged size范围尺寸) 默认ranged size范围尺寸
force_width force_width
固定尺寸裁剪区域的宽度 默认1024
force_height force_height
固定尺寸裁剪区域的高度 默认1024
rescale_factor rescale_factor
尺寸的缩放比例 默认1
min_width min_width
范围尺寸最小宽度 默认512
min_height min_height
范围尺寸最小高度 默认512
max_width max_width
范围尺寸最大宽度 默认768
max_height max_height
范围尺寸最大高度 默认768
padding padding
对裁剪区域四周再加一圈安全边距(像素)。选项(0/8/16/32/64/128/256/512) 默认32

节点详解

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

常见问题

按节点参数整理
use the new Inpaint Crop node)有哪些输入参数?
共 3 个输入,包括 image(image)、遮罩(mask)、optional_context_mask(optional_context_mask)。
use the new Inpaint Crop node)的输出是什么?
共 3 个输出:stitch(stitch)、cropped_image(cropped_image)、cropped_mask(cropped_mask)。
use the new Inpaint Crop node)有哪些可调参数?
共 16 个控件参数,包括 context_expand_pixels(context_expand_pixels)、context_expand_factor(context_expand_factor)、fill_mask_holes(fill_mask_holes)、blur_mask_pixels(blur_mask_pixels)、invert_mask(invert_mask)、blend_pixels(blend_pixels)。
use the new Inpaint Crop node)属于哪个节点包?
属于「ComfyUI-Inpaint-CropAndStitch」,节点分类为「第三方插件」。

同类节点

ComfyUI-Inpaint-CropAndStitch