• 版本 [version]
  • 下载 62
  • 文件大小 12082
  • 文件计数 1
  • 创建日期 2025年10月28日
  • 最后更新 2026年9月21日

InstantID

这是一份开箱即用的换脸换装工作流(SDXL、ControlNet),拖入 ComfyUI 即可运行,全图 16 节点 / 17 连线。核心流程 CLIPTextEncode ×2、LoadImage ×2、EmptyLatentImage ×1,输出图像,默认输出 1016×1016,参数已调好,替换输入图即可复现效果。主模型 SDXLControlNet_For_InstantID.safetensors、ip-adapter.bin、SDXLxxmix9realisticsdxl_v10.safetensors。下载后直接导入即可使用,建议显存 8GB 起。

  • 主模型:SDXLControlNet_For_InstantID.safetensors、ip-adapter.bin、SDXLxxmix9realisticsdxl_v10.safetensors
  • 核心节点:CLIPTextEncode ×2、LoadImage ×2、EmptyLatentImage ×1
  • 输出形式:输出图像 · 1016×1016
  • 规模:16 节点 / 17 连线
  • 建议显存:8GB 起
  • 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。

工作流节点图

InstantID 工作流节点图

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

资源头图

InstantID

使用说明

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

源码预览

{
    "id": "76d7d69e-320c-463b-8f0f-57d6efd8b875",
    "revision": 0,
    "last_node_id": 75,
    "last_link_id": 226,
    "nodes": [
        {
            "id": 40,
            "type": "CLIPTextEncode",
            "pos": [
                280,
                430
            ],
            "size": [
                286.3603515625,
                112.35245513916016
            ],
            "flags": [],
            "order": 11,
            "mode": 0,
            "inputs": [
                {
                    "label": "clip",
                    "localized_name": "clip",
                    "name": "clip",
                    "type": "CLIP",
                    "link": 123
                },
                {
                    "localized_name": "text",
                    "name": "text",
                    "type": "STRING",
                    "widget": {
                        "name": "text"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "CONDITIONING",
                    "localized_name": "CONDITIONING",
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "slot_index": 0,
                    "links": [
                        204
                    ]
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.29",
                "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
                "photograph, deformed, glitch, noisy, realistic, stock photo"
            ]
        },
        {
            "id": 5,
            "type": "EmptyLatentImage",
            "pos": [
                270,
                590
            ],
            "size": [
                315,
                106
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [
                {
                    "localized_name": "width",
                    "name": "width",
                    "type": "INT",
                    "widget": {
                        "name": "width"
                    },
                    "link": null
                },
                {
                    "localized_name": "height",
                    "name": "height",
                    "type": "INT",
                    "widget": {
                        "name": "height"
                    },
                    "link": null
                },
                {
                    "localized_name": "batch_size",
                    "name": "batch_size",
                    "type": "INT",
                    "widget": {
                        "name": "batch_size"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "LATENT",
                    "localized_name": "LATENT",
                    "name": "LATENT",
                    "type": "LATENT",
                    "slot_index": 0,
                    "links": [
                        2
                    ]
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.29",
                "Node name for S&R": "EmptyLatentImage"
            },
            "widgets_values": [
                1016,
                1016,
                1
            ]
        },
        {
            "id": 3,
            "type": "KSampler",
            "pos": [
                1010,
                250
            ],
            "size": [
                315,
                262
            ],
            "flags": [],
            "
… (完整内容请下载文件查看)

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

发表回复

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

提交评论