- 版本 [version]
- 下载 140
- 文件大小 663729
- 文件计数 1
- 创建日期 2026年9月2日
- 最后更新 2026年9月20日
comfyui节点功能介绍使用方法
comfyui节点功能介绍使用方法 是一套面向换脸换装场景的 ComfyUI 工作流,全图共 914 个节点、723 条连线。链路以 PreviewImage ×134、LoadImage ×132、LayerMask: MaskPreview ×32 为主干,输出图像,默认输出 512×512,适合需要稳定批量出图的同学。主模型 sam2_hiera_base_plus.safetensors、face_yolov8m.pt、BiRefNet-general-epoch_244.pth。下载后直接导入即可使用,建议显存 12GB 起(建议 16GB 以上)。
- 主模型:sam2_hiera_base_plus.safetensors、face_yolov8m.pt、BiRefNet-general-epoch_244.pth
- 核心节点:PreviewImage ×134、LoadImage ×132、LayerMask: MaskPreview ×32
- 输出形式:输出图像 · 512×512
- 规模:914 节点 / 723 连线
- 建议显存:12GB 起(建议 16GB 以上)
- 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。
工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
资源头图

使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"last_node_id": 1577,
"last_link_id": 1545,
"nodes": [
{
"id": 252,
"type": "IPAdapterUnifiedLoader",
"pos": [
-11345.822265625,
-5256.1455078125
],
"size": [
315,
78
],
"flags": [],
"order": 0,
"mode": 2,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null,
"label": "模型"
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null,
"label": "IPAdapter",
"shape": 7
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
277
],
"slot_index": 0,
"shape": 3,
"label": "模型"
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"links": [
273
],
"shape": 3,
"label": "IPAdapter"
}
],
"properties": {
"Node name for S&R": "IPAdapterUnifiedLoader"
},
"widgets_values": [
"STANDARD (medium strength)"
],
"_widget_cache_map": []
},
{
"id": 276,
"type": "PreviewImage",
"pos": [
-14870,
1970
],
"size": [
210,
26
],
"flags": [],
"order": 586,
"mode": 2,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 290,
"label": "图像"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [],
"_widget_cache_map": []
},
{
"id": 275,
"type": "PrepImageForClipVision",
"pos": [
-14890,
1790
],
"size": [
315,
106
],
"flags": [],
"order": 446,
"mode": 2,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 289,
"slot_index": 0,
"label": "图像"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
290,
295
],
"slot_index": 0,
"shape": 3,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "PrepImageForClipVision"
},
"widgets_values": [
"LANCZOS",
"top",
0
],
"_widget_cache_map": []
},
{
"id": 267,
"type": "IPAdapterUnifiedLoader",
"pos": [
-14610,
1630
],
"size": [
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



