{
  "last_node_id": 58,
  "last_link_id": 108,
  "nodes": [
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1620,
        98
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "localized_name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "name": "vae",
          "localized_name": "vae",
          "type": "VAE",
          "link": 60
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "localized_name": "IMAGE",
          "type": "IMAGE",
          "links": [
            95
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 38,
      "type": "InpaintModelConditioning",
      "pos": [
        952,
        78
      ],
      "size": [
        302.4000244140625,
        138
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "localized_name": "positive",
          "type": "CONDITIONING",
          "link": 80
        },
        {
          "name": "negative",
          "localized_name": "negative",
          "type": "CONDITIONING",
          "link": 81
        },
        {
          "name": "vae",
          "localized_name": "vae",
          "type": "VAE",
          "link": 82
        },
        {
          "name": "pixels",
          "localized_name": "pixels",
          "type": "IMAGE",
          "link": 107
        },
        {
          "name": "mask",
          "localized_name": "mask",
          "type": "MASK",
          "link": 108
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "localized_name": "positive",
          "type": "CONDITIONING",
          "links": [
            77
          ],
          "slot_index": 0
        },
        {
          "name": "negative",
          "localized_name": "negative",
          "type": "CONDITIONING",
          "links": [
            78
          ],
          "slot_index": 1
        },
        {
          "name": "latent",
          "localized_name": "latent",
          "type": "LATENT",
          "links": [
            88
          ],
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "InpaintModelConditioning"
      },
      "widgets_values": [
        false
      ]
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        1280,
        100
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "localized_name": "model",
          "type": "MODEL",
          "link": 102
        },
        {
          "name": "positive",
          "localized_name": "positive",
          "type": "CONDITIONING",
          "link": 77
        },
        {
          "name": "negative",
          "localized_name": "negative",
          "type": "CONDITIONING",
          "link": 78
        },
        {
          "name": "latent_image",
          "localized_name": "latent_image",
          "type": "LATENT",
          "link": 88
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "localized_name": "LATENT",
          "type": "LATENT",
          "links": [
            7
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        482487939694684,
        "randomize",
        20,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 26,
      "type": "FluxGuidance",
      "pos": [
        596,
        48
      ],
      "size": [
        317.4000244140625,
        58
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "localized_name": "conditioning",
          "type": "CONDITIONING",
          "link": 41
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "localized_name": "CONDITIONING",
          "type": "CONDITIONING",
          "shape": 3,
          "links": [
            80
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        30
      ]
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        165,
        267
      ],
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "localized_name": "clip",
          "type": "CLIP",
          "link": 63
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "localized_name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            81
          ],
          "slot_index": 0
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 34,
      "type": "DualCLIPLoader",
      "pos": [
        -237,
        76
      ],
      "size": [
        315,
        122
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "localized_name": "CLIP",
          "type": "CLIP",
          "links": [
            62,
            63
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DualCLIPLoader"
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp16.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "id": 58,
      "type": "ImageAndMaskResizeNode",
      "pos": [
        536.786865234375,
        328.54388427734375
      ],
      "size": [
        315,
        174
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "localized_name": "image",
          "type": "IMAGE",
          "link": 105
        },
        {
          "name": "mask",
          "localized_name": "mask",
          "type": "MASK",
          "link": 106
        }
      ],
      "outputs": [
        {
          "name": "image",
          "localized_name": "image",
          "type": "IMAGE",
          "links": [
            107
          ],
          "slot_index": 0
        },
        {
          "name": "mask",
          "localized_name": "mask",
          "type": "MASK",
          "links": [
            108
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "ImageAndMaskResizeNode"
      },
      "widgets_values": [
        1024,
        1024,
        "nearest-exact",
        "center",
        10
      ]
    },
    {
      "id": 23,
      "type": "CLIPTextEncode",
      "pos": [
        144,
        -7
      ],
      "size": [
        422.84503173828125,
        164.31304931640625
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "localized_name": "clip",
          "type": "CLIP",
          "link": 62
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "localized_name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            41
          ],
          "slot_index": 0
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A wooden basket of a cat."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 48,
      "type": "Note",
      "pos": [
        210.1423797607422,
        572.7574462890625
      ],
      "size": [
        266.4635925292969,
        132.3040771484375
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "To add mask for fill inpainting, right click on the uploaded image and select \"Open in MaskEditor\". Use the brush tool to add masking and click save to continue."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 45,
      "type": "SVDQuantFluxDiTLoader",
      "pos": [
        936.3029174804688,
        -113.06819915771484
      ],
      "size": [
        315,
        106
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "localized_name": "MODEL",
          "type": "MODEL",
          "links": [
            102
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SVDQuantFluxDiTLoader"
      },
      "widgets_values": [
        "mit-han-lab/svdq-int4-flux.1-fill-dev",
        "disable",
        0
      ]
    },
    {
      "id": 17,
      "type": "LoadImage",
      "pos": [
        -225.73123168945312,
        316.9361267089844
      ],
      "size": [
        423.5578308105469,
        437.250732421875
      ],
      "flags": {
        "collapsed": false
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "localized_name": "IMAGE",
          "type": "IMAGE",
          "shape": 3,
          "links": [
            105
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "localized_name": "MASK",
          "type": "MASK",
          "shape": 3,
          "links": [
            106
          ],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "clipspace/clipspace-mask-331829.799999997.png [input]",
        "image"
      ]
    },
    {
      "id": 32,
      "type": "VAELoader",
      "pos": [
        953.8762817382812,
        440.3467102050781
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "localized_name": "VAE",
          "type": "VAE",
          "links": [
            60,
            82
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "ae.safetensors"
      ]
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        1862.43359375,
        96.36107635498047
      ],
      "size": [
        828.9535522460938,
        893.8475341796875
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "localized_name": "images",
          "type": "IMAGE",
          "link": 95
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    }
  ],
  "links": [
    [
      7,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      41,
      23,
      0,
      26,
      0,
      "CONDITIONING"
    ],
    [
      60,
      32,
      0,
      8,
      1,
      "VAE"
    ],
    [
      62,
      34,
      0,
      23,
      0,
      "CLIP"
    ],
    [
      63,
      34,
      0,
      7,
      0,
      "CLIP"
    ],
    [
      77,
      38,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      78,
      38,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      80,
      26,
      0,
      38,
      0,
      "CONDITIONING"
    ],
    [
      81,
      7,
      0,
      38,
      1,
      "CONDITIONING"
    ],
    [
      82,
      32,
      0,
      38,
      2,
      "VAE"
    ],
    [
      88,
      38,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      95,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      102,
      45,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      105,
      17,
      0,
      58,
      0,
      "IMAGE"
    ],
    [
      106,
      17,
      1,
      58,
      1,
      "MASK"
    ],
    [
      107,
      58,
      0,
      38,
      3,
      "IMAGE"
    ],
    [
      108,
      58,
      1,
      38,
      4,
      "MASK"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.7985878990921451,
      "offset": [
        -287.8887097712823,
        208.1745856210748
      ]
    },
    "node_versions": {
      "comfy-core": "0.3.24",
      "comfyui-inpainteasy": "1.0.2"
    }
  },
  "version": 0.4
}