{
  "1": { "class_type": "CheckpointLoaderSimple", "inputs": { "ckpt_name": "ponyRealism_V23ULTRA.safetensors" } },
  "2": { "class_type": "LoadImage", "inputs": { "image": "input.jpg" } },

  "3": { "class_type": "UltralyticsDetectorProvider", "inputs": { "model_name": "face_yolov9c.pt" } },
  "4": { "class_type": "UltralyticsDetectorProvider", "inputs": { "model_name": "hand_yolov9c.pt" } },
  "5": { "class_type": "UltralyticsDetectorProvider", "inputs": { "model_name": "breastboxAdetailer_v32.pt" } },

  "6": { "class_type": "CLIPTextEncode", "inputs": { "text": "(beautiful highly detailed face:1.2), perfect eyes, perfect teeth", "clip": ["1", 1] } },
  "7": { "class_type": "CLIPTextEncode", "inputs": { "text": "(deformed, bad anatomy, ugly face:1.2)", "clip": ["1", 1] } },
  
  "8": { 
    "class_type": "FaceDetailer", 
    "inputs": { 
      "image": ["2", 0], "model": ["1", 0], "clip": ["1", 1], "vae": ["1", 2], 
      "bbox_detector": ["3", 0], "positive": ["6", 0], "negative": ["7", 0], 
      "guide_size": 384, "guide_size_for": true, "max_size": 1024, "drop_size": 10, 
      "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3.0, 
      "sam_detection_hint": "center-1", "sam_threshold": 0.93, "sam_dilation": 0, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False",
      "seed": 123, "steps": 25, "cfg": 7.0, "sampler_name": "euler_ancestral", "scheduler": "karras", "denoise": 0.35, "feather": 5, "noise_mask": true, "force_inpaint": true,
      "wildcard": "", "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false
    } 
  },

  "9": { "class_type": "CLIPTextEncode", "inputs": { "text": "(perfect hands, 5 fingers, highly detailed hands, realistic anatomy:1.2)", "clip": ["1", 1] } },
  "10": { "class_type": "CLIPTextEncode", "inputs": { "text": "(bad hands, missing fingers, extra fingers, mutated hands:1.2)", "clip": ["1", 1] } },
  
  "11": { 
    "class_type": "FaceDetailer", 
    "inputs": { 
      "image": ["8", 0], "model": ["1", 0], "clip": ["1", 1], "vae": ["1", 2], 
      "bbox_detector": ["4", 0], "positive": ["9", 0], "negative": ["10", 0], 
      "guide_size": 384, "guide_size_for": true, "max_size": 1024, "drop_size": 10, 
      "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3.0, 
      "sam_detection_hint": "center-1", "sam_threshold": 0.93, "sam_dilation": 0, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False",
      "seed": 456, "steps": 25, "cfg": 7.0, "sampler_name": "euler_ancestral", "scheduler": "karras", "denoise": 0.35, "feather": 5, "noise_mask": true, "force_inpaint": true,
      "wildcard": "", "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false
    } 
  },

  "12": { "class_type": "CLIPTextEncode", "inputs": { "text": "(perfect anatomy, beautiful highly detailed breasts, realistic skin texture, masterpiece:1.2)", "clip": ["1", 1] } },
  "13": { "class_type": "CLIPTextEncode", "inputs": { "text": "(mutated, deformed, bad anatomy, bad proportions, asymmetrical:1.2)", "clip": ["1", 1] } },
  
  "14": { 
    "class_type": "FaceDetailer", 
    "inputs": { 
      "image": ["11", 0], "model": ["1", 0], "clip": ["1", 1], "vae": ["1", 2], 
      "bbox_detector": ["5", 0], "positive": ["12", 0], "negative": ["13", 0], 
      "guide_size": 384, "guide_size_for": true, "max_size": 1024, "drop_size": 10, 
      "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3.0, 
      "sam_detection_hint": "center-1", "sam_threshold": 0.93, "sam_dilation": 0, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False",
      "seed": 789, "steps": 25, "cfg": 7.0, "sampler_name": "euler_ancestral", "scheduler": "karras", "denoise": 0.35, "feather": 5, "noise_mask": true, "force_inpaint": true,
      "wildcard": "", "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false
    } 
  },

  "15": { "class_type": "SaveImage", "inputs": { "filename_prefix": "ComfyUI", "images": ["14", 0] } }
}