- 版本 [version]
- 下载 82
- 文件大小 13615
- 文件计数 1
- 创建日期 2025年11月27日
- 最后更新 2026年9月21日
InstantID
InstantID:基于 SDXL、ControlNet 搭建的换脸换装方案,节点规模 16 个、连线 17 条。工作流主路径为 CLIPTextEncode ×2、LoadImage ×2、InstantIDFaceAnalysis ×1,配合 输出图像,默认输出 1016×1016;节点已按执行顺序排布,便于二次修改。主模型 ip-adapter.bin、SDXLxxmix9realisticsdxl_v10.safetensors、SDXLControlNet_For_InstantID.safetensors。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:ip-adapter.bin、SDXLxxmix9realisticsdxl_v10.safetensors、SDXLControlNet_For_InstantID.safetensors
- 核心节点:CLIPTextEncode ×2、LoadImage ×2、InstantIDFaceAnalysis ×1
- 输出形式:输出图像 · 1016×1016
- 规模:16 节点 / 17 连线
- 建议显存:8GB 起
- 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。
工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
资源头图

使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"id": "76d7d69e-320c-463b-8f0f-57d6efd8b875",
"revision": 0,
"last_node_id": 76,
"last_link_id": 229,
"nodes": [
{
"id": 38,
"type": "InstantIDFaceAnalysis",
"pos": [
423.5763097469975,
1237.107766554994
],
"size": [
304.314208984375,
60.12530517578125
],
"flags": [],
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "provider",
"name": "provider",
"type": "COMBO",
"widget": {
"name": "provider"
},
"link": null
}
],
"outputs": [
{
"label": "FACEANALYSIS",
"localized_name": "FACEANALYSIS",
"name": "FACEANALYSIS",
"type": "FACEANALYSIS",
"slot_index": 0,
"links": [
198
]
}
],
"properties": {
"cnr_id": "comfyui_instantid",
"ver": "72495e806bc2ab9c41581e15ccaa1bcf83c477e8",
"Node name for S&R": "InstantIDFaceAnalysis"
},
"widgets_values": [
"CUDA"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
-186.03614569852974,
773.4591537994506
],
"size": [
315,
106
],
"flags": [],
"order": 1,
"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": 40,
"type": "CLIPTextEncode",
"pos": [
271.608121284041,
620.3482193993856
],
"size": [
370.1413055397411,
120.46028939502219
],
"flags": [],
"order": 11,
"mode": 0,
"inputs": [
{
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



