• 版本 [version]
  • 下载 44
  • 文件大小 8123
  • 文件计数 1
  • 创建日期 2025年11月25日
  • 最后更新 2026年9月21日

InstantID

InstantID:基于 SDXL、ControlNet 搭建的换脸换装方案,节点规模 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 目录。

源码预览

{
    "last_node_id": 72,
    "last_link_id": 226,
    "nodes": [
        {
            "id": 40,
            "type": "CLIPTextEncode",
            "pos": [
                280,
                430
            ],
            "size": [
                286.3603515625,
                112.35245513916016
            ],
            "flags": [],
            "order": 11,
            "mode": 0,
            "inputs": [
                {
                    "name": "clip",
                    "type": "CLIP",
                    "link": 123,
                    "label": "clip"
                }
            ],
            "outputs": [
                {
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "links": [
                        204
                    ],
                    "slot_index": 0,
                    "shape": 3,
                    "label": "CONDITIONING"
                }
            ],
            "properties": {
                "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": [],
            "outputs": [
                {
                    "name": "LATENT",
                    "type": "LATENT",
                    "links": [
                        2
                    ],
                    "slot_index": 0,
                    "label": "LATENT"
                }
            ],
            "properties": {
                "Node name for S&R": "EmptyLatentImage"
            },
            "widgets_values": [
                1016,
                1016,
                1
            ]
        },
        {
            "id": 3,
            "type": "KSampler",
            "pos": [
                1010,
                250
            ],
            "size": [
                315,
                262
            ],
            "flags": [],
            "order": 13,
            "mode": 0,
            "inputs": [
                {
                    "name": "model",
                    "type": "MODEL",
                    "link": 220,
                    "label": "model"
                },
                {
                    "name": "positive",
                    "type": "CONDITIONING",
                    "link": 200,
                    "label": "positive"
                },
                {
                    "name": "negative",
                    "type": "CONDITIONING",
                    "link": 201,
                    "label": "negative"
                },
                {
                    "name": "latent_image",
                    "type": "LATENT",
                    "link": 2,
                    "label": "latent_image"
                }
            ],
            "outputs": [
                {
                    "name": "LATENT",
                    "type": "LATENT",
                    "links": [
                        7
                    ],
                    "slot_index": 0,
                    "label": "LATENT"
                }
            ],
            "properties": {
                "Node name for S&R": "KSampler"
            },
            "widgets_values": [
                505172842035287,
                "randomize",
                30,
                4.5,
                "dpmpp_2m",
                "karras",
                1
            ]
        },
        {
            "id": 8,

… (完整内容请下载文件查看)

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

发表回复

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

提交评论