• 版本 [version]
  • 下载 109
  • 文件大小 90065
  • 文件计数 1
  • 创建日期 2025年11月24日
  • 最后更新 2026年9月20日

【一键换装】超高还原度工作流

【一键换装】超高还原度工作流:基于 FLUX、ControlNet 搭建的换脸换装方案,节点规模 170 个、连线 205 条。工作流主路径为 PreviewImage ×17、easy imageSize ×10、CLIPTextEncode ×7,配合 输出图像;节点已按执行顺序排布,便于二次修改。主模型 sam_vit_b_01ec64.pth、FLUX.1-dev-Controlnet-Inpainting-Beta.safetensors、sam_hq_vit_h.pth。下载后直接导入即可使用,建议显存 12GB 起(建议 16GB 以上)。

  • 主模型:sam_vit_b_01ec64.pth、FLUX.1-dev-Controlnet-Inpainting-Beta.safetensors、sam_hq_vit_h.pth
  • 核心节点:PreviewImage ×17、easy imageSize ×10、CLIPTextEncode ×7
  • 输出形式:输出图像
  • 规模:170 节点 / 205 连线
  • 建议显存:12GB 起(建议 16GB 以上)
  • 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。

工作流节点图

【一键换装】超高还原度工作流 工作流节点图

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

资源头图

【一键换装】超高还原度工作流

使用说明

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

源码预览

{
    "last_node_id": 705,
    "last_link_id": 999,
    "nodes": [
        {
            "id": 435,
            "type": "KSamplerSelect",
            "pos": [
                -3390,
                1560
            ],
            "size": [
                230,
                60
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "SAMPLER",
                    "type": "SAMPLER",
                    "links": [
                        510
                    ],
                    "shape": 3,
                    "label": "采样器"
                }
            ],
            "properties": {
                "Node name for S&R": "KSamplerSelect"
            },
            "widgets_values": [
                "euler"
            ],
            "_widget_cache_map": [],
            "category": "Custom Nodes"
        },
        {
            "id": 439,
            "type": "ModelSamplingFlux",
            "pos": [
                -3730,
                1260
            ],
            "size": [
                290,
                122
            ],
            "flags": [],
            "order": 122,
            "mode": 0,
            "inputs": [
                {
                    "name": "model",
                    "type": "MODEL",
                    "link": 516,
                    "slot_index": 0,
                    "label": "模型"
                },
                {
                    "name": "width",
                    "type": "INT",
                    "link": 517,
                    "slot_index": 1,
                    "widget": {
                        "name": "width"
                    },
                    "label": "宽度"
                },
                {
                    "name": "height",
                    "type": "INT",
                    "link": 518,
                    "slot_index": 2,
                    "widget": {
                        "name": "height"
                    },
                    "label": "高度"
                }
            ],
            "outputs": [
                {
                    "name": "MODEL",
                    "type": "MODEL",
                    "links": [
                        513,
                        532
                    ],
                    "slot_index": 0,
                    "shape": 3,
                    "label": "模型"
                }
            ],
            "properties": {
                "Node name for S&R": "ModelSamplingFlux"
            },
            "widgets_values": [
                1.15,
                0.5,
                1024,
                672
            ],
            "_widget_cache_map": [],
            "category": "Custom Nodes"
        },
        {
            "id": 453,
            "type": "Reroute",
            "pos": [
                -3440,
                -100
            ],
            "size": [
                75,
                26
            ],
            "flags": [],
            "order": 113,
            "mode": 0,
            "inputs": [
                {
                    "name": "",
                    "type": "*",
                    "link": 723
                }
            ],
            "outputs": [
                {
                    "name": "",
                    "type": "MASK",
                    "links": [
                        522,
                        531
                    ]
                }
            ],
            "properties": {
                "showOutputText": false,
                "horizontal": false
            },
            "category": "Primitive Nodes"
        },
        {
            "id": 468,
            "type": "easy imageSize",
            "pos": [
    
… (完整内容请下载文件查看)

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

发表回复

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

提交评论