• 版本 [version]
  • 下载 41
  • 文件大小 27708
  • 文件计数 1
  • 创建日期 2026年3月18日
  • 最后更新 2026年9月21日

08_换脸

08_换脸:基于 PuLID 搭建的换脸换装方案,节点规模 31 个、连线 44 条。工作流主路径为 ImageResize+ ×2、CLIPTextEncode ×2、LoadImage ×2,配合 输出图像;节点已按执行顺序排布,便于二次修改。主模型 pulid_flux_v0.9.1.safetensors。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:pulid_flux_v0.9.1.safetensors
  • 核心节点:ImageResize+ ×2、CLIPTextEncode ×2、LoadImage ×2
  • 输出形式:输出图像
  • 规模:31 节点 / 44 连线
  • 建议显存:8GB 起
  • 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。

工作流节点图

08_换脸 工作流节点图

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

资源头图

08_换脸

使用说明

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

源码预览

{
    "last_node_id": 343,
    "last_link_id": 469,
    "nodes": [
        {
            "id": 61,
            "type": "Reroute",
            "pos": [
                1056.343505859375,
                1599.5556640625
            ],
            "size": [
                75,
                26
            ],
            "flags": [],
            "order": 18,
            "mode": 0,
            "inputs": [
                {
                    "name": "",
                    "type": "*",
                    "link": 343
                }
            ],
            "outputs": [
                {
                    "name": "",
                    "type": "IMAGE",
                    "links": [
                        33
                    ],
                    "slot_index": 0
                }
            ],
            "properties": {
                "showOutputText": false,
                "horizontal": false,
                "ttNbgOverride": {
                    "color": "#322",
                    "bgcolor": "#533",
                    "groupcolor": "#A88"
                }
            }
        },
        {
            "id": 333,
            "type": "VAELoader",
            "pos": [
                102.34345245361328,
                1376.555419921875
            ],
            "size": [
                315,
                58
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "VAE",
                    "type": "VAE",
                    "links": [
                        439,
                        447
                    ],
                    "slot_index": 0
                }
            ],
            "properties": {
                "Node name for S&R": "VAELoader"
            },
            "widgets_values": [
                "ae.sft"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 338,
            "type": "DualCLIPLoader",
            "pos": [
                98.34345245361328,
                1223.555419921875
            ],
            "size": [
                315,
                106
            ],
            "flags": [],
            "order": 1,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "name": "CLIP",
                    "type": "CLIP",
                    "links": [
                        451,
                        452
                    ],
                    "slot_index": 0,
                    "shape": 3,
                    "label": "CLIP"
                }
            ],
            "properties": {
                "Node name for S&R": "DualCLIPLoader"
            },
            "widgets_values": [
                "t5xxl_fp16",
                "clip_l",
                "flux"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 217,
            "type": "MaskBlur+",
            "pos": [
                2329.342041015625,
                1315.555419921875
            ],
            "size": [
                210,
                82
            ],
            "flags": {
                "collapsed": true
            },
            "order": 19,
            "mode": 0,
            "inputs": [
                {
                    "name": "mask",
                    "type": "MASK",
                    "link": 359,
                    "label": "遮罩"
                }
            ],
            "outputs": [
                {
                    "name": "MASK",
                    "type": "MASK",
                    "links": [
                        330,
                        366
                    ],
                    "slot_index": 0,
 
… (完整内容请下载文件查看)

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

发表回复

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

提交评论