{
  "1": {
    "class_type": "CheckpointLoaderSimple",
    "_comment": "Stage 1 · Illustrious (구도·포즈)",
    "inputs": {
      "ckpt_name": "divingIllustriousReal_v70VAE.safetensors"
    }
  },
  "2": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": [
        "1",
        1
      ],
      "text": "a woman reading by a window, soft directional light, fine skin texture, 35mm photograph"
    }
  },
  "3": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": [
        "1",
        1
      ],
      "text": "worst quality, low quality, blurry, bad anatomy, jpeg artifacts, watermark, text, deformed"
    }
  },
  "4": {
    "class_type": "EmptyLatentImage",
    "inputs": {
      "width": 832,
      "height": 1216,
      "batch_size": 1
    }
  },
  "5": {
    "class_type": "KSampler",
    "inputs": {
      "model": [
        "1",
        0
      ],
      "positive": [
        "2",
        0
      ],
      "negative": [
        "3",
        0
      ],
      "latent_image": [
        "4",
        0
      ],
      "seed": 1418609334,
      "steps": 20,
      "cfg": 7.0,
      "sampler_name": "euler_ancestral",
      "scheduler": "karras",
      "denoise": 1.0
    }
  },
  "6": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "5",
        0
      ],
      "vae": [
        "1",
        2
      ]
    }
  },
  "7": {
    "class_type": "SaveImage",
    "_comment": "Stage 1 preview (Illustrious base)",
    "inputs": {
      "images": [
        "6",
        0
      ],
      "filename_prefix": "ilxl-face-strong_preview_stage1_j024509"
    }
  },
  "10": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "z_image_turbo_bf16.safetensors",
      "weight_dtype": "default"
    }
  },
  "11": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "qwen_3_4b.safetensors",
      "type": "lumina2",
      "device": "default"
    }
  },
  "12": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "ae.safetensors"
    }
  },
  "13": {
    "class_type": "ModelSamplingAuraFlow",
    "inputs": {
      "model": [
        "10",
        0
      ],
      "shift": 3.0
    }
  },
  "14": {
    "class_type": "TextEncodeZImageOmni",
    "_comment": "Stage 2 전신 photoreal refine prompt",
    "inputs": {
      "clip": [
        "11",
        0
      ],
      "prompt": "photorealistic, natural skin texture, detailed face, sharp focus, photograph, film grain, soft natural light, high detail",
      "auto_resize_images": true
    }
  },
  "15": {
    "class_type": "TextEncodeZImageOmni",
    "inputs": {
      "clip": [
        "11",
        0
      ],
      "prompt": "",
      "auto_resize_images": true
    }
  },
  "16": {
    "class_type": "VAEEncode",
    "inputs": {
      "pixels": [
        "6",
        0
      ],
      "vae": [
        "12",
        0
      ]
    }
  },
  "17": {
    "class_type": "KSampler",
    "_comment": "Stage 2 · ZIT 전신 i2i denoise 0.35 (구도 보존 · 약 grading)",
    "inputs": {
      "model": [
        "13",
        0
      ],
      "positive": [
        "14",
        0
      ],
      "negative": [
        "15",
        0
      ],
      "latent_image": [
        "16",
        0
      ],
      "seed": 283970918,
      "steps": 8,
      "cfg": 1.0,
      "sampler_name": "euler_ancestral",
      "scheduler": "beta",
      "denoise": 0.35
    }
  },
  "18": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "17",
        0
      ],
      "vae": [
        "12",
        0
      ]
    }
  },
  "19": {
    "class_type": "SaveImage",
    "_comment": "Stage 2 preview (전신 ZIT refine 후 · 얼굴 강 재생성 전)",
    "inputs": {
      "images": [
        "18",
        0
      ],
      "filename_prefix": "zit-whole_preview_stage2_j024509"
    }
  },
  "30": {
    "class_type": "UltralyticsDetectorProvider",
    "inputs": {
      "model_name": "bbox/face_yolov8m.pt"
    }
  },
  "31": {
    "class_type": "SAMLoader",
    "inputs": {
      "model_name": "sam_vit_b_01ec64.pth",
      "device_mode": "AUTO"
    }
  },
  "35": {
    "class_type": "TextEncodeZImageOmni",
    "_comment": "Stage 3 얼굴 강 재생성 · photoreal close-up · 피부 pore/결",
    "inputs": {
      "clip": [
        "11",
        0
      ],
      "prompt": "photorealistic close-up face, detailed eyes, natural skin pores, subsurface scattering, vellus hair, sharp focus, high detail, photograph, film grain, natural lighting",
      "auto_resize_images": true
    }
  },
  "40": {
    "class_type": "FaceDetailer",
    "_comment": "Stage 3 · ZIT 자기모델 face inpaint · **denoise 0.7** 강 재생성 · guide 768 · 25 step cfg 1.0",
    "inputs": {
      "image": [
        "18",
        0
      ],
      "model": [
        "13",
        0
      ],
      "clip": [
        "11",
        0
      ],
      "vae": [
        "12",
        0
      ],
      "guide_size": 768.0,
      "guide_size_for": true,
      "max_size": 1024.0,
      "seed": 42,
      "steps": 25,
      "cfg": 1.0,
      "sampler_name": "euler_ancestral",
      "scheduler": "beta",
      "positive": [
        "35",
        0
      ],
      "negative": [
        "15",
        0
      ],
      "denoise": 0.7,
      "feather": 10,
      "noise_mask": true,
      "force_inpaint": true,
      "bbox_threshold": 0.5,
      "bbox_dilation": 10,
      "bbox_crop_factor": 3.0,
      "sam_detection_hint": "center-1",
      "sam_dilation": 0,
      "sam_threshold": 0.93,
      "sam_bbox_expansion": 0,
      "sam_mask_hint_threshold": 0.7,
      "sam_mask_hint_use_negative": "False",
      "drop_size": 10,
      "bbox_detector": [
        "30",
        0
      ],
      "wildcard": "",
      "cycle": 1,
      "sam_model_opt": [
        "31",
        0
      ]
    }
  },
  "50": {
    "class_type": "SaveImage",
    "inputs": {
      "images": [
        "40",
        0
      ],
      "filename_prefix": "ilxl-zit-face-strong-final_j024509"
    }
  }
}