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

使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"id": "bf7a5c75-da86-40f9-a038-6d4f14f75a63",
"revision": 0,
"last_node_id": 116,
"last_link_id": 175,
"nodes": [
{
"id": 5,
"type": "InstantIDModelLoader",
"pos": [
2890,
-180
],
"size": [
315,
58
],
"flags": [],
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INSTANTID",
"shape": 3,
"type": "INSTANTID",
"slot_index": 0,
"links": [
154
]
}
],
"properties": {
"Node name for S&R": "InstantIDModelLoader"
},
"widgets_values": [
"ip-adapter_instant_id_sdxl"
],
"color": "#2a363b",
"bgcolor": "#3f5159",
"_widget_cache_map": []
},
{
"id": 6,
"type": "InstantIDFaceAnalysis",
"pos": [
2890,
-60
],
"size": [
315,
58
],
"flags": [],
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"label": "面部分析",
"name": "FACEANALYSIS",
"shape": 3,
"type": "FACEANALYSIS",
"slot_index": 0,
"links": [
155
]
}
],
"properties": {
"Node name for S&R": "InstantIDFaceAnalysis"
},
"widgets_values": [
"CPU"
],
"color": "#2a363b",
"bgcolor": "#3f5159",
"_widget_cache_map": []
},
{
"id": 7,
"type": "ControlNetLoader",
"pos": [
2891,
50
],
"size": [
315,
58
],
"flags": [],
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"label": "ControlNet",
"name": "CONTROL_NET",
"shape": 3,
"type": "CONTROL_NET",
"slot_index": 0,
"links": [
156
]
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_instant_id_sdxl"
],
"color": "#2a363b",
"bgcolor": "#3f5159",
"_widget_cache_map": []
},
{
"id": 11,
"type": "UltralyticsDetectorProvider",
"pos": [
620,
180
],
"size": [
315,
78
],
"flags": [],
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"label": "BBox检测",
"name": "BBOX_DETECTOR",
"shape": 3,
"type": "BBOX_DETECTOR",
"slot_index": 0,
"links": [
73
]
},
{
"label": "SEGM检测",
"name": "SEGM_DETECTOR
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



