• 版本 [version]
  • 下载 193
  • 文件大小 13496
  • 文件计数 1
  • 创建日期 2026年6月5日
  • 最后更新 2026年9月21日

removing-object-and-filling-with-background

removing-object-and-filling-with-background:基于 SDXL、IPAdapter 搭建的局部重绘方案,节点规模 29 个、连线 43 条。工作流主路径为 CLIPTextEncode ×2、SaveImage ×2、IPAdapterModelLoader ×1,配合 输出图像;节点已按执行顺序排布,便于二次修改。主模型 ip-adapter_sdxl_vit-h.bin、📷-XLRealismEngineSDXL_V2.0_FP16_VAE.safetensors、fooocus_inpaint_head.pth。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:ip-adapter_sdxl_vit-h.bin、📷-XLRealismEngineSDXL_V2.0_FP16_VAE.safetensors、fooocus_inpaint_head.pth
  • 核心节点:CLIPTextEncode ×2、SaveImage ×2、IPAdapterModelLoader ×1
  • 输出形式:输出图像
  • 规模:29 节点 / 43 连线
  • 建议显存:8GB 起
  • 适用场景:蒙版局部重绘、主体替换、材质替换与瑕疵修复。

工作流节点图

removing-object-and-filling-with-background 工作流节点图

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

资源头图

removing-object-and-filling-with-background

使用说明

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

源码预览

{
    "last_node_id": 72,
    "last_link_id": 172,
    "nodes": [
        {
            "id": 20,
            "type": "IPAdapterModelLoader",
            "pos": [
                1220,
                225
            ],
            "size": [
                315,
                58
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "outputs": [
                {
                    "name": "IPADAPTER",
                    "type": "IPADAPTER",
                    "links": [
                        29
                    ],
                    "shape": 3
                }
            ],
            "properties": {
                "Node name for S&R": "IPAdapterModelLoader"
            },
            "widgets_values": [
                "ip-adapter_sdxl_vit-h.bin"
            ],
            "color": "#323",
            "bgcolor": "#535"
        },
        {
            "id": 11,
            "type": "INPAINT_VAEEncodeInpaintConditioning",
            "pos": [
                2080,
                630
            ],
            "size": [
                292.20001220703125,
                106
            ],
            "flags": [],
            "order": 23,
            "mode": 0,
            "inputs": [
                {
                    "name": "positive",
                    "type": "CONDITIONING",
                    "link": 13
                },
                {
                    "name": "negative",
                    "type": "CONDITIONING",
                    "link": 14
                },
                {
                    "name": "vae",
                    "type": "VAE",
                    "link": 166
                },
                {
                    "name": "pixels",
                    "type": "IMAGE",
                    "link": 98
                },
                {
                    "name": "mask",
                    "type": "MASK",
                    "link": 122
                }
            ],
            "outputs": [
                {
                    "name": "positive",
                    "type": "CONDITIONING",
                    "links": [
                        7
                    ],
                    "shape": 3,
                    "slot_index": 0
                },
                {
                    "name": "negative",
                    "type": "CONDITIONING",
                    "links": [
                        8
                    ],
                    "shape": 3,
                    "slot_index": 1
                },
                {
                    "name": "latent_inpaint",
                    "type": "LATENT",
                    "links": [
                        20
                    ],
                    "shape": 3,
                    "slot_index": 2
                },
                {
                    "name": "latent_samples",
                    "type": "LATENT",
                    "links": [
                        9
                    ],
                    "shape": 3,
                    "slot_index": 3
                }
            ],
            "properties": {
                "Node name for S&R": "INPAINT_VAEEncodeInpaintConditioning"
            },
            "color": "#2a363b",
            "bgcolor": "#3f5159"
        },
        {
            "id": 28,
            "type": "SAMModelLoader (segment anything)",
            "pos": [
                -535,
                1305
            ],
            "size": [
                358.7974548339844,
                58
            ],
            "flags": [],
            "order": 1,
            "mode": 0,
            "outputs": [
                {
                    "name": "SAM_MODEL",
                    "type": "SAM_MODEL",
                    "links": 
… (完整内容请下载文件查看)

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

发表回复

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

提交评论