{
  "id": "54bb395d-3e60-4c94-b525-85523901575b",
  "revision": 0,
  "last_node_id": 487,
  "last_link_id": 749,
  "nodes": [
    {
      "id": 464,
      "type": "Note",
      "pos": [
        1180,
        4720
      ],
      "size": [
        310,
        280
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: size",
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Qwen Image 2.1 has native 2K (2048*2048) support for direct output.\n\nDefault (custom_size off): output follows image_1's aspect ratio, scaled to about resolution*resolution (default 1024, multiple of 32). This is not image_1's original pixel size. Set resolution to 0 to keep original sizes (rounded to 32).\n\nTurn on custom_size to use the ResolutionSelector width/height as the canvas. Keep it close to the resized image_1 size, or the edit can shift.\n"
      ],
      "widgets_values_named": {
        "text": "Qwen Image 2.1 has native 2K (2048*2048) support for direct output.\n\nDefault (custom_size off): output follows image_1's aspect ratio, scaled to about resolution*resolution (default 1024, multiple of 32). This is not image_1's original pixel size. Set resolution to 0 to keep original sizes (rounded to 32).\n\nTurn on custom_size to use the ResolutionSelector width/height as the canvas. Keep it close to the resized image_1 size, or the edit can shift.\n"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 478,
      "type": "VAELoader",
      "pos": [
        1060,
        4210
      ],
      "size": [
        510,
        70
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            729,
            743
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "VAELoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "models": [
          {
            "name": "qwen_image_2.1_vae_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_vae_bf16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "qwen_image_2.1_vae_bf16.safetensors"
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 479,
      "type": "EmptyLatentImage",
      "pos": [
        1390,
        4440
      ],
      "size": [
        300,
        120
      ],
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 739
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 740
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            733
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "EmptyLatentImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        1024,
        1024,
        1
      ],
      "widgets_values_named": {
        "width": 1024,
        "height": 1024,
        "batch_size": 1
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 476,
      "type": "UNETLoader",
      "pos": [
        1060,
        3850
      ],
      "size": [
        510,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            746
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "UNETLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "models": [
          {
            "name": "qwen_image_2.1_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "qwen_image_2.1_bf16.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "qwen_image_2.1_bf16.safetensors",
        "weight_dtype": "default"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 477,
      "type": "CLIPLoader",
      "pos": [
        1060,
        4010
      ],
      "size": [
        510,
        120
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            741
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "CLIPLoader",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "models": [
          {
            "name": "qwen3vl_8b_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_bf16.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_8b_bf16.safetensors",
        "qwen_image",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_8b_bf16.safetensors",
        "type": "qwen_image",
        "device": "default"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 13,
      "type": "ResolutionSelector",
      "pos": [
        1060,
        4440
      ],
      "size": [
        290,
        150
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            739
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            740
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "ResolutionSelector",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "1:1 (Square)",
        1.7,
        32
      ],
      "widgets_values_named": {
        "aspect_ratio": "1:1 (Square)",
        "megapixels": 1.7,
        "multiple": 32
      },
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 480,
      "type": "VAEDecode",
      "pos": [
        2460,
        4450
      ],
      "size": [
        230,
        60
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 731
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 729
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            730,
            748
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 487,
      "type": "Image Comparer (rgthree)",
      "pos": [
        4284.897918908869,
        3738.0491597839264
      ],
      "size": [
        1167.4937111386412,
        884.0024428934139
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "image_a",
          "type": "IMAGE",
          "link": 749
        },
        {
          "dir": 3,
          "name": "image_b",
          "type": "IMAGE",
          "link": 748
        }
      ],
      "outputs": [
        {
          "dir": 4,
          "name": "images",
          "shape": 3,
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "1.0.2608210019",
        "comparer_mode": "Slide"
      },
      "widgets_values": [
        [
          {
            "name": "A",
            "selected": true,
            "url": "/api/view?filename=rgthree.compare._temp_dtvpg_00007_.png&type=temp&subfolder=&rand=0.9786314460898276"
          },
          {
            "name": "B",
            "selected": true,
            "url": "/api/view?filename=rgthree.compare._temp_dtvpg_00008_.png&type=temp&subfolder=&rand=0.810803872983046"
          }
        ]
      ],
      "widgets_values_named": {
        "rgthree_comparer": {
          "images": [
            {
              "name": "A",
              "selected": true,
              "url": "/api/view?filename=rgthree.compare._temp_dtvpg_00007_.png&type=temp&subfolder=&rand=0.9786314460898276",
              "img": {}
            },
            {
              "name": "B",
              "selected": true,
              "url": "/api/view?filename=rgthree.compare._temp_dtvpg_00008_.png&type=temp&subfolder=&rand=0.810803872983046",
              "img": {}
            }
          ]
        }
      }
    },
    {
      "id": 482,
      "type": "ComfySwitchNode",
      "pos": [
        1809.1652940566114,
        4450.74629395285
      ],
      "size": [
        270,
        80
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "LATENT",
          "link": 738
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "LATENT",
          "link": 733
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            732
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "ComfySwitchNode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 483,
      "type": "QwenImage21Cache",
      "pos": [
        2419.165294056611,
        3875.0801763302056
      ],
      "size": [
        288.41900010376,
        97.58429416037188
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 746
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            735
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "QwenImage21Cache",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "auto",
        "default"
      ],
      "widgets_values_named": {
        "device": "auto",
        "dtype": "default"
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 481,
      "type": "KSampler",
      "pos": [
        2430,
        4080
      ],
      "size": [
        326.340470905619,
        297.0867648584708
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 735
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 736
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 737
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 732
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            731
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        61960689745963,
        "randomize",
        25,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 61960689745963,
        "control_after_generate": "randomize",
        "steps": 25,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 485,
      "type": "UnetLoaderGGUF",
      "pos": [
        1066.4279056128485,
        3649.3453064309006
      ],
      "size": [
        490,
        60
      ],
      "flags": {},
      "order": 5,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": []
        }
      ],
      "properties": {
        "aux_id": "molbal/ComfyUI-GGUF",
        "ver": "6ea2651e7df66d7585f6ffee804b20e92fb38b8a",
        "Node name for S&R": "UnetLoaderGGUF",
        "cnr_id": "ComfyUI-GGUF",
        "ue_properties": {
          "widget_ue_connectable": {},
          "input_ue_unconnectable": {},
          "version": "7.8"
        }
      },
      "widgets_values": [
        "qwen-image-2.1-Q4_K_M.gguf"
      ],
      "widgets_values_named": {
        "unet_name": "qwen-image-2.1-Q4_K_M.gguf"
      }
    },
    {
      "id": 470,
      "type": "LoadImage",
      "pos": [
        499.0748770507997,
        3799.3036104345138
      ],
      "size": [
        458.03643944927694,
        410.61754061742886
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            742,
            749
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Image 1",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "i_00027_.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "i_00027_.png",
        "upload": "image"
      }
    },
    {
      "id": 461,
      "type": "SaveImageAdvanced",
      "pos": [
        2834.548000688357,
        3793.4873159499816
      ],
      "size": [
        1404.5884109956187,
        342
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 730
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "SaveImageAdvanced",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Qwen_image_2.1",
        "png",
        "8-bit",
        "sRGB"
      ],
      "widgets_values_named": {
        "filename_prefix": "Qwen_image_2.1",
        "format": "png",
        "format.bit_depth": "8-bit",
        "format.input_color_space": "sRGB"
      }
    },
    {
      "id": 484,
      "type": "TextEncodeQwenImage21",
      "pos": [
        1660.019646795583,
        3865.05044461955
      ],
      "size": [
        581.3487065659492,
        471.8594129243784
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 741
        },
        {
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 742
        },
        {
          "name": "images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "images.image_3",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 743
        },
        {
          "name": "images.image_6",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            736
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            737
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            738
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.36.0",
        "Node name for S&R": "TextEncodeQwenImage21",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "change the top to the leather jacket",
        "",
        1024
      ],
      "widgets_values_named": {
        "prompt": "change the top to the leather jacket",
        "negative_prompt": "",
        "resolution": 1024
      },
      "color": "#232",
      "bgcolor": "#353"
    }
  ],
  "links": [
    [
      729,
      478,
      0,
      480,
      1,
      "VAE"
    ],
    [
      731,
      481,
      0,
      480,
      0,
      "LATENT"
    ],
    [
      732,
      482,
      0,
      481,
      3,
      "LATENT"
    ],
    [
      733,
      479,
      0,
      482,
      1,
      "LATENT"
    ],
    [
      735,
      483,
      0,
      481,
      0,
      "MODEL"
    ],
    [
      736,
      484,
      0,
      481,
      1,
      "CONDITIONING"
    ],
    [
      737,
      484,
      1,
      481,
      2,
      "CONDITIONING"
    ],
    [
      738,
      484,
      2,
      482,
      0,
      "LATENT"
    ],
    [
      739,
      13,
      0,
      479,
      0,
      "INT"
    ],
    [
      740,
      13,
      1,
      479,
      1,
      "INT"
    ],
    [
      746,
      476,
      0,
      483,
      0,
      "MODEL"
    ],
    [
      748,
      480,
      0,
      487,
      1,
      "IMAGE"
    ],
    [
      749,
      470,
      0,
      487,
      0,
      "IMAGE"
    ],
    [
      730,
      480,
      0,
      461,
      0,
      "IMAGE"
    ],
    [
      741,
      477,
      0,
      484,
      0,
      "CLIP"
    ],
    [
      742,
      470,
      0,
      484,
      1,
      "IMAGE"
    ],
    [
      743,
      478,
      0,
      484,
      4,
      "VAE"
    ]
  ],
  "groups": [
    {
      "id": 38,
      "title": "Models",
      "bounding": [
        1050,
        3740,
        530,
        590
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 39,
      "title": "Image Size",
      "bounding": [
        1050,
        4360,
        530,
        250
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 40,
      "title": "Conditioning",
      "bounding": [
        1610,
        3740,
        700,
        860
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 41,
      "title": "Sampling",
      "bounding": [
        2340,
        3740,
        470,
        860
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6934334949441382,
      "offset": [
        -220.54940339355377,
        -3398.7176038593097
      ]
    },
    "frontendVersion": "1.53.6",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": [],
    "links_added_by_ue": []
  },
  "version": 0.4,
  "seed_widgets": {
    "481": 0
  }
}