• 版本 [version]
  • 下载 88
  • 文件大小 45077
  • 文件计数 1
  • 创建日期 2026年7月22日
  • 最后更新 2026年9月20日

基础-flux局部重绘-背景重绘

基础-flux局部重绘-背景重绘:基于 FLUX Kontext、Qwen-Image、ControlNet 搭建的局部重绘方案,节点规模 45 个、连线 64 条。工作流主路径为 CLIPTextEncode ×5、KSampler ×3、VAELoader ×3,配合 输出图像;节点已按执行顺序排布,便于二次修改。主模型 qwen_2.5_vl_7b_fp8_scaled.safetensors、qwen_image_vae.safetensors、Qwen-Image-ControlNet-Inpainting.safetensors。下载后直接导入即可使用,建议显存 12GB 起(建议 16GB 以上)。

  • 主模型:qwen_2.5_vl_7b_fp8_scaled.safetensors、qwen_image_vae.safetensors、Qwen-Image-ControlNet-Inpainting.safetensors
  • 核心节点:CLIPTextEncode ×5、KSampler ×3、VAELoader ×3
  • 输出形式:输出图像
  • 规模:45 节点 / 64 连线
  • 建议显存:12GB 起(建议 16GB 以上)
  • 适用场景:蒙版局部重绘、主体替换、材质替换与瑕疵修复。

资源头图

基础-flux局部重绘-背景重绘

工作流节点图

基础-flux局部重绘-背景重绘 工作流节点图

图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。

使用说明

下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。

源码预览

{
    "id": "80513b90-3094-4443-a4ac-1f6975c6ad6c",
    "revision": 0,
    "last_node_id": 305,
    "last_link_id": 528,
    "nodes": [
        {
            "id": 87,
            "type": "KSampler",
            "pos": [
                -330.079345703125,
                1935.6341552734375
            ],
            "size": [
                320,
                480
            ],
            "flags": [],
            "order": 34,
            "mode": 0,
            "inputs": [
                {
                    "label": "模型",
                    "localized_name": "模型",
                    "name": "model",
                    "type": "MODEL",
                    "link": 158
                },
                {
                    "label": "正面条件",
                    "localized_name": "正面条件",
                    "name": "positive",
                    "type": "CONDITIONING",
                    "link": 159
                },
                {
                    "label": "负面条件",
                    "localized_name": "负面条件",
                    "name": "negative",
                    "type": "CONDITIONING",
                    "link": 160
                },
                {
                    "label": "Latent",
                    "localized_name": "Latent图像",
                    "name": "latent_image",
                    "type": "LATENT",
                    "link": 161
                }
            ],
            "outputs": [
                {
                    "label": "Latent",
                    "localized_name": "Latent",
                    "name": "LATENT",
                    "type": "LATENT",
                    "slot_index": 0,
                    "links": [
                        162
                    ]
                }
            ],
            "properties": {
                "enableTabs": false,
                "tabWidth": 65,
                "tabXOffset": 10,
                "hasSecondTab": false,
                "secondTabText": "Send Back",
                "secondTabOffset": 80,
                "secondTabWidth": 65,
                "Node name for S&R": "KSampler"
            },
            "widgets_values": [
                75239876087512,
                "randomize",
                20,
                1,
                "euler",
                "normal",
                1
            ],
            "_widget_cache_map": []
        },
        {
            "id": 92,
            "type": "FluxGuidance",
            "pos": [
                -1030.0782470703125,
                1935.6341552734375
            ],
            "size": [
                317.4000244140625,
                58
            ],
            "flags": [],
            "order": 25,
            "mode": 0,
            "inputs": [
                {
                    "label": "条件",
                    "localized_name": "条件",
                    "name": "conditioning",
                    "type": "CONDITIONING",
                    "link": 167
                }
            ],
            "outputs": [
                {
                    "label": "条件",
                    "localized_name": "条件",
                    "name": "CONDITIONING",
                    "shape": 3,
                    "type": "CONDITIONING",
                    "slot_index": 0,
                    "links": [
                        168
                    ]
                }
            ],
            "properties": {
                "enableTabs": false,
                "tabWidth": 65,
                "tabXOffset": 10,
                "hasSecondTab": false,
                "secondTabText": "Send Back",
                "secondTabOffset": 80,
                "secondTabWidth": 65,
                "Node name for S&R": "FluxGuidance"
            },
            "widgets_values"
… (完整内容请下载文件查看)

代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。

发表回复

你的电子邮件地址不会被公开 * 为必填字段

提交评论