• 版本 [version]
  • 下载 170
  • 文件大小 40420
  • 文件计数 1
  • 创建日期 2026年8月23日
  • 最后更新 2026年9月21日

03_物体去除

03_物体去除 是一套面向局部重绘场景的 ComfyUI 工作流,全图共 47 个节点、72 条连线。链路以 CLIPTextEncode ×4、PreviewImage ×3、DifferentialDiffusion ×2 为主干,输出图像,适合需要稳定批量出图的同学。主模型 depth_anything_v2_vitl.pth、fooocus_inpaint_head.pth。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:depth_anything_v2_vitl.pth、fooocus_inpaint_head.pth
  • 核心节点:CLIPTextEncode ×4、PreviewImage ×3、DifferentialDiffusion ×2
  • 输出形式:输出图像
  • 规模:47 节点 / 72 连线
  • 建议显存:8GB 起
  • 适用场景:蒙版局部重绘、主体替换、材质替换与瑕疵修复。

工作流节点图

03_物体去除 工作流节点图

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

资源头图

03_物体去除

使用说明

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

源码预览

{
    "last_node_id": 93,
    "last_link_id": 194,
    "nodes": [
        {
            "id": 51,
            "type": "GetNode",
            "pos": [
                1776.6346435546875,
                -616.9581909179688
            ],
            "size": [
                210,
                58
            ],
            "flags": {
                "collapsed": false
            },
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "IMAGE",
                    "type": "IMAGE",
                    "links": [
                        78
                    ],
                    "slot_index": 0
                }
            ],
            "title": "Get_img",
            "properties": [],
            "widgets_values": [
                "img"
            ],
            "_widget_cache_map": [],
            "color": "#2a363b",
            "bgcolor": "#3f5159"
        },
        {
            "id": 69,
            "type": "AnyLineArtPreprocessor_aux",
            "pos": [
                981.57373046875,
                1091.091064453125
            ],
            "size": [
                369.4762268066406,
                185.88470458984375
            ],
            "flags": {
                "collapsed": true
            },
            "order": 26,
            "mode": 0,
            "inputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "link": 133,
                    "label": "图像"
                }
            ],
            "outputs": [
                {
                    "name": "image",
                    "type": "IMAGE",
                    "links": [
                        129
                    ],
                    "slot_index": 0,
                    "label": "图像"
                }
            ],
            "properties": {
                "Node name for S&R": "AnyLineArtPreprocessor_aux"
            },
            "widgets_values": [
                "lineart_standard",
                1024,
                0.5,
                0.5,
                32,
                1
            ],
            "_widget_cache_map": []
        },
        {
            "id": 39,
            "type": "Mask Fill Holes",
            "pos": [
                70.76687622070312,
                556.0169677734375
            ],
            "size": [
                343.9169921875,
                26
            ],
            "flags": {
                "collapsed": true
            },
            "order": 18,
            "mode": 0,
            "inputs": [
                {
                    "name": "masks",
                    "type": "MASK",
                    "link": 181,
                    "label": "遮罩"
                }
            ],
            "outputs": [
                {
                    "name": "MASKS",
                    "type": "MASK",
                    "links": [
                        136
                    ],
                    "slot_index": 0,
                    "label": "遮罩"
                }
            ],
            "properties": {
                "Node name for S&R": "Mask Fill Holes"
            },
            "widgets_values": [],
            "_widget_cache_map": []
        },
        {
            "id": 50,
            "type": "SetNode",
            "pos": [
                2702.8203125,
                -118.8739242553711
            ],
            "size": [
                306.7917175292969,
                58
            ],
            "flags": {
                "collapsed": true
            },
            "order": 45,
            "mode": 0,
            "inputs": [
                {
                    "name": "IMAGE",
                    "typ
… (完整内容请下载文件查看)

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

发表回复

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

提交评论