- 版本 [version]
- 下载 123
- 文件大小 81620
- 文件计数 1
- 创建日期 2026年7月14日
- 最后更新 2026年9月20日
【无痕擦除】一键智能涂抹擦除 无痕填充
这是一份开箱即用的去水印工作流(ControlNet),拖入 ComfyUI 即可运行,全图 30 节点 / 47 连线。核心流程 ConstrainImage|pysssss ×2、CLIPTextEncode ×2、KSampler ×2,输出图像,参数已调好,替换输入图即可复现效果。主模型 fooocus_inpaint_head.pth。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:fooocus_inpaint_head.pth
- 核心节点:ConstrainImage|pysssss ×2、CLIPTextEncode ×2、KSampler ×2
- 输出形式:输出图像
- 规模:30 节点 / 47 连线
- 建议显存:8GB 起
- 适用场景:水印、杂物、路人与多余元素的智能擦除与无痕填充。
资源头图

工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"id": "08f948cb-f24a-4d64-8da8-2f461ad97bd2",
"revision": 0,
"last_node_id": 118,
"last_link_id": 177,
"nodes": [
{
"id": 52,
"type": "VAEEncodeForInpaint",
"pos": [
-1900.9091796875,
1432.727294921875
],
"size": [
320,
100
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"label": "图像",
"name": "pixels",
"type": "IMAGE",
"link": 62
},
{
"label": "VAE",
"name": "vae",
"type": "VAE",
"link": 63
},
{
"label": "遮罩",
"name": "mask",
"type": "MASK",
"link": 64
}
],
"outputs": [
{
"label": "Latent",
"name": "LATENT",
"shape": 3,
"type": "LATENT",
"slot_index": 0,
"links": [
74
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"Node name for S&R": "VAEEncodeForInpaint"
},
"widgets_values": [
0
],
"color": "#432",
"bgcolor": "#653",
"_widget_cache_map": []
},
{
"id": 57,
"type": "SetLatentNoiseMask",
"pos": [
-1900.9091796875,
1672.727294921875
],
"size": [
321.345458984375,
50.855377197265625
],
"flags": {
"collapsed": false
},
"order": 21,
"mode": 0,
"inputs": [
{
"label": "Latent",
"name": "samples",
"type": "LATENT",
"link": 75
},
{
"label": "遮罩",
"name": "mask",
"type": "MASK",
"link": 76
}
],
"outputs": [
{
"label": "Latent",
"name": "LATENT",
"shape": 3,
"type": "LATENT",
"slot_index": 0,
"links": [
84
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"Node name for S&R": "SetLatentNoiseMask"
},
"widgets_values": [],
"color": "#432",
"bgcolor": "#653",
"_widget_cache_map": []
},
{
"id": 45,
"type": "ConstrainImage|pysssss",
"pos": [
-2540.908935546875,
2102.728271484375
],
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



