- 版本 [version]
- 下载 99
- 文件大小 5117
- 文件计数 1
- 创建日期 2025年11月27日
- 最后更新 2026年9月21日
人物换脸-ReActor
这是一份开箱即用的换脸换装工作流(多模型),拖入 ComfyUI 即可运行,全图 4 节点 / 3 连线。核心流程 LoadImage ×2、ReActorFaceSwap ×1、SaveImage ×1,输出图像,参数已调好,替换输入图即可复现效果。主模型 inswapper_128.onnx、GPEN-BFR-1024.onnx。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:inswapper_128.onnx、GPEN-BFR-1024.onnx
- 核心节点:LoadImage ×2、ReActorFaceSwap ×1、SaveImage ×1
- 输出形式:输出图像
- 规模:4 节点 / 3 连线
- 建议显存:8GB 起
- 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。
工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
资源头图

使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"id": "b5305847-7515-4dd4-ba77-8d4325ea9c7c",
"revision": 0,
"last_node_id": 5,
"last_link_id": 4,
"nodes": [
{
"id": 1,
"type": "ReActorFaceSwap",
"pos": [
262.6376953125,
156.010009765625
],
"size": [
285.287109375,
358
],
"flags": [],
"order": 2,
"mode": 0,
"inputs": [
{
"label": "目标图像",
"localized_name": "input_image",
"name": "input_image",
"type": "IMAGE",
"link": 1
},
{
"label": "源图像",
"localized_name": "source_image",
"name": "source_image",
"shape": 7,
"type": "IMAGE",
"link": 3
},
{
"label": "面部模型",
"localized_name": "face_model",
"name": "face_model",
"shape": 7,
"type": "FACE_MODEL",
"link": null
},
{
"label": "面部增强",
"localized_name": "face_boost",
"name": "face_boost",
"shape": 7,
"type": "FACE_BOOST",
"link": null
},
{
"localized_name": "enabled",
"name": "enabled",
"type": "BOOLEAN",
"widget": {
"name": "enabled"
},
"link": null
},
{
"localized_name": "swap_model",
"name": "swap_model",
"type": "COMBO",
"widget": {
"name": "swap_model"
},
"link": null
},
{
"localized_name": "facedetection",
"name": "facedetection",
"type": "COMBO",
"widget": {
"name": "facedetection"
},
"link": null
},
{
"localized_name": "face_restore_model",
"name": "face_restore_model",
"type": "COMBO",
"widget": {
"name": "face_restore_model"
},
"link": null
},
{
"localized_name": "face_restore_visibility",
"name": "face_restore_visibility",
"type": "FLOAT",
"widget": {
"name": "face_restore_visibility"
},
"link": null
},
{
"localized_name": "codeformer_weight",
"name": "codeformer_weight",
"type": "FLOAT",
"widget": {
"name": "codeformer_weight"
},
"link": null
},
{
"localized_name": "detect_gender_input",
"name": "detect_gender_input",
"type": "COMBO",
"widget": {
"name": "detect_gender_input"
},
"link": null
},
{
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



