{
  "id": "f2e01f4f-d600-40a9-b408-6c6841b883ce",
  "revision": 0,
  "last_node_id": 172,
  "last_link_id": 357,
  "nodes": [
    {
      "id": 116,
      "type": "VAELoader",
      "pos": [
        -946.2236525178818,
        -870.3421395629621
      ],
      "size": [
        397.5490419612808,
        72.58364652467753
      ],
      "flags": {
        "collapsed": false
      },
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            298,
            299,
            300,
            314
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "models": [
          {
            "name": "qwen_image_vae.safetensors",
            "url": "https://huggingface.co/FireRedTeam/FireRed-Image-Edit-1.0-ComfyUI/resolve/main/qwen_image_vae.safetensors",
            "directory": "vae"
          }
        ],
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "qwen_image_vae.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "qwen_image_vae.safetensors"
      },
      "color": "#af3535",
      "bgcolor": "rgba(24,24,27,.9)"
    },
    {
      "id": 117,
      "type": "TextEncodeQwenImageEditPlus",
      "pos": [
        -452.3845779950106,
        -824.2229495197553
      ],
      "size": [
        446.91579378114056,
        168
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 297
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 299
        },
        {
          "name": "image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 311
        },
        {
          "name": "image2",
          "shape": 7,
          "type": "IMAGE",
          "link": 354
        },
        {
          "name": "image3",
          "shape": 7,
          "type": "IMAGE",
          "link": 356
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            313
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TextEncodeQwenImageEditPlus",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "prompt": ""
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 125,
      "type": "VAEEncode",
      "pos": [
        125.66226929083777,
        -725.9950526264817
      ],
      "size": [
        384.13941483400777,
        46
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 302
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 300
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            303
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 115,
      "type": "CLIPLoader",
      "pos": [
        -945.2090920134061,
        -1044.1416389581068
      ],
      "size": [
        396.1197916666667,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            296,
            297
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "models": [
          {
            "name": "qwen2.5vl-7b-bf16.safetensors",
            "url": "https://huggingface.co/FireRedTeam/FireRed-Image-Edit-1.0-ComfyUI/resolve/main/qwen2.5vl-7b-bf16.safetensors",
            "directory": "text_encoders"
          }
        ],
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "qwen_2.5_vl_7b_fp8_scaled.safetensors",
        "qwen_image",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
        "type": "qwen_image",
        "device": "default"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 151,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -951.0352488156987,
        -1204.1293055822246
      ],
      "size": [
        397.39871598281866,
        90.0016391294439
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 347
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            350
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "models": [
          {
            "name": "FireRed-Image-Edit-1.0-Lightning-8steps-v1.1",
            "url": "https://huggingface.co/FireRedTeam/FireRed-Image-Edit-1.0-ComfyUI/resolve/main/FireRed-Image-Edit-1.0-Lightning-8steps-v1.1.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "FireRed-Image-Edit-1.1-Lightning-8steps-v1.2.safetensors",
        1
      ],
      "widgets_values_named": {
        "lora_name": "FireRed-Image-Edit-1.1-Lightning-8steps-v1.2.safetensors",
        "strength_model": 1
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 130,
      "type": "KSampler",
      "pos": [
        109.94530030501164,
        -1546.5159150400793
      ],
      "size": [
        265.61340008,
        474
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 295
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 312
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 313
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 303
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            273
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        763091509053839,
        "randomize",
        8,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 763091509053839,
        "control_after_generate": "randomize",
        "steps": 8,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 126,
      "type": "VAEDecode",
      "pos": [
        127.60701377877798,
        -998.9011652338472
      ],
      "size": [
        187.5,
        46
      ],
      "flags": {
        "collapsed": false
      },
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 273
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 314
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            292
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      }
    },
    {
      "id": 123,
      "type": "CFGNorm",
      "pos": [
        -454.94047093710196,
        -1407.9918689805124
      ],
      "size": [
        445.6775407677842,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 350
        }
      ],
      "outputs": [
        {
          "name": "patched_model",
          "type": "MODEL",
          "links": [
            295
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CFGNorm",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        1,
        false
      ],
      "widgets_values_named": {
        "strength": 1,
        "pre_cfg": false
      },
      "color": "#422342",
      "bgcolor": "rgba(24,24,27,.9)"
    },
    {
      "id": 166,
      "type": "UnetLoaderGGUF",
      "pos": [
        -947.3236007291073,
        -1404.7404072255629
      ],
      "size": [
        388.4109522138931,
        96.86784673461443
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            347
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UnetLoaderGGUF"
      },
      "widgets_values": [
        "FireRed-Image-Edit-1.1-transformer-q4_k_m.gguf"
      ],
      "widgets_values_named": {
        "unet_name": "FireRed-Image-Edit-1.1-transformer-q4_k_m.gguf"
      }
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        73.92848893114788,
        -587.3157197218292
      ],
      "size": [
        488.0582431342099,
        270
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 292
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            353
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "Firered_image_edit_1.0/00000"
      ],
      "widgets_values_named": {
        "filename_prefix": "Firered_image_edit_1.0/00000"
      }
    },
    {
      "id": 170,
      "type": "PreviewImage",
      "pos": [
        600.3335356854674,
        -845.4989201770056
      ],
      "size": [
        468.21067632668996,
        365.1876214630511
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 353
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 143,
      "type": "LoadImage",
      "pos": [
        -978.747637764154,
        -707.4784706485353
      ],
      "size": [
        453.6417294393293,
        443.6672039301852
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            301
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "testwomen.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "testwomen.png",
        "upload": "image"
      }
    },
    {
      "id": 147,
      "type": "FluxKontextImageScale",
      "pos": [
        121.27197194200134,
        -797.0298608580192
      ],
      "size": [
        381.97883292389383,
        26
      ],
      "flags": {},
      "order": 7,
      "mode": 4,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 301
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            302,
            310,
            311
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "FluxKontextImageScale"
      },
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 171,
      "type": "LoadImage",
      "pos": [
        -497.3992157087069,
        -562.1689603818202
      ],
      "size": [
        344,
        314
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            354,
            355
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "cap.jpg",
        "image"
      ],
      "widgets_values_named": {
        "image": "cap.jpg",
        "upload": "image"
      }
    },
    {
      "id": 172,
      "type": "LoadImage",
      "pos": [
        -497.39917764168626,
        -189.95077552926898
      ],
      "size": [
        344,
        314
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            356,
            357
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "shirt.jpg",
        "image"
      ],
      "widgets_values_named": {
        "image": "shirt.jpg",
        "upload": "image"
      }
    },
    {
      "id": 118,
      "type": "TextEncodeQwenImageEditPlus",
      "pos": [
        -452.96869681434504,
        -1057.2475628186246
      ],
      "size": [
        448.2588011383722,
        168
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 296
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 298
        },
        {
          "name": "image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 310
        },
        {
          "name": "image2",
          "shape": 7,
          "type": "IMAGE",
          "link": 355
        },
        {
          "name": "image3",
          "shape": 7,
          "type": "IMAGE",
          "link": 357
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            312
          ]
        }
      ],
      "title": "TextEncodeQwenImageEditPlus (Positive)",
      "properties": {
        "Node name for S&R": "TextEncodeQwenImageEditPlus",
        "cnr_id": "comfy-core",
        "ver": "0.5.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "Have the one woman in Image 1 wear the cap from Image 2 and the T-shirt from Image 3. Also, change the background to a daytime scene. Keep the woman's face and pose the same."
      ],
      "widgets_values_named": {
        "prompt": "Have the one woman in Image 1 wear the cap from Image 2 and the T-shirt from Image 3. Also, change the background to a daytime scene. Keep the woman's face and pose the same."
      },
      "color": "#232",
      "bgcolor": "#353"
    }
  ],
  "links": [
    [
      273,
      130,
      0,
      126,
      0,
      "LATENT"
    ],
    [
      292,
      126,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      295,
      123,
      0,
      130,
      0,
      "MODEL"
    ],
    [
      296,
      115,
      0,
      118,
      0,
      "CLIP"
    ],
    [
      297,
      115,
      0,
      117,
      0,
      "CLIP"
    ],
    [
      298,
      116,
      0,
      118,
      1,
      "VAE"
    ],
    [
      299,
      116,
      0,
      117,
      1,
      "VAE"
    ],
    [
      300,
      116,
      0,
      125,
      1,
      "VAE"
    ],
    [
      301,
      143,
      0,
      147,
      0,
      "IMAGE"
    ],
    [
      302,
      147,
      0,
      125,
      0,
      "IMAGE"
    ],
    [
      303,
      125,
      0,
      130,
      3,
      "LATENT"
    ],
    [
      310,
      147,
      0,
      118,
      2,
      "IMAGE"
    ],
    [
      311,
      147,
      0,
      117,
      2,
      "IMAGE"
    ],
    [
      312,
      118,
      0,
      130,
      1,
      "CONDITIONING"
    ],
    [
      313,
      117,
      0,
      130,
      2,
      "CONDITIONING"
    ],
    [
      314,
      116,
      0,
      126,
      1,
      "VAE"
    ],
    [
      347,
      166,
      0,
      151,
      0,
      "MODEL"
    ],
    [
      350,
      151,
      0,
      123,
      0,
      "MODEL"
    ],
    [
      353,
      9,
      0,
      170,
      0,
      "IMAGE"
    ],
    [
      354,
      171,
      0,
      117,
      3,
      "IMAGE"
    ],
    [
      355,
      171,
      0,
      118,
      3,
      "IMAGE"
    ],
    [
      356,
      172,
      0,
      117,
      4,
      "IMAGE"
    ],
    [
      357,
      172,
      0,
      118,
      4,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Model",
      "bounding": [
        -980.7266028664573,
        -1599.920127589081,
        451.38655592721443,
        835.4770389210659
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Prompt",
      "bounding": [
        -492.91674944625987,
        -1149.5686430982848,
        517.6394380280594,
        522.3495130385874
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Sampler Setting",
      "bounding": [
        -489.1030316577875,
        -1596.596070883438,
        512.8218932701593,
        424.8611659352455
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Image Encode",
      "bounding": [
        66.24011974156514,
        -884.0139912051892,
        489.7964514600096,
        233.2916047138226
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "frontendVersion": "1.51.10",
    "workflowRendererVersion": "LG",
    "groupNodes": {},
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ds": {
      "scale": 1.2911140416520366,
      "offset": [
        -418.5202168840852,
        1060.3989241415547
      ]
    }
  },
  "version": 0.4
}