{
  "1": {
    "class_type": "CheckpointLoaderSimple",
    "inputs": {
      "ckpt_name": "melonmix2XL_base.safetensors"
    }
  },
  "20": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "sdxl_vae_fp16_fix.safetensors"
    }
  },
  "21": {
    "class_type": "CLIPSetLastLayer",
    "inputs": {
      "clip": [
        "1",
        1
      ],
      "stop_at_clip_layer": -2
    }
  },
  "2": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": [
        "21",
        0
      ],
      "text": "masterpiece, best quality, absurdres, ultra-detailed,\n1girl, solo, 24 years old, (korean girl:1.3), east asian features,\nmedium wide shot, cowboy shot, looking at viewer,\ncold sharp eyes, monolid eyes, sharp jawline, beautiful face,\nlong straight dark brown hair, neat eyebrows,\ngray work uniform, chic neat outfit,\ndawn logistics center background, conveyor belt, cold fluorescent lights,\ncardboard boxes stacked, blue dawn light filtering in,\ntired but cold beautiful expression, contemplative,\ncold fluorescent lighting, blue hour, cinematic atmosphere,\nphotograph, photorealistic, detailed face, cinematic"
    }
  },
  "3": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": [
        "21",
        0
      ],
      "text": "bb \\(baalbuddy\\), iesupa, chihuri, drawfag, yuuji \\(and\\), nyantcha, (2d, anime, drawing, catoon, manga, cg), monochrome, signature, cropped, jpeg artifacts, copyright name, censored, username, artist name, text, watermark, multiple views, nostrils, logo, animal, mascot, breasts ptosis, lowres, worst quality, low quality, unfinished, oldest, bent over, narrow waist, hairband, hat, headband,"
    }
  },
  "4": {
    "class_type": "EmptyLatentImage",
    "inputs": {
      "width": 768,
      "height": 1344,
      "batch_size": 1
    }
  },
  "5": {
    "class_type": "KSampler",
    "inputs": {
      "model": [
        "1",
        0
      ],
      "positive": [
        "2",
        0
      ],
      "negative": [
        "3",
        0
      ],
      "latent_image": [
        "4",
        0
      ],
      "seed": 661079466,
      "steps": 30,
      "cfg": 6.0,
      "sampler_name": "dpmpp_2m",
      "scheduler": "sgm_uniform",
      "denoise": 1.0
    }
  },
  "6": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "5",
        0
      ],
      "vae": [
        "20",
        0
      ]
    }
  },
  "13": {
    "class_type": "UpscaleModelLoader",
    "inputs": {
      "model_name": "4x_NMKD-Superscale-SP_178000_G.pth"
    }
  },
  "14": {
    "class_type": "UltimateSDUpscale",
    "inputs": {
      "image": [
        "6",
        0
      ],
      "model": [
        "1",
        0
      ],
      "positive": [
        "2",
        0
      ],
      "negative": [
        "3",
        0
      ],
      "vae": [
        "20",
        0
      ],
      "upscale_model": [
        "13",
        0
      ],
      "upscale_by": 1.5,
      "seed": 890878883028459,
      "steps": 20,
      "cfg": 5.0,
      "sampler_name": "dpmpp_2m",
      "scheduler": "sgm_uniform",
      "denoise": 0.25,
      "mode_type": "Chess",
      "tile_width": 1024,
      "tile_height": 1024,
      "mask_blur": 8,
      "tile_padding": 32,
      "seam_fix_mode": "None",
      "seam_fix_denoise": 1.0,
      "seam_fix_width": 64,
      "seam_fix_mask_blur": 8,
      "seam_fix_padding": 16,
      "force_uniform_tiles": true,
      "tiled_decode": false,
      "batch_size": 1
    }
  },
  "10": {
    "class_type": "UltralyticsDetectorProvider",
    "inputs": {
      "model_name": "bbox/face_yolov8m.pt"
    }
  },
  "11": {
    "class_type": "SAMLoader",
    "inputs": {
      "model_name": "sam_vit_b_01ec64.pth",
      "device_mode": "AUTO"
    }
  },
  "12": {
    "class_type": "FaceDetailer",
    "inputs": {
      "image": [
        "14",
        0
      ],
      "model": [
        "1",
        0
      ],
      "clip": [
        "21",
        0
      ],
      "vae": [
        "20",
        0
      ],
      "positive": [
        "2",
        0
      ],
      "negative": [
        "3",
        0
      ],
      "bbox_detector": [
        "10",
        0
      ],
      "sam_model_opt": [
        "11",
        0
      ],
      "guide_size": 512,
      "guide_size_for": true,
      "max_size": 1536,
      "seed": 394552217964146,
      "steps": 20,
      "cfg": 5.0,
      "sampler_name": "dpmpp_2m",
      "scheduler": "sgm_uniform",
      "denoise": 0.35,
      "feather": 5,
      "noise_mask": true,
      "force_inpaint": true,
      "bbox_threshold": 0.2,
      "bbox_dilation": 10,
      "bbox_crop_factor": 3.0,
      "sam_detection_hint": "center-1",
      "sam_dilation": 30,
      "sam_threshold": 0.93,
      "sam_bbox_expansion": 0,
      "sam_mask_hint_threshold": 0.7,
      "sam_mask_hint_use_negative": "False",
      "drop_size": 10,
      "wildcard": "",
      "cycle": 1,
      "inpaint_model": false,
      "noise_mask_feather": 20,
      "tiled_encode": false,
      "tiled_decode": false
    }
  },
  "7": {
    "class_type": "SaveImage",
    "inputs": {
      "images": [
        "12",
        0
      ],
      "filename_prefix": "melonhq"
    }
  }
}