- 版本 [version]
- 下载 129
- 文件大小 78103
- 文件计数 1
- 创建日期 2025年10月10日
- 最后更新 2026年9月20日
FLUX换背景重打光-教育版
FLUX换背景重打光-教育版:基于 FLUX、SD 1.5、IC-Light 搭建的换脸换装方案,节点规模 73 个、连线 93 条。工作流主路径为 PreviewImage ×18、ImageInvert ×4、Image Blending Mode ×3,配合 输出图像,默认输出 512×512;节点已按执行顺序排布,便于二次修改。主模型 iclight_sd15_fc.safetensors、sam_vit_h_4b8939.pth、FLUX.1-dev-ControlNet-Union-Pro-InstantX.safetensors。下载后直接导入即可使用,建议显存 12GB 起(建议 16GB 以上)。
- 主模型:iclight_sd15_fc.safetensors、sam_vit_h_4b8939.pth、FLUX.1-dev-ControlNet-Union-Pro-InstantX.safetensors
- 核心节点:PreviewImage ×18、ImageInvert ×4、Image Blending Mode ×3
- 输出形式:输出图像 · 512×512
- 规模:73 节点 / 93 连线
- 建议显存:12GB 起(建议 16GB 以上)
- 适用场景:人物换脸、虚拟试衣、商品换装与背景替换,电商模特图的主力玩法。
工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
资源头图

使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"last_node_id": 490,
"last_link_id": 1122,
"nodes": [
{
"id": 387,
"type": "Reroute",
"pos": [
-5655.8251953125,
1467.8150634765625
],
"size": [
75,
26
],
"flags": [],
"order": 44,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 938
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
939,
951
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"category": "Official"
},
{
"id": 415,
"type": "InvertMask",
"pos": [
-9128.2109375,
1275.9305419921875
],
"size": [
210,
26
],
"flags": [],
"order": 33,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 1035,
"label": "遮罩"
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
999
],
"slot_index": 0,
"shape": 3,
"label": "遮罩"
}
],
"properties": {
"Node name for S&R": "InvertMask"
},
"widgets_values": [],
"_widget_cache_map": [],
"category": "Custom Nodes"
},
{
"id": 414,
"type": "MaskToImage",
"pos": [
-9125.2109375,
1350.930419921875
],
"size": [
210,
26
],
"flags": [],
"order": 38,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 999,
"label": "遮罩"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
997
],
"slot_index": 0,
"shape": 3,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": [],
"_widget_cache_map": [],
"category": "Custom Nodes"
},
{
"id": 412,
"type": "Image Blend by Mask",
"pos": [
-9122.2109375,
1427.930908203125
],
"size": [
315,
98
],
"flags": [],
"order": 46,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 1101,
"label": "image_a"
},
{
"name": "image_b",
"type"
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



