{
  "id": "659b4eae-4a1e-444c-a2e5-9da456f179bb",
  "revision": 0,
  "last_node_id": 97,
  "last_link_id": 215,
  "nodes": [
    {
      "id": 72,
      "type": "UnetLoaderGGUF",
      "pos": [
        550,
        -140
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            153
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-GGUF",
        "ver": "bc5223b0e37e053dbec2ea5e5f52c2fd4b8f712a",
        "Node name for S&R": "UnetLoaderGGUF"
      },
      "widgets_values": [
        "FLUX_gguf\\flux1-fill-dev-Q4_K_S.gguf"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 55,
      "type": "LoadImage",
      "pos": [
        200,
        420
      ],
      "size": [
        290,
        498.96368408203125
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            163
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "pexels-photo-15169599.jpg",
        "image",
        ""
      ]
    },
    {
      "id": 32,
      "type": "VAELoader",
      "pos": [
        597.4476928710938,
        254.066162109375
      ],
      "size": [
        248.4499969482422,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            60,
            170
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "FLUXvae.safetensors"
      ]
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        1250,
        40
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 206
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 171
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 172
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 173
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1234,
        "fixed",
        30,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 48,
      "type": "LoraLoaderModelOnly",
      "pos": [
        900,
        -140
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 153
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            206
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "LoraLoaderModelOnly"
      },
      "widgets_values": [
        "ACE_Plus\\comfyui_portrait_lora64.safetensors",
        1
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 56,
      "type": "LoadImage",
      "pos": [
        199.01502990722656,
        984.2403564453125
      ],
      "size": [
        290,
        510
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            164
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "slot_index": 1,
          "links": [
            204
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "clipspace/clipspace-mask-37996723.69999981.png [input]",
        "image",
        ""
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1600,
        40
      ],
      "size": [
        190,
        46
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 60
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            207
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 78,
      "type": "ACEPlusLoraProcessor",
      "pos": [
        565.2416381835938,
        415.5736999511719
      ],
      "size": [
        315,
        234
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 163
        },
        {
          "name": "edit_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 164
        },
        {
          "name": "edit_mask",
          "shape": 7,
          "type": "MASK",
          "link": 204
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            166,
            205
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            195
          ]
        },
        {
          "name": "OUT_H",
          "type": "INT",
          "links": [
            211
          ]
        },
        {
          "name": "OUT_W",
          "type": "INT",
          "links": [
            212
          ]
        },
        {
          "name": "SLICE_W",
          "type": "INT",
          "links": [
            213
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ACEPlusLoraProcessor"
      },
      "widgets_values": [
        true,
        1024,
        1024,
        "repainting",
        3072
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 95,
      "type": "ImageCrop",
      "pos": [
        1840,
        40
      ],
      "size": [
        210,
        130
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 207
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 212
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 211
        },
        {
          "name": "x",
          "type": "INT",
          "widget": {
            "name": "x"
          },
          "link": 213
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            214
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "ImageCrop"
      },
      "widgets_values": [
        512,
        512,
        0,
        0
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 96,
      "type": "PreviewImage",
      "pos": [
        2079.263427734375,
        41.27529525756836
      ],
      "size": [
        495.5356750488281,
        730.54541015625
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 214
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 63,
      "type": "PreviewImage",
      "pos": [
        926.4385986328125,
        412.4072265625
      ],
      "size": [
        435.3353271484375,
        324.3360290527344
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 205
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 23,
      "type": "CLIPTextEncode",
      "pos": [
        150,
        10
      ],
      "size": [
        397.89935302734375,
        120.82927703857422
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 62
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            41
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "The girl looking at viewer"
      ]
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        160,
        200
      ],
      "size": [
        397.89935302734375,
        132.290771484375
      ],
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 63
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            169
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 26,
      "type": "FluxGuidance",
      "pos": [
        600,
        10
      ],
      "size": [
        242.8545684814453,
        58
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 41
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            168
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        30
      ]
    },
    {
      "id": 34,
      "type": "DualCLIPLoader",
      "pos": [
        -208.03005981445312,
        92.42076873779297
      ],
      "size": [
        315,
        130
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            62,
            63
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "DualCLIPLoader"
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp8_e4m3fn.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "id": 79,
      "type": "ACEPlusLoraConditioning",
      "pos": [
        903.8878173828125,
        59.738609313964844
      ],
      "size": [
        315,
        138
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 168
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 169
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 170
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 166
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 195
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            171
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            172
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            173
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ACEPlusLoraConditioning"
      },
      "widgets_values": [
        false
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    }
  ],
  "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"
    ],
    [
      153,
      72,
      0,
      48,
      0,
      "MODEL"
    ],
    [
      163,
      55,
      0,
      78,
      0,
      "IMAGE"
    ],
    [
      164,
      56,
      0,
      78,
      1,
      "IMAGE"
    ],
    [
      166,
      78,
      0,
      79,
      3,
      "IMAGE"
    ],
    [
      168,
      26,
      0,
      79,
      0,
      "CONDITIONING"
    ],
    [
      169,
      7,
      0,
      79,
      1,
      "CONDITIONING"
    ],
    [
      170,
      32,
      0,
      79,
      2,
      "VAE"
    ],
    [
      171,
      79,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      172,
      79,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      173,
      79,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      195,
      78,
      1,
      79,
      4,
      "MASK"
    ],
    [
      204,
      56,
      1,
      78,
      2,
      "MASK"
    ],
    [
      205,
      78,
      0,
      63,
      0,
      "IMAGE"
    ],
    [
      206,
      48,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      207,
      8,
      0,
      95,
      0,
      "IMAGE"
    ],
    [
      211,
      78,
      2,
      95,
      2,
      "INT"
    ],
    [
      212,
      78,
      3,
      95,
      1,
      "INT"
    ],
    [
      213,
      78,
      4,
      95,
      3,
      "INT"
    ],
    [
      214,
      95,
      0,
      96,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.2940834937055236,
      "offset": [
        -105.93120800654457,
        1432.1167803053202
      ]
    },
    "node_versions": {
      "comfy-core": "v0.3.10-44-g2ff3104",
      "Comfyui-In-Context-Lora-Utils": "6ef772d589928a380a139c6cd2cfc49b83c8e441"
    },
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}