• 版本 [version]
  • 下载 94
  • 文件大小 15584
  • 文件计数 1
  • 创建日期 2026年1月22日
  • 最后更新 2026年9月20日

去水印抹除物体工作流

去水印抹除物体工作流 是一套面向去水印场景的 ComfyUI 工作流,全图共 13 个节点、23 条连线。链路以 CLIPTextEncode ×2、INPAINT_LoadFooocusInpaint ×1、INPAINT_ApplyFooocusInpaint ×1 为主干,输出图像,适合需要稳定批量出图的同学。主模型 fooocus_inpaint_head.pth。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:fooocus_inpaint_head.pth
  • 核心节点:CLIPTextEncode ×2、INPAINT_LoadFooocusInpaint ×1、INPAINT_ApplyFooocusInpaint ×1
  • 输出形式:输出图像
  • 规模:13 节点 / 23 连线
  • 建议显存:8GB 起
  • 适用场景:水印、杂物、路人与多余元素的智能擦除与无痕填充。

资源头图

去水印抹除物体工作流

工作流节点图

去水印抹除物体工作流 工作流节点图

图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。

使用说明

下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。

源码预览

{
    "last_node_id": 27,
    "last_link_id": 51,
    "nodes": [
        {
            "id": 11,
            "type": "INPAINT_LoadFooocusInpaint",
            "pos": [
                427,
                73
            ],
            "size": [
                315,
                82
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "outputs": [
                {
                    "name": "INPAINT_PATCH",
                    "type": "INPAINT_PATCH",
                    "links": [
                        10
                    ],
                    "shape": 3,
                    "label": "局部重绘组件"
                }
            ],
            "properties": {
                "Node name for S&R": "INPAINT_LoadFooocusInpaint"
            },
            "widgets_values": [
                "fooocus_inpaint_head.pth",
                "inpaint_v26.fooocus.patch"
            ],
            "_widget_cache_map": [],
            "category": "Custom Nodes"
        },
        {
            "id": 10,
            "type": "INPAINT_ApplyFooocusInpaint",
            "pos": [
                530,
                215
            ],
            "size": [
                210,
                66
            ],
            "flags": [],
            "order": 8,
            "mode": 0,
            "inputs": [
                {
                    "name": "model",
                    "type": "MODEL",
                    "link": 22,
                    "label": "模型"
                },
                {
                    "name": "patch",
                    "type": "INPAINT_PATCH",
                    "link": 10,
                    "label": "局部重绘组件",
                    "slot_index": 1
                },
                {
                    "name": "latent",
                    "type": "LATENT",
                    "link": 21,
                    "label": "Latent"
                }
            ],
            "outputs": [
                {
                    "name": "MODEL",
                    "type": "MODEL",
                    "links": [
                        14
                    ],
                    "shape": 3,
                    "label": "模型",
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "INPAINT_ApplyFooocusInpaint"
            },
            "category": "Custom Nodes"
        },
        {
            "id": 15,
            "type": "INPAINT_VAEEncodeInpaintConditioning",
            "pos": [
                443,
                338
            ],
            "size": [
                292.20001220703125,
                106
            ],
            "flags": [],
            "order": 7,
            "mode": 0,
            "inputs": [
                {
                    "name": "positive",
                    "type": "CONDITIONING",
                    "link": 25,
                    "label": "正面条件"
                },
                {
                    "name": "negative",
                    "type": "CONDITIONING",
                    "link": 24,
                    "label": "负面条件"
                },
                {
                    "name": "vae",
                    "type": "VAE",
                    "link": 17,
                    "label": "VAE",
                    "slot_index": 2
                },
                {
                    "name": "pixels",
                    "type": "IMAGE",
                    "link": 19,
                    "label": "图像",
                    "slot_index": 3
                },
                {
                    "name": "mask",
                    "type": "MASK",
                    "link": 20,
                    "label": "遮罩"
                }
            ],
  
… (完整内容请下载文件查看)

代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。

发表回复

你的电子邮件地址不会被公开 * 为必填字段

提交评论