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

模特可控生成 图生图

这是一份开箱即用的换脸换装工作流(FLUX、ControlNet),拖入 ComfyUI 即可运行,全图 25 节点 / 30 连线。核心流程 LoraLoader ×2、PreviewImage ×2、DualCLIPLoader ×1,输出图像,参数已调好,替换输入图即可复现效果。主模型 FLUX.1-dev-ControlNet-Union-Pro-InstantX.safetensors。下载后直接导入即可使用,建议显存 12GB 起(建议 16GB 以上)。

  • 主模型:FLUX.1-dev-ControlNet-Union-Pro-InstantX.safetensors
  • 核心节点:LoraLoader ×2、PreviewImage ×2、DualCLIPLoader ×1
  • 输出形式:输出图像
  • 规模:25 节点 / 30 连线
  • 建议显存:12GB 起(建议 16GB 以上)
  • 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。

工作流节点图

模特可控生成 图生图 工作流节点图

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

资源头图

模特可控生成 图生图

使用说明

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

源码预览

{
    "id": "72da4dc8-9889-44ae-92da-c690fd37a75f",
    "revision": 0,
    "last_node_id": 139,
    "last_link_id": 273,
    "nodes": [
        {
            "id": 84,
            "type": "DualCLIPLoader",
            "pos": [
                -2879.00048828125,
                -26.999956130981445
            ],
            "size": [
                316.2579040527344,
                130
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "label": "CLIP",
                    "localized_name": "CLIP",
                    "name": "CLIP",
                    "shape": 3,
                    "type": "CLIP",
                    "slot_index": 0,
                    "links": [
                        224
                    ]
                }
            ],
            "properties": {
                "Node name for S&R": "DualCLIPLoader"
            },
            "widgets_values": [
                "clip_l",
                "t5xxl_fp8_e4m3fn",
                "flux",
                "default"
            ],
            "_widget_cache_map": []
        },
        {
            "id": 83,
            "type": "UNETLoader",
            "pos": [
                -2879.00048828125,
                -217.99996948242188
            ],
            "size": [
                315,
                82
            ],
            "flags": [],
            "order": 1,
            "mode": 0,
            "inputs": [],
            "outputs": [
                {
                    "label": "模型",
                    "localized_name": "模型",
                    "name": "MODEL",
                    "shape": 3,
                    "type": "MODEL",
                    "slot_index": 0,
                    "links": [
                        223
                    ]
                }
            ],
            "properties": {
                "Node name for S&R": "UNETLoader"
            },
            "widgets_values": [
                "基础算法_F.1",
                "fp8_e4m3fn"
            ],
            "_widget_cache_map": {
                "基础算法_F.1": {
                    "name": "基础算法_F.1",
                    "value": "412b427ddb674b4dbab9e5abd5ae6057"
                }
            }
        },
        {
            "id": 125,
            "type": "ShowText|pysssss",
            "pos": [
                -4201.8466796875,
                -105.82901000976562
            ],
            "size": [
                399.51361083984375,
                310.45916748046875
            ],
            "flags": [],
            "order": 15,
            "mode": 0,
            "inputs": [
                {
                    "label": "文本",
                    "name": "text",
                    "type": "STRING",
                    "widget": {
                        "name": "text"
                    },
                    "link": 242
                }
            ],
            "outputs": [
                {
                    "label": "字符串",
                    "localized_name": "字符串",
                    "name": "STRING",
                    "shape": 6,
                    "type": "STRING",
                    "slot_index": 0,
                    "links": []
                }
            ],
            "properties": {
                "Node name for S&R": "ShowText|pysssss"
            },
            "widgets_values": [
                "in detail. This photograph captures a joyful moment between a young woman and a cat. The woman, with her dark hair tied up in a bun, is seated on a modern, cream-colored leather office chair with a white metal frame and five casters. She wears a casual, short-sleeved white top and light blue denim shorts. Her feet are bare,
… (完整内容请下载文件查看)

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

发表回复

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

提交评论