{
  "id": "68ee8198-d33d-48ba-a3f6-65bf5c84d6e4",
  "revision": 0,
  "last_node_id": 26,
  "last_link_id": 34,
  "nodes": [
    {
      "id": 11,
      "type": "UnetLoaderGGUF",
      "pos": [
        610,
        40
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            21
          ]
        }
      ],
      "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": 15,
      "type": "VAELoader",
      "pos": [
        660,
        410
      ],
      "size": [
        248.4499969482422,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            18,
            23
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "FLUXvae.safetensors"
      ]
    },
    {
      "id": 20,
      "type": "VAEDecode",
      "pos": [
        1660,
        188.83277893066406
      ],
      "size": [
        190,
        46
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 22
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 23
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            27
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 12,
      "type": "LoadImage",
      "pos": [
        296.1838684082031,
        566.498291015625
      ],
      "size": [
        290,
        498.96368408203125
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            24
          ]
        },
        {
          "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": 17,
      "type": "ACEPlusLoraConditioning",
      "pos": [
        968.0706787109375,
        210.35354614257812
      ],
      "size": [
        315,
        138
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 16
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 17
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 18
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 19
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            13
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            14
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            15
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ACEPlusLoraConditioning"
      },
      "widgets_values": [
        false
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 23,
      "type": "PreviewImage",
      "pos": [
        2140,
        190
      ],
      "size": [
        590,
        580
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 31
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 24,
      "type": "PreviewImage",
      "pos": [
        988.9389038085938,
        571.0610961914062
      ],
      "size": [
        435.3353271484375,
        324.3360290527344
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 32
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 21,
      "type": "ACEPlusLoraProcessor",
      "pos": [
        630,
        570
      ],
      "size": [
        315,
        234
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 24
        },
        {
          "name": "edit_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "edit_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            19,
            32
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            20
          ]
        },
        {
          "name": "OUT_H",
          "type": "INT",
          "links": [
            29
          ]
        },
        {
          "name": "OUT_W",
          "type": "INT",
          "links": [
            28
          ]
        },
        {
          "name": "SLICE_W",
          "type": "INT",
          "links": [
            30
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ACEPlusLoraProcessor"
      },
      "widgets_values": [
        true,
        1024,
        1024,
        "repainting",
        3072
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 25,
      "type": "CLIPTextEncode",
      "pos": [
        260,
        170
      ],
      "size": [
        357.0466003417969,
        137.17037963867188
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 33
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            10
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A photograph of a woman wearing a yellow sweater, taken in front of a café in the UK, with a blurred background, intended for a magazine cover."
      ]
    },
    {
      "id": 13,
      "type": "FluxGuidance",
      "pos": [
        645.9932250976562,
        176.34109497070312
      ],
      "size": [
        242.8545684814453,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        30
      ]
    },
    {
      "id": 10,
      "type": "DualCLIPLoader",
      "pos": [
        -97.66555786132812,
        274.1638488769531
      ],
      "size": [
        315,
        130
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            11,
            33
          ]
        }
      ],
      "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": 14,
      "type": "CLIPTextEncode",
      "pos": [
        264.6689147949219,
        366.498291015625
      ],
      "size": [
        397.89935302734375,
        132.290771484375
      ],
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 11
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            17
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.27",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 16,
      "type": "KSampler",
      "pos": [
        1314.6689453125,
        188.83277893066406
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 12
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 13
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 14
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            22
          ]
        }
      ],
      "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": 22,
      "type": "ImageCrop",
      "pos": [
        1891.829345703125,
        190
      ],
      "size": [
        210,
        130
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 27
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 28
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 29
        },
        {
          "name": "x",
          "type": "INT",
          "widget": {
            "name": "x"
          },
          "link": 30
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            31
          ]
        }
      ],
      "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": 18,
      "type": "LoraLoaderModelOnly",
      "pos": [
        960,
        40
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 21
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            12
          ]
        }
      ],
      "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"
    }
  ],
  "links": [
    [
      10,
      25,
      0,
      13,
      0,
      "CONDITIONING"
    ],
    [
      11,
      10,
      0,
      14,
      0,
      "CLIP"
    ],
    [
      12,
      18,
      0,
      16,
      0,
      "MODEL"
    ],
    [
      13,
      17,
      0,
      16,
      1,
      "CONDITIONING"
    ],
    [
      14,
      17,
      1,
      16,
      2,
      "CONDITIONING"
    ],
    [
      15,
      17,
      2,
      16,
      3,
      "LATENT"
    ],
    [
      16,
      13,
      0,
      17,
      0,
      "CONDITIONING"
    ],
    [
      17,
      14,
      0,
      17,
      1,
      "CONDITIONING"
    ],
    [
      18,
      15,
      0,
      17,
      2,
      "VAE"
    ],
    [
      19,
      21,
      0,
      17,
      3,
      "IMAGE"
    ],
    [
      20,
      21,
      1,
      17,
      4,
      "MASK"
    ],
    [
      21,
      11,
      0,
      18,
      0,
      "MODEL"
    ],
    [
      22,
      16,
      0,
      20,
      0,
      "LATENT"
    ],
    [
      23,
      15,
      0,
      20,
      1,
      "VAE"
    ],
    [
      24,
      12,
      0,
      21,
      0,
      "IMAGE"
    ],
    [
      27,
      20,
      0,
      22,
      0,
      "IMAGE"
    ],
    [
      28,
      21,
      3,
      22,
      1,
      "INT"
    ],
    [
      29,
      21,
      2,
      22,
      2,
      "INT"
    ],
    [
      30,
      21,
      4,
      22,
      3,
      "INT"
    ],
    [
      31,
      22,
      0,
      23,
      0,
      "IMAGE"
    ],
    [
      32,
      21,
      0,
      24,
      0,
      "IMAGE"
    ],
    [
      33,
      10,
      0,
      25,
      0,
      "CLIP"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.4836049022304428,
      "offset": [
        121.19217889705396,
        180.49827241415346
      ]
    },
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}