{
  "id": "9513bcbf-ba19-4a6f-8800-a0d029793655",
  "revision": 0,
  "last_node_id": 138,
  "last_link_id": 308,
  "nodes": [
    {
      "id": 2,
      "type": "DualCLIPLoader",
      "pos": [
        -420,
        950
      ],
      "size": [
        315,
        130
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            1,
            19
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "DualCLIPLoader",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "t5xxl_fp8_e4m3fn.safetensors",
        "Long-ViT-L-14-BEST-GmP-smooth-ft.safetensors",
        "flux",
        "default"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 82,
      "type": "ImageConcanate",
      "pos": [
        -50,
        1060
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 201
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": 262
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            212
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.2",
        "Node name for S&R": "ImageConcanate",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "right",
        true
      ]
    },
    {
      "id": 86,
      "type": "ImageConcanate",
      "pos": [
        -50,
        1210
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 215
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": 263
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            216
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.2",
        "Node name for S&R": "ImageConcanate",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "down",
        true
      ]
    },
    {
      "id": 121,
      "type": "easy compare",
      "pos": [
        940,
        80
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "*",
          "link": 303
        },
        {
          "name": "b",
          "type": "*",
          "link": 274
        }
      ],
      "outputs": [
        {
          "name": "boolean",
          "type": "BOOLEAN",
          "links": [
            276
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-easy-use",
        "ver": "54614079ca96fa66c8953ff89dc66ca77245f5db",
        "Node name for S&R": "easy compare",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "a < b"
      ]
    },
    {
      "id": 126,
      "type": "easy compare",
      "pos": [
        950,
        260
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "*",
          "link": 304
        },
        {
          "name": "b",
          "type": "*",
          "link": 275
        }
      ],
      "outputs": [
        {
          "name": "boolean",
          "type": "BOOLEAN",
          "links": [
            278
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-easy-use",
        "ver": "54614079ca96fa66c8953ff89dc66ca77245f5db",
        "Node name for S&R": "easy compare",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "a < b"
      ]
    },
    {
      "id": 128,
      "type": "Int",
      "pos": [
        650,
        260
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            274,
            275
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-logic",
        "ver": "1.0.0",
        "Node name for S&R": "Int",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        512
      ]
    },
    {
      "id": 129,
      "type": "If ANY execute A else B",
      "pos": [
        1270,
        100
      ],
      "size": [
        140,
        66
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "ANY",
          "type": "*",
          "link": 276
        },
        {
          "name": "IF_TRUE",
          "type": "*",
          "link": 277
        },
        {
          "name": "IF_FALSE",
          "type": "*",
          "link": 278
        }
      ],
      "outputs": [
        {
          "name": "?",
          "type": "*",
          "links": [
            283
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-logic",
        "ver": "1.0.0",
        "Node name for S&R": "If ANY execute A else B",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 130,
      "type": "easy boolean",
      "pos": [
        1250,
        270
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "boolean",
          "type": "BOOLEAN",
          "links": [
            277
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-easy-use",
        "ver": "54614079ca96fa66c8953ff89dc66ca77245f5db",
        "Node name for S&R": "easy boolean",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        true
      ]
    },
    {
      "id": 51,
      "type": "VAEEncode",
      "pos": [
        290,
        1020
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 212
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 114
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            239,
            259
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "VAEEncode",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 87,
      "type": "VAEEncode",
      "pos": [
        260,
        1160
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 216
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 217
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            242,
            260
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.44",
        "Node name for S&R": "VAEEncode",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 101,
      "type": "Latent Size to Number",
      "pos": [
        480,
        1180
      ],
      "size": [
        179.89999389648438,
        126
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 242
        }
      ],
      "outputs": [
        {
          "name": "tensor_w_num",
          "type": "NUMBER",
          "links": [
            243
          ]
        },
        {
          "name": "tensor_h_num",
          "type": "NUMBER",
          "links": [
            244
          ]
        },
        {
          "name": "output_2",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "output_3",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "output_4",
          "type": "INT",
          "links": null
        },
        {
          "name": "output_5",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "pr-was-node-suite-comfyui-47064894",
        "ver": "1.0.1",
        "Node name for S&R": "Latent Size to Number",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 102,
      "type": "Latent Size to Number",
      "pos": [
        500,
        990
      ],
      "size": [
        179.89999389648438,
        126
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 239
        }
      ],
      "outputs": [
        {
          "name": "tensor_w_num",
          "type": "NUMBER",
          "links": [
            240
          ]
        },
        {
          "name": "tensor_h_num",
          "type": "NUMBER",
          "links": [
            241
          ]
        },
        {
          "name": "output_2",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "output_3",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "output_4",
          "type": "INT",
          "links": null
        },
        {
          "name": "output_5",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "pr-was-node-suite-comfyui-47064894",
        "ver": "1.0.1",
        "Node name for S&R": "Latent Size to Number",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 99,
      "type": "MultiplyNode",
      "pos": [
        720,
        1010
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "input1",
          "type": "*",
          "link": 240
        },
        {
          "name": "input2",
          "type": "*",
          "link": 241
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": [
            231
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-logicutils",
        "ver": "1.7.2",
        "Node name for S&R": "MultiplyNode",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 100,
      "type": "MultiplyNode",
      "pos": [
        700,
        1190
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "input1",
          "type": "*",
          "link": 243
        },
        {
          "name": "input2",
          "type": "*",
          "link": 244
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": [
            234
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-logicutils",
        "ver": "1.7.2",
        "Node name for S&R": "MultiplyNode",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 89,
      "type": "easy compare",
      "pos": [
        880,
        1100
      ],
      "size": [
        210,
        78
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "*",
          "link": 231
        },
        {
          "name": "b",
          "type": "*",
          "link": 234
        }
      ],
      "outputs": [
        {
          "name": "boolean",
          "type": "BOOLEAN",
          "links": [
            249
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-easy-use",
        "ver": "54614079ca96fa66c8953ff89dc66ca77245f5db",
        "Node name for S&R": "easy compare",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "a < b"
      ]
    },
    {
      "id": 113,
      "type": "AILab_CropObject",
      "pos": [
        -90,
        1370
      ],
      "size": [
        228.3249969482422,
        78
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 298
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            262,
            263
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.5.1",
        "Node name for S&R": "AILab_CropObject",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        5
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 106,
      "type": "If ANY execute A else B",
      "pos": [
        940,
        970
      ],
      "size": [
        140,
        66
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "ANY",
          "type": "*",
          "link": 249
        },
        {
          "name": "IF_TRUE",
          "type": "*",
          "link": 259
        },
        {
          "name": "IF_FALSE",
          "type": "*",
          "link": 260
        }
      ],
      "outputs": [
        {
          "name": "?",
          "type": "*",
          "links": [
            287
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-logic",
        "ver": "1.0.0",
        "Node name for S&R": "If ANY execute A else B",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        -420,
        1160
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            18,
            114,
            217,
            290
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "VAELoader",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "flux1DevVAE_safetensors.safetensors"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 134,
      "type": "VAEEncode",
      "pos": [
        700,
        710
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 288
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 290
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            289
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.44",
        "Node name for S&R": "VAEEncode",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 49,
      "type": "InpaintStitchImproved",
      "pos": [
        1610,
        440
      ],
      "size": [
        214.64999389648438,
        46
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "stitcher",
          "type": "STITCHER",
          "link": 102
        },
        {
          "name": "inpainted_image",
          "type": "IMAGE",
          "link": 103
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            197
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-inpaint-cropandstitch",
        "ver": "2.1.7",
        "Node name for S&R": "InpaintStitchImproved",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 7,
      "type": "KSampler",
      "pos": [
        1550,
        580
      ],
      "size": [
        315,
        474
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 127
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 293
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 91
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 289
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "KSampler",
        "widget_ue_connectable": {
          "seed": true,
          "steps": true,
          "denoise": true
        }
      },
      "widgets_values": [
        1035101978352078,
        "randomize",
        20,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 5,
      "type": "FluxGuidance",
      "pos": [
        1270,
        530
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 292
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            293
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "FluxGuidance",
        "widget_ue_connectable": {
          "guidance": true
        }
      },
      "widgets_values": [
        2.5
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1340,
        430
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 17
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            103
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "VAEDecode",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 54,
      "type": "DifferentialDiffusion",
      "pos": [
        920,
        560
      ],
      "size": [
        165.3000030517578,
        26
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 308
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            127
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.44",
        "Node name for S&R": "DifferentialDiffusion",
        "widget_ue_connectable": {}
      },
      "widgets_values": []
    },
    {
      "id": 133,
      "type": "AILab_ReferenceLatentMask",
      "pos": [
        890,
        690
      ],
      "size": [
        374.0249938964844,
        146
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 291
        },
        {
          "name": "latent",
          "type": "LATENT",
          "link": 287
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 294
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            292
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": null
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.6.0",
        "Node name for S&R": "AILab_ReferenceLatentMask",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        0,
        10,
        false
      ]
    },
    {
      "id": 38,
      "type": "InpaintCropImproved",
      "pos": [
        200,
        170
      ],
      "size": [
        390,
        626
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 306
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 305
        },
        {
          "name": "optional_context_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "output_resize_to_target_size",
          "type": "BOOLEAN",
          "widget": {
            "name": "output_resize_to_target_size"
          },
          "link": 283
        }
      ],
      "outputs": [
        {
          "name": "stitcher",
          "type": "STITCHER",
          "links": [
            102
          ]
        },
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "links": [
            201,
            215,
            288
          ]
        },
        {
          "name": "cropped_mask",
          "type": "MASK",
          "links": [
            294
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-inpaint-cropandstitch",
        "ver": "2.1.7",
        "Node name for S&R": "InpaintCropImproved",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "lanczos",
        "lanczos",
        false,
        "ensure minimum resolution",
        1024,
        1024,
        16384,
        16384,
        true,
        0,
        false,
        8,
        0.10000000000000002,
        false,
        1.0000000000000002,
        1.0000000000000002,
        1.0000000000000002,
        1.0000000000000002,
        1.0000000000000002,
        true,
        1024,
        1024,
        "0"
      ]
    },
    {
      "id": 119,
      "type": "SaveImage",
      "pos": [
        -90,
        1510
      ],
      "size": [
        270,
        270
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 299
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.44",
        "Node name for S&R": "SaveImage",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "rmbg"
      ]
    },
    {
      "id": 132,
      "type": "MaskBoundingBox+",
      "pos": [
        620,
        -30
      ],
      "size": [
        270,
        182
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 307
        },
        {
          "name": "image_optional",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        },
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "x",
          "type": "INT",
          "links": null
        },
        {
          "name": "y",
          "type": "INT",
          "links": null
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            303
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            304
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_essentials",
        "ver": "1.1.0",
        "Node name for S&R": "MaskBoundingBox+",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        0,
        0
      ]
    },
    {
      "id": 62,
      "type": "LoadImage",
      "pos": [
        -1290,
        1290
      ],
      "size": [
        640,
        610
      ],
      "flags": {
        "collapsed": false
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            297
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.44",
        "Node name for S&R": "LoadImage",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "ComfyUI_38200_.png",
        "image"
      ]
    },
    {
      "id": 137,
      "type": "AILab_LoadImage",
      "pos": [
        -340,
        70
      ],
      "size": [
        320,
        494
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            306
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            305,
            307
          ]
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "WIDTH",
          "type": "INT",
          "links": null
        },
        {
          "name": "HEIGHT",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.6.0",
        "Node name for S&R": "AILab_LoadImage",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "clipspace/clipspace-mask-23774832.png [input]",
        "alpha",
        "lanczos",
        1.0000000000000002,
        "longest_side",
        0,
        "image"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 9,
      "type": "CLIPTextEncode",
      "pos": [
        410,
        880
      ],
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "flags": {
        "collapsed": true
      },
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 19
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            91
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "CLIPTextEncode",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 81,
      "type": "SaveImage",
      "pos": [
        1910,
        410
      ],
      "size": [
        430,
        410
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 197
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.44",
        "Node name for S&R": "SaveImage",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "krita"
      ]
    },
    {
      "id": 135,
      "type": "BiRefNetRMBG",
      "pos": [
        -530,
        1330
      ],
      "size": [
        340,
        218
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 297
        },
        {
          "name": "background_color",
          "shape": 7,
          "type": "COLOR",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            298,
            299
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.6.0",
        "Node name for S&R": "BiRefNetRMBG",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "BiRefNet-HR",
        0,
        -1,
        false,
        false,
        "Alpha"
      ],
      "color": "#222e40",
      "bgcolor": "#364254"
    },
    {
      "id": 4,
      "type": "CLIPTextEncode",
      "pos": [
        -80,
        820
      ],
      "size": [
        410,
        150
      ],
      "flags": {
        "collapsed": false
      },
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            291
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.43",
        "Node name for S&R": "CLIPTextEncode",
        "widget_ue_connectable": {
          "text": true
        }
      },
      "widgets_values": [
        "she's riding the motorcycle"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 138,
      "type": "UNETLoader",
      "pos": [
        -420,
        680
      ],
      "size": [
        337.76861572265625,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            308
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.38",
        "Node name for S&R": "UNETLoader",
        "models": [
          {
            "name": "flux1-dev-kontext_fp8_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "flux1-dev-kontext_fp8_scaled.safetensors",
        "default"
      ],
      "color": "#322",
      "bgcolor": "#533"
    }
  ],
  "links": [
    [
      1,
      2,
      0,
      4,
      0,
      "CLIP"
    ],
    [
      17,
      7,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      18,
      3,
      0,
      8,
      1,
      "VAE"
    ],
    [
      19,
      2,
      0,
      9,
      0,
      "CLIP"
    ],
    [
      91,
      9,
      0,
      7,
      2,
      "CONDITIONING"
    ],
    [
      102,
      38,
      0,
      49,
      0,
      "STITCHER"
    ],
    [
      103,
      8,
      0,
      49,
      1,
      "IMAGE"
    ],
    [
      114,
      3,
      0,
      51,
      1,
      "VAE"
    ],
    [
      127,
      54,
      0,
      7,
      0,
      "MODEL"
    ],
    [
      197,
      49,
      0,
      81,
      0,
      "IMAGE"
    ],
    [
      201,
      38,
      1,
      82,
      0,
      "IMAGE"
    ],
    [
      212,
      82,
      0,
      51,
      0,
      "IMAGE"
    ],
    [
      215,
      38,
      1,
      86,
      0,
      "IMAGE"
    ],
    [
      216,
      86,
      0,
      87,
      0,
      "IMAGE"
    ],
    [
      217,
      3,
      0,
      87,
      1,
      "VAE"
    ],
    [
      231,
      99,
      0,
      89,
      0,
      "*"
    ],
    [
      234,
      100,
      0,
      89,
      1,
      "*"
    ],
    [
      239,
      51,
      0,
      102,
      0,
      "LATENT"
    ],
    [
      240,
      102,
      0,
      99,
      0,
      "*"
    ],
    [
      241,
      102,
      1,
      99,
      1,
      "*"
    ],
    [
      242,
      87,
      0,
      101,
      0,
      "LATENT"
    ],
    [
      243,
      101,
      0,
      100,
      0,
      "*"
    ],
    [
      244,
      101,
      1,
      100,
      1,
      "*"
    ],
    [
      249,
      89,
      0,
      106,
      0,
      "*"
    ],
    [
      259,
      51,
      0,
      106,
      1,
      "*"
    ],
    [
      260,
      87,
      0,
      106,
      2,
      "*"
    ],
    [
      262,
      113,
      0,
      82,
      1,
      "IMAGE"
    ],
    [
      263,
      113,
      0,
      86,
      1,
      "IMAGE"
    ],
    [
      274,
      128,
      0,
      121,
      1,
      "*"
    ],
    [
      275,
      128,
      0,
      126,
      1,
      "*"
    ],
    [
      276,
      121,
      0,
      129,
      0,
      "*"
    ],
    [
      277,
      130,
      0,
      129,
      1,
      "*"
    ],
    [
      278,
      126,
      0,
      129,
      2,
      "*"
    ],
    [
      283,
      129,
      0,
      38,
      3,
      "BOOLEAN"
    ],
    [
      287,
      106,
      0,
      133,
      1,
      "LATENT"
    ],
    [
      288,
      38,
      1,
      134,
      0,
      "IMAGE"
    ],
    [
      289,
      134,
      0,
      7,
      3,
      "LATENT"
    ],
    [
      290,
      3,
      0,
      134,
      1,
      "VAE"
    ],
    [
      291,
      4,
      0,
      133,
      0,
      "CONDITIONING"
    ],
    [
      292,
      133,
      0,
      5,
      0,
      "CONDITIONING"
    ],
    [
      293,
      5,
      0,
      7,
      1,
      "CONDITIONING"
    ],
    [
      294,
      38,
      2,
      133,
      2,
      "MASK"
    ],
    [
      297,
      62,
      0,
      135,
      0,
      "IMAGE"
    ],
    [
      298,
      135,
      0,
      113,
      0,
      "IMAGE"
    ],
    [
      299,
      135,
      0,
      119,
      0,
      "IMAGE"
    ],
    [
      303,
      132,
      4,
      121,
      0,
      "*"
    ],
    [
      304,
      132,
      5,
      126,
      0,
      "*"
    ],
    [
      305,
      137,
      1,
      38,
      1,
      "MASK"
    ],
    [
      306,
      137,
      0,
      38,
      0,
      "IMAGE"
    ],
    [
      307,
      137,
      1,
      132,
      0,
      "MASK"
    ],
    [
      308,
      138,
      0,
      54,
      0,
      "MODEL"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.9599286477392697,
      "offset": [
        815.8554376716115,
        -677.6743848632461
      ]
    },
    "ue_links": [],
    "links_added_by_ue": [],
    "frontendVersion": "1.23.4"
  },
  "version": 0.4
}