{
  "id": "d4af43db-f0fb-4e86-9be1-e786891b6d65",
  "revision": 0,
  "last_node_id": 276,
  "last_link_id": 406,
  "nodes": [
    {
      "id": 85,
      "type": "FaceDetailer",
      "pos": [
        2915.20239257813,
        3.21469402313232
      ],
      "size": [
        519,
        960
      ],
      "flags": {},
      "order": 39,
      "mode": 4,
      "inputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "link": 235
        },
        {
          "label": "模型",
          "name": "model",
          "type": "MODEL",
          "link": 358
        },
        {
          "label": "CLIP",
          "name": "clip",
          "type": "CLIP",
          "link": 270
        },
        {
          "label": "VAE",
          "name": "vae",
          "type": "VAE",
          "link": 269
        },
        {
          "label": "正面条件",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 334
        },
        {
          "label": "负面条件",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 300
        },
        {
          "label": "BBox检测",
          "name": "bbox_detector",
          "type": "BBOX_DETECTOR",
          "link": 243
        },
        {
          "label": "SAM模型",
          "name": "sam_model_opt",
          "shape": 7,
          "type": "SAM_MODEL",
          "link": 244
        },
        {
          "label": "Segm检测",
          "name": "segm_detector_opt",
          "shape": 7,
          "type": "SEGM_DETECTOR"
        },
        {
          "label": "细化约束",
          "name": "detailer_hook",
          "shape": 7,
          "type": "DETAILER_HOOK"
        },
        {
          "name": "scheduler_func_opt",
          "shape": 7,
          "type": "SCHEDULER_FUNC"
        },
        {
          "label": "随机种",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 250
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            245,
            247
          ]
        },
        {
          "label": "细化图像",
          "name": "cropped_refined",
          "shape": 6,
          "type": "IMAGE",
          "slot_index": 1,
          "links": []
        },
        {
          "label": "细化部分",
          "name": "cropped_enhanced_alpha",
          "shape": 6,
          "type": "IMAGE",
          "slot_index": 2,
          "links": []
        },
        {
          "label": "遮罩",
          "name": "mask",
          "type": "MASK"
        },
        {
          "label": "细化节点束",
          "name": "detailer_pipe",
          "type": "DETAILER_PIPE"
        },
        {
          "label": "ControlNet图像",
          "name": "cnet_images",
          "shape": 6,
          "type": "IMAGE",
          "slot_index": 5,
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "FaceDetailer",
        "cnr_id": "comfyui-impact-pack",
        "ver": "808b0dedf03534a2594ecb60a9d6305a044efdc2"
      },
      "widgets_values": [
        768,
        true,
        1280,
        308122320222969,
        "fixed",
        20,
        1,
        "euler",
        "simple",
        0.35,
        5,
        true,
        true,
        0.5,
        10,
        1,
        "center-1",
        0,
        0.93,
        0,
        0.7,
        "False",
        10,
        "",
        1,
        false,
        20,
        false,
        false
      ]
    },
    {
      "id": 238,
      "type": "ConditioningZeroOut",
      "pos": [
        2513.5634765625,
        915.387145996094
      ],
      "size": [
        211.600006103516,
        26
      ],
      "flags": {
        "collapsed": false
      },
      "order": 20,
      "mode": 4,
      "inputs": [
        {
          "label": "条件",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 299
        }
      ],
      "outputs": [
        {
          "label": "条件",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            300
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 89,
      "type": "SAMLoader",
      "pos": [
        2447.5634765625,
        464.387115478516
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "label": "SAM模型",
          "name": "SAM_MODEL",
          "type": "SAM_MODEL",
          "slot_index": 0,
          "links": [
            244
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SAMLoader",
        "cnr_id": "comfyui-impact-pack",
        "ver": "808b0dedf03534a2594ecb60a9d6305a044efdc2"
      },
      "widgets_values": [
        "sam_vit_b_01ec64.pth",
        "CPU"
      ]
    },
    {
      "id": 254,
      "type": "FluxGuidance",
      "pos": [
        2584.5634765625,
        614.387145996094
      ],
      "size": [
        317.400024414063,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 21,
      "mode": 4,
      "inputs": [
        {
          "label": "条件",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 333
        }
      ],
      "outputs": [
        {
          "label": "条件",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            334
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        3.5
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 114,
      "type": "VAELoader",
      "pos": [
        -848,
        209
      ],
      "size": [
        219.164398193359,
        58.9215240478516
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            257,
            268,
            269,
            271,
            272
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "ae.sft"
      ]
    },
    {
      "id": 221,
      "type": "SaveImage",
      "pos": [
        2199,
        -769
      ],
      "size": [
        265.456817626953,
        617.023498535156
      ],
      "flags": {},
      "order": 44,
      "mode": 4,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 248
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 228,
      "type": "ConditioningZeroOut",
      "pos": [
        347.239837646484,
        863.399658203125
      ],
      "size": [
        211.600006103516,
        26
      ],
      "flags": {
        "collapsed": true
      },
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "label": "条件",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 326
        }
      ],
      "outputs": [
        {
          "label": "条件",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            256
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 239,
      "type": "Note",
      "pos": [
        -587,
        1353
      ],
      "size": [
        399.305572509766,
        88
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "如果发现结果不像真人，可以降低weight的值"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 264,
      "type": "PulidFluxInsightFaceLoader",
      "pos": [
        1315.38500976563,
        179.996551513672
      ],
      "size": [
        365.400024414063,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "FACEANALYSIS",
          "name": "FACEANALYSIS",
          "type": "FACEANALYSIS",
          "links": [
            355
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PulidFluxInsightFaceLoader"
      },
      "widgets_values": [
        "CPU"
      ]
    },
    {
      "id": 263,
      "type": "PulidFluxModelLoader",
      "pos": [
        1335.38500976563,
        5.99653005599976
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "PULIDFLUX",
          "name": "PULIDFLUX",
          "type": "PULIDFLUX",
          "links": [
            353
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PulidFluxModelLoader"
      },
      "widgets_values": [
        "pulid_flux_v0.9.0.safetensors"
      ]
    },
    {
      "id": 230,
      "type": "Get Image Size",
      "pos": [
        1766.66345214844,
        94.1024932861328
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "link": 343
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "slot_index": 0,
          "links": [
            277
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "slot_index": 1,
          "links": [
            278
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "Get Image Size",
        "cnr_id": "masquerade-nodes-comfyui",
        "ver": "432cb4d146a391b387a0cd25ace824328b5b61cf"
      },
      "widgets_values": []
    },
    {
      "id": 219,
      "type": "SaveImage",
      "pos": [
        1359,
        -647
      ],
      "size": [
        350.302154541016,
        458.013580322266
      ],
      "flags": {},
      "order": 42,
      "mode": 4,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 245
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 265,
      "type": "PulidEvaClipLoader",
      "pos": [
        1342,
        299
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "EVA_CLIP",
          "name": "EVA_CLIP",
          "type": "EVA_CLIP",
          "links": [
            354
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PulidEvaClipLoader"
      },
      "widgets_values": []
    },
    {
      "id": 222,
      "type": "SeedSelector",
      "pos": [
        1769,
        820
      ],
      "size": [
        315,
        130
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "seed",
          "name": "seed",
          "type": "INT",
          "slot_index": 0,
          "links": [
            249,
            250
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SeedSelector",
        "cnr_id": "comfyui-art-venture",
        "ver": "50abaace756b96f5f5dc2c9d72826ef371afd45e"
      },
      "widgets_values": [
        true,
        303720445046156,
        "randomize",
        177685641150682
      ]
    },
    {
      "id": 21,
      "type": "VAEEncode",
      "pos": [
        1819,
        687
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "pixels",
          "type": "IMAGE",
          "link": 342
        },
        {
          "label": "VAE",
          "name": "vae",
          "type": "VAE",
          "link": 268
        }
      ],
      "outputs": [
        {
          "label": "Latent",
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            33
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": []
    },
    {
      "id": 73,
      "type": "ModelSamplingFlux",
      "pos": [
        2002,
        88
      ],
      "size": [
        321.027770996094,
        170
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "label": "模型",
          "name": "model",
          "type": "MODEL",
          "link": 357
        },
        {
          "label": "宽度",
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 277
        },
        {
          "label": "高度",
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 278
        }
      ],
      "outputs": [
        {
          "label": "模型",
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            275,
            358
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingFlux",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        1.03,
        0.5,
        1024,
        1024
      ]
    },
    {
      "id": 103,
      "type": "UltralyticsDetectorProvider",
      "pos": [
        2444,
        313
      ],
      "size": [
        340.200012207031,
        78
      ],
      "flags": {},
      "order": 7,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "label": "BBox检测",
          "name": "BBOX_DETECTOR",
          "type": "BBOX_DETECTOR",
          "slot_index": 0,
          "links": [
            243
          ]
        },
        {
          "label": "SEGM检测",
          "name": "SEGM_DETECTOR",
          "type": "SEGM_DETECTOR"
        }
      ],
      "properties": {
        "Node name for S&R": "UltralyticsDetectorProvider",
        "cnr_id": "comfyui-impact-subpack",
        "ver": "1.2.9"
      },
      "widgets_values": [
        "bbox/face_yolov8m"
      ]
    },
    {
      "id": 86,
      "type": "CLIPTextEncode",
      "pos": [
        2412,
        671
      ],
      "size": [
        422.845031738281,
        164.313049316406
      ],
      "flags": {},
      "order": 16,
      "mode": 4,
      "inputs": [
        {
          "label": "CLIP",
          "name": "clip",
          "type": "CLIP",
          "link": 260
        }
      ],
      "outputs": [
        {
          "label": "条件",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            299,
            333
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "best quality,realistic asian lady face,pale skin,"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 20,
      "type": "ControlNetApplyAdvanced",
      "pos": [
        564.704223632813,
        143.83544921875
      ],
      "size": [
        315,
        186
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "label": "正面条件",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 325
        },
        {
          "label": "负面条件",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 256
        },
        {
          "label": "ControlNet",
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 304
        },
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "link": 157
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 271
        }
      ],
      "outputs": [
        {
          "label": "正面条件",
          "name": "positive",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            159
          ]
        },
        {
          "label": "负面条件",
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 1,
          "links": [
            160
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetApplyAdvanced",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        0.4,
        0,
        0.8
      ]
    },
    {
      "id": 83,
      "type": "ControlNetApplyAdvanced",
      "pos": [
        939,
        141
      ],
      "size": [
        315,
        186
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "label": "正面条件",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 159
        },
        {
          "label": "负面条件",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 160
        },
        {
          "label": "ControlNet",
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 305
        },
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "link": 351
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 272
        }
      ],
      "outputs": [
        {
          "label": "正面条件",
          "name": "positive",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            363
          ]
        },
        {
          "label": "负面条件",
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 1,
          "links": [
            364
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetApplyAdvanced",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        0.4,
        0,
        0.8
      ]
    },
    {
      "id": 249,
      "type": "FluxGuidance",
      "pos": [
        238,
        289
      ],
      "size": [
        399.658386230469,
        297.548675537109
      ],
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "label": "条件",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 370
        }
      ],
      "outputs": [
        {
          "label": "条件",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            324
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        3.5
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 52,
      "type": "PreviewImage",
      "pos": [
        628,
        554
      ],
      "size": [
        191.755462646484,
        360.951446533203
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 158
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": []
    },
    {
      "id": 84,
      "type": "PreviewImage",
      "pos": [
        950,
        642
      ],
      "size": [
        296.779296875,
        273.944458007813
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 352
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": []
    },
    {
      "id": 132,
      "type": "DualCLIPLoader",
      "pos": [
        -892,
        324
      ],
      "size": [
        335.105346679688,
        130
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "CLIP",
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            252,
            260,
            270,
            386
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DualCLIPLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "t5xxl_fp8_e4m3fn.safetensors",
        "clip_l.safetensors",
        "flux",
        "default"
      ]
    },
    {
      "id": 42,
      "type": "StyleModelLoader",
      "pos": [
        -609,
        1098
      ],
      "size": [
        349.187103271484,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "风格模型",
          "name": "STYLE_MODEL",
          "type": "STYLE_MODEL",
          "slot_index": 0,
          "links": [
            282
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "StyleModelLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "flux1-redux-dev.safetensors"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 38,
      "type": "CLIPVisionLoader",
      "pos": [
        -594,
        1220
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "CLIP视觉",
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "slot_index": 0,
          "links": [
            281
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "sigclip_vision_patch14_384.safetensors"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 257,
      "type": "LayerUtility: ImageScaleByAspectRatio",
      "pos": [
        232.95869040351627,
        -1084.7751361513472
      ],
      "size": [
        315,
        306
      ],
      "flags": {
        "collapsed": true
      },
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 379
        },
        {
          "label": "遮罩",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            342,
            343
          ]
        },
        {
          "label": "遮罩",
          "name": "mask",
          "type": "MASK"
        },
        {
          "label": "原始大小",
          "name": "original_size",
          "type": "BOX"
        },
        {
          "name": "width",
          "type": "INT"
        },
        {
          "name": "height",
          "type": "INT"
        }
      ],
      "properties": {
        "Node name for S&R": "LayerUtility: ImageScaleByAspectRatio"
      },
      "widgets_values": [
        "original",
        2,
        1,
        "letterbox",
        "lanczos",
        "8",
        false,
        1024
      ],
      "color": "rgba(38, 73, 116, 0.7)"
    },
    {
      "id": 243,
      "type": "ControlNetLoader",
      "pos": [
        617.871276855469,
        11.7818145751953
      ],
      "size": [
        529.83447265625,
        58
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "ControlNet",
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "slot_index": 0,
          "links": [
            304,
            305
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "diffusion_pytorch_model.safetensors"
      ]
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        2161.8376182265097,
        339.46253354971935
      ],
      "size": [
        322.151489257813,
        273.230224609375
      ],
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "label": "模型",
          "name": "model",
          "type": "MODEL",
          "link": 275
        },
        {
          "label": "正面条件",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 363
        },
        {
          "label": "负面条件",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 364
        },
        {
          "label": "Latent",
          "name": "latent_image",
          "type": "LATENT",
          "link": 33
        },
        {
          "label": "随机种",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 249
        }
      ],
      "outputs": [
        {
          "label": "Latent",
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        177685641150682,
        "fixed",
        20,
        1,
        "euler",
        "simple",
        0.9
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        431.7010489792779,
        -942.8164037278796
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "label": "Latent",
          "name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "label": "VAE",
          "name": "vae",
          "type": "VAE",
          "link": 257
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            223,
            235,
            295
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": []
    },
    {
      "id": 268,
      "type": "UpscaleModelLoader",
      "pos": [
        -855.068269190318,
        -1085.2436665287273
      ],
      "size": [
        315,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "放大模型",
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            377
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "RealESRGAN_x4plus.pth"
      ]
    },
    {
      "id": 216,
      "type": "easy imageColorMatch",
      "pos": [
        707.6656733919768,
        -1127.808070903049
      ],
      "size": [
        251.547622680664,
        126
      ],
      "flags": {
        "collapsed": false
      },
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "label": "参考图像",
          "name": "image_ref",
          "type": "IMAGE",
          "link": 399
        },
        {
          "label": "目标图像",
          "name": "image_target",
          "type": "IMAGE",
          "link": 223
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            231
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "easy imageColorMatch"
      },
      "widgets_values": [
        "adain",
        "Hide",
        "ComfyUI"
      ]
    },
    {
      "id": 271,
      "type": "ImageUpscaleWithModel",
      "pos": [
        116.88445365846997,
        -1289.9049593897294
      ],
      "size": [
        179.9,
        46
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 377
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 398
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            379
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      },
      "widgets_values": []
    },
    {
      "id": 220,
      "type": "easy imageColorMatch",
      "pos": [
        1901.98071289063,
        -761.296691894531
      ],
      "size": [
        251.547622680664,
        126
      ],
      "flags": {
        "collapsed": false
      },
      "order": 43,
      "mode": 4,
      "inputs": [
        {
          "label": "参考图像",
          "name": "image_ref",
          "type": "IMAGE",
          "link": 400
        },
        {
          "label": "目标图像",
          "name": "image_target",
          "type": "IMAGE",
          "link": 247
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            248
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "easy imageColorMatch"
      },
      "widgets_values": [
        "reinhard",
        "Hide",
        "ComfyUI"
      ]
    },
    {
      "id": 82,
      "type": "DepthAnythingPreprocessor",
      "pos": [
        567.741027832031,
        398.096740722656
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "link": 401
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            157,
            158
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DepthAnythingPreprocessor",
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "1e9eac6377c882da8bb360c7544607036904362c"
      },
      "widgets_values": [
        "depth_anything_vits14.pth",
        512
      ]
    },
    {
      "id": 231,
      "type": "ReduxAdvanced",
      "pos": [
        -65,
        1108
      ],
      "size": [
        501.739654541016,
        282.076019287109
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "label": "conditioning",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 324
        },
        {
          "label": "style_model",
          "name": "style_model",
          "type": "STYLE_MODEL",
          "link": 282
        },
        {
          "label": "clip_vision",
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 281
        },
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 402
        },
        {
          "label": "mask",
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        }
      ],
      "outputs": [
        {
          "label": "CONDITIONING",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            325,
            326
          ]
        },
        {
          "label": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 1
        },
        {
          "label": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "ReduxAdvanced"
      },
      "widgets_values": [
        1,
        "area",
        "keep aspect ratio",
        0.8,
        0.1
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 262,
      "type": "ApplyPulidFlux",
      "pos": [
        1341,
        493
      ],
      "size": [
        315,
        226
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "label": "model",
          "name": "model",
          "type": "MODEL",
          "link": 387
        },
        {
          "label": "pulid_flux",
          "name": "pulid_flux",
          "type": "PULIDFLUX",
          "link": 353
        },
        {
          "label": "eva_clip",
          "name": "eva_clip",
          "type": "EVA_CLIP",
          "link": 354
        },
        {
          "label": "face_analysis",
          "name": "face_analysis",
          "type": "FACEANALYSIS",
          "link": 355
        },
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 403
        },
        {
          "label": "attn_mask",
          "name": "attn_mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "name": "options",
          "shape": 7,
          "type": "OPTIONS",
          "link": null
        }
      ],
      "outputs": [
        {
          "label": "MODEL",
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            357
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ApplyPulidFlux"
      },
      "widgets_values": [
        1,
        0,
        1
      ]
    },
    {
      "id": 261,
      "type": "OpenposePreprocessor",
      "pos": [
        934.4982325406089,
        534.6970648629926
      ],
      "size": [
        315,
        174
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "image",
          "type": "IMAGE",
          "link": 404
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            351,
            352
          ]
        },
        {
          "label": "姿态关键点",
          "name": "POSE_KEYPOINT",
          "type": "POSE_KEYPOINT"
        }
      ],
      "properties": {
        "Node name for S&R": "OpenposePreprocessor"
      },
      "widgets_values": [
        "enable",
        "enable",
        "enable",
        512,
        "disable"
      ]
    },
    {
      "id": 235,
      "type": "SaveImage",
      "pos": [
        1175.5496097373778,
        -1804.0989964987616
      ],
      "size": [
        800.2936818585939,
        680.8341357476905
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 295
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 226,
      "type": "UNETLoader",
      "pos": [
        -898,
        44
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "模型",
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            406
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "IllustrationJuanerGhibli_v20.safetensors",
        "fp8_e4m3fn"
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        -445,
        201
      ],
      "size": [
        475.883941650391,
        168.913314819336
      ],
      "flags": {
        "collapsed": false
      },
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "label": "CLIP",
          "name": "clip",
          "type": "CLIP",
          "link": 252
        }
      ],
      "outputs": [
        {
          "label": "条件",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            370
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "ghibli style,anime style"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 274,
      "type": "LoraLoader",
      "pos": [
        -855.7055276426615,
        557.603211815619
      ],
      "size": [
        270,
        126
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 406
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 386
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            387
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoader"
      },
      "widgets_values": [
        "ghibli_style_offset.safetensors",
        1,
        1
      ]
    },
    {
      "id": 276,
      "type": "ImageScale",
      "pos": [
        -102.38729104479414,
        -749.8325828391501
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 405
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            398,
            399,
            400,
            401,
            402,
            403,
            404
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScale"
      },
      "widgets_values": [
        "bicubic",
        480,
        0,
        "disabled"
      ]
    },
    {
      "id": 218,
      "type": "SaveImage",
      "pos": [
        2157.7413121994637,
        -1737.397736906122
      ],
      "size": [
        817.8820308586869,
        687.2542359004748
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 231
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 10,
      "type": "LoadImage",
      "pos": [
        -780.468427087898,
        -840.5698503468309
      ],
      "size": [
        628.7849039035863,
        613.0815813303574
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "label": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            405
          ]
        },
        {
          "label": "遮罩",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.24"
      },
      "widgets_values": [
        "IMG_20250406_0028.jpg",
        "image"
      ]
    }
  ],
  "links": [
    [
      7,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      33,
      21,
      0,
      3,
      3,
      "LATENT"
    ],
    [
      157,
      82,
      0,
      20,
      3,
      "IMAGE"
    ],
    [
      158,
      82,
      0,
      52,
      0,
      "IMAGE"
    ],
    [
      159,
      20,
      0,
      83,
      0,
      "CONDITIONING"
    ],
    [
      160,
      20,
      1,
      83,
      1,
      "CONDITIONING"
    ],
    [
      223,
      8,
      0,
      216,
      1,
      "IMAGE"
    ],
    [
      231,
      216,
      0,
      218,
      0,
      "IMAGE"
    ],
    [
      235,
      8,
      0,
      85,
      0,
      "IMAGE"
    ],
    [
      243,
      103,
      0,
      85,
      6,
      "BBOX_DETECTOR"
    ],
    [
      244,
      89,
      0,
      85,
      7,
      "SAM_MODEL"
    ],
    [
      245,
      85,
      0,
      219,
      0,
      "IMAGE"
    ],
    [
      247,
      85,
      0,
      220,
      1,
      "IMAGE"
    ],
    [
      248,
      220,
      0,
      221,
      0,
      "IMAGE"
    ],
    [
      249,
      222,
      0,
      3,
      4,
      "INT"
    ],
    [
      250,
      222,
      0,
      85,
      11,
      "INT"
    ],
    [
      252,
      132,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      256,
      228,
      0,
      20,
      1,
      "CONDITIONING"
    ],
    [
      257,
      114,
      0,
      8,
      1,
      "VAE"
    ],
    [
      260,
      132,
      0,
      86,
      0,
      "CLIP"
    ],
    [
      268,
      114,
      0,
      21,
      1,
      "VAE"
    ],
    [
      269,
      114,
      0,
      85,
      3,
      "VAE"
    ],
    [
      270,
      132,
      0,
      85,
      2,
      "CLIP"
    ],
    [
      271,
      114,
      0,
      20,
      4,
      "VAE"
    ],
    [
      272,
      114,
      0,
      83,
      4,
      "VAE"
    ],
    [
      275,
      73,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      277,
      230,
      0,
      73,
      1,
      "INT"
    ],
    [
      278,
      230,
      1,
      73,
      2,
      "INT"
    ],
    [
      281,
      38,
      0,
      231,
      2,
      "CLIP_VISION"
    ],
    [
      282,
      42,
      0,
      231,
      1,
      "STYLE_MODEL"
    ],
    [
      295,
      8,
      0,
      235,
      0,
      "IMAGE"
    ],
    [
      299,
      86,
      0,
      238,
      0,
      "CONDITIONING"
    ],
    [
      300,
      238,
      0,
      85,
      5,
      "CONDITIONING"
    ],
    [
      304,
      243,
      0,
      20,
      2,
      "CONTROL_NET"
    ],
    [
      305,
      243,
      0,
      83,
      2,
      "CONTROL_NET"
    ],
    [
      324,
      249,
      0,
      231,
      0,
      "CONDITIONING"
    ],
    [
      325,
      231,
      0,
      20,
      0,
      "CONDITIONING"
    ],
    [
      326,
      231,
      0,
      228,
      0,
      "CONDITIONING"
    ],
    [
      333,
      86,
      0,
      254,
      0,
      "CONDITIONING"
    ],
    [
      334,
      254,
      0,
      85,
      4,
      "CONDITIONING"
    ],
    [
      342,
      257,
      0,
      21,
      0,
      "IMAGE"
    ],
    [
      343,
      257,
      0,
      230,
      0,
      "IMAGE"
    ],
    [
      351,
      261,
      0,
      83,
      3,
      "IMAGE"
    ],
    [
      352,
      261,
      0,
      84,
      0,
      "IMAGE"
    ],
    [
      353,
      263,
      0,
      262,
      1,
      "PULIDFLUX"
    ],
    [
      354,
      265,
      0,
      262,
      2,
      "EVA_CLIP"
    ],
    [
      355,
      264,
      0,
      262,
      3,
      "FACEANALYSIS"
    ],
    [
      357,
      262,
      0,
      73,
      0,
      "MODEL"
    ],
    [
      358,
      73,
      0,
      85,
      1,
      "MODEL"
    ],
    [
      363,
      83,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      364,
      83,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      370,
      6,
      0,
      249,
      0,
      "CONDITIONING"
    ],
    [
      377,
      268,
      0,
      271,
      0,
      "UPSCALE_MODEL"
    ],
    [
      379,
      271,
      0,
      257,
      0,
      "IMAGE"
    ],
    [
      386,
      132,
      0,
      274,
      1,
      "CLIP"
    ],
    [
      387,
      274,
      0,
      262,
      0,
      "MODEL"
    ],
    [
      398,
      276,
      0,
      271,
      1,
      "IMAGE"
    ],
    [
      399,
      276,
      0,
      216,
      0,
      "IMAGE"
    ],
    [
      400,
      276,
      0,
      220,
      0,
      "IMAGE"
    ],
    [
      401,
      276,
      0,
      82,
      0,
      "IMAGE"
    ],
    [
      402,
      276,
      0,
      231,
      3,
      "IMAGE"
    ],
    [
      403,
      276,
      0,
      262,
      4,
      "IMAGE"
    ],
    [
      404,
      276,
      0,
      261,
      0,
      "IMAGE"
    ],
    [
      405,
      10,
      0,
      276,
      0,
      "IMAGE"
    ],
    [
      406,
      226,
      0,
      274,
      0,
      "MODEL"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "controlnet(depth+openpose+tile)",
      "bounding": [
        554,
        -95,
        721,
        1046
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "真实照片预设+redux=正向提示",
      "bounding": [
        -512,
        -97,
        1041,
        1037
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 3,
      "title": "大模型和lora",
      "bounding": [
        -929,
        -93,
        400,
        1044
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "采样(可以尝试不同的重绘幅度)",
      "bounding": [
        1714,
        -103,
        662,
        1199
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "这里放原图并缩放至想要大小",
      "bounding": [
        -850.468427087898,
        -952.5698503468309,
        722,
        769
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 6,
      "title": "直出",
      "bounding": [
        46,
        -991,
        490,
        862
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 7,
      "title": "直出并调色（可以切换调色模式）",
      "bounding": [
        552,
        -867,
        737,
        733
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 8,
      "title": "脸部高清放大",
      "bounding": [
        2398,
        -105,
        1045,
        1077
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 9,
      "title": "直出+脸部高清修复",
      "bounding": [
        1325,
        -880,
        526,
        742
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 10,
      "title": "高清修复+调色",
      "bounding": [
        1886,
        -887,
        649,
        756
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 11,
      "title": "redux(downsampling越小，结果越偏向原图动漫风格)",
      "bounding": [
        -937,
        962,
        1466,
        461
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 12,
      "title": "Pulid",
      "bounding": [
        1305,
        -101,
        385,
        884
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.8424995339836143,
      "offset": [
        30.476507029059576,
        1472.9246637535473
      ]
    },
    "ue_links": [],
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "0246.VERSION": [
      0,
      0,
      4
    ],
    "frontendVersion": "1.45.21"
  },
  "version": 0.4
}