{
  "id": "c5beec59-2b88-4f3f-ba35-7640a58a9ba6",
  "revision": 0,
  "last_node_id": 207,
  "last_link_id": 247,
  "nodes": [
    {
      "id": 205,
      "type": "Label (rgthree)",
      "pos": [
        -687.6044921875,
        1124.2374267578125
      ],
      "size": [
        139.1044921875,
        18
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "1. Load an image",
      "properties": {
        "fontSize": 18,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "center",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 206,
      "type": "Label (rgthree)",
      "pos": [
        -363.0047607421875,
        328.1257629394531
      ],
      "size": [
        156.0849609375,
        18
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "2.Adjust the prompt",
      "properties": {
        "fontSize": 18,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "center",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 180,
      "type": "Label (rgthree)",
      "pos": [
        -893.7205200195312,
        233.67691040039062
      ],
      "size": [
        337.9296875,
        40
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Flux 1 Kontext Dev",
      "properties": {
        "fontSize": 40,
        "fontFamily": "Arial",
        "fontColor": "#f8a742",
        "textAlign": "center",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 185,
      "type": "Label (rgthree)",
      "pos": [
        -889.890625,
        192.28172302246094
      ],
      "size": [
        152.86865234375,
        25
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Image Editing",
      "properties": {
        "fontSize": 25,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "center",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 193,
      "type": "DualCLIPLoader",
      "pos": [
        -1276.93408203125,
        839.558837890625
      ],
      "size": [
        377.4516296386719,
        130
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            219
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "DualCLIPLoader"
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp16.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "id": 192,
      "type": "UNETLoader",
      "pos": [
        -1271.164306640625,
        685.8994140625
      ],
      "size": [
        377.4516296386719,
        82
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            229
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "flux1-dev-kontext_fp8_scaled.safetensors",
        "default"
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        -808.6704711914062,
        378.1307067871094
      ],
      "size": [
        424.4290771484375,
        193.0274658203125
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 219
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            220,
            222
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "\"Change the car color to dark blue and add a spoiler at the back of car.\""
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 203,
      "type": "LoadImage",
      "pos": [
        -763.7011108398438,
        907.2965698242188
      ],
      "size": [
        265.3400573730469,
        362.9439392089844
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            243,
            244
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "UP_00012_.png",
        "image"
      ]
    },
    {
      "id": 27,
      "type": "VAELoader",
      "pos": [
        -662.2899169921875,
        629.6918334960938
      ],
      "size": [
        252.23098754882812,
        58
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            189,
            216
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "ae.safetensors"
      ]
    },
    {
      "id": 196,
      "type": "FluxKontextImageScale",
      "pos": [
        -622.9569091796875,
        737.0213623046875
      ],
      "size": [
        187.75448608398438,
        26
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 243
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            224,
            228
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "FluxKontextImageScale"
      },
      "widgets_values": []
    },
    {
      "id": 188,
      "type": "VAEEncode",
      "pos": [
        -260.5365295410156,
        628.0753784179688
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 224
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 216
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            215,
            232
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.39",
        "Node name for S&R": "VAEEncode"
      },
      "widgets_values": []
    },
    {
      "id": 201,
      "type": "PreviewImage",
      "pos": [
        -289.0311584472656,
        715.3900146484375
      ],
      "size": [
        210,
        258
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 228
        }
      ],
      "outputs": [],
      "title": "Preview Image Scale",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 194,
      "type": "ReferenceLatent",
      "pos": [
        -182.24777221679688,
        383.58929443359375
      ],
      "size": [
        197.712890625,
        46
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 220
        },
        {
          "name": "latent",
          "shape": 7,
          "type": "LATENT",
          "link": 232
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            221
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "ReferenceLatent"
      },
      "widgets_values": []
    },
    {
      "id": 195,
      "type": "ConditioningZeroOut",
      "pos": [
        -184.6381378173828,
        474.7257995605469
      ],
      "size": [
        197.712890625,
        26
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 222
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            223
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.42",
        "Node name for S&R": "ConditioningZeroOut"
      },
      "widgets_values": []
    },
    {
      "id": 11,
      "type": "FluxGuidance",
      "pos": [
        75.19790649414062,
        385.1033935546875
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 221
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            184
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        2.5
      ]
    },
    {
      "id": 163,
      "type": "KSampler",
      "pos": [
        341.9250793457031,
        381.7702331542969
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 229
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 184
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 223
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 215
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            187
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        93884589335604,
        "randomize",
        20,
        1,
        "euler",
        "simple",
        1
      ]
    },
    {
      "id": 164,
      "type": "VAEDecode",
      "pos": [
        699.8092651367188,
        383.75323486328125
      ],
      "size": [
        210,
        46
      ],
      "flags": {
        "collapsed": false
      },
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 187
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 189
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            201,
            245
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.32",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 207,
      "type": "Image Comparer (rgthree)",
      "pos": [
        -422.7352294921875,
        1050.6915283203125
      ],
      "size": [
        667.5387573242188,
        534.2277221679688
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "image_a",
          "type": "IMAGE",
          "link": 244
        },
        {
          "dir": 3,
          "name": "image_b",
          "type": "IMAGE",
          "link": 245
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "110e4ef1dbf2ea20ec39ae5a737bd5e56d4e54c2",
        "comparer_mode": "Slide"
      },
      "widgets_values": [
        [
          {
            "name": "A",
            "selected": true,
            "url": "/api/view?filename=rgthree.compare._temp_cmxgs_00003_.png&type=temp&subfolder=&rand=0.11146100074130749"
          },
          {
            "name": "B",
            "selected": true,
            "url": "/api/view?filename=rgthree.compare._temp_cmxgs_00004_.png&type=temp&subfolder=&rand=0.2950011286475507"
          }
        ]
      ]
    },
    {
      "id": 171,
      "type": "SaveImage",
      "pos": [
        323.61407470703125,
        699.0157470703125
      ],
      "size": [
        560.8665771484375,
        625.2537231445312
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 201
        }
      ],
      "outputs": [],
      "title": "Save Image Original",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "img"
      ]
    }
  ],
  "links": [
    [
      184,
      11,
      0,
      163,
      1,
      "CONDITIONING"
    ],
    [
      187,
      163,
      0,
      164,
      0,
      "LATENT"
    ],
    [
      189,
      27,
      0,
      164,
      1,
      "VAE"
    ],
    [
      201,
      164,
      0,
      171,
      0,
      "IMAGE"
    ],
    [
      215,
      188,
      0,
      163,
      3,
      "LATENT"
    ],
    [
      216,
      27,
      0,
      188,
      1,
      "VAE"
    ],
    [
      219,
      193,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      220,
      6,
      0,
      194,
      0,
      "CONDITIONING"
    ],
    [
      221,
      194,
      0,
      11,
      0,
      "CONDITIONING"
    ],
    [
      222,
      6,
      0,
      195,
      0,
      "CONDITIONING"
    ],
    [
      223,
      195,
      0,
      163,
      2,
      "CONDITIONING"
    ],
    [
      224,
      196,
      0,
      188,
      0,
      "IMAGE"
    ],
    [
      228,
      196,
      0,
      201,
      0,
      "IMAGE"
    ],
    [
      229,
      192,
      0,
      163,
      0,
      "MODEL"
    ],
    [
      232,
      188,
      0,
      194,
      1,
      "LATENT"
    ],
    [
      243,
      203,
      0,
      196,
      0,
      "IMAGE"
    ],
    [
      244,
      203,
      0,
      207,
      0,
      "IMAGE"
    ],
    [
      245,
      164,
      0,
      207,
      1,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6934334949442476,
      "offset": [
        1656.2648248355274,
        -128.7435884465708
      ]
    },
    "frontendVersion": "1.25.10",
    "node_versions": {
      "ComfyUI-GGUF": "8098c7149fa4ff14991eb3347a5585051ceeafbe",
      "comfy-core": "v0.3.10-37-gd055325",
      "rgthree-comfy": "5d771b8b56a343c24a26e8cea1f0c87c3d58102f"
    },
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}