{
"1": {
"inputs": {
"ckpt_name": "sd_xl_base_1.0.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint"
}
},
"2": {
"inputs": {
"text": "REPLACE_WITH_INPAINT_PROMPT",
"clip": [
"1",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"3": {
"inputs": {
"text": "bad quality, blurry, ugly",
"clip": [
"1",
1
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"4": {
"inputs": {
"image": "REPLACE_WITH_INPUT_IMAGE",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"5": {
"inputs": {
"image": "REPLACE_WITH_MASK_IMAGE",
"upload": "mask"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Mask"
}
},
"6": {
"inputs": {
"grow_mask_by": 6,
"image": [
"4",
0
],
"mask": [
"5",
0
]
},
"class_type": "InpaintPreprocessor",
"_meta": {
"title": "Inpaint Preprocessor"
}
},
"7": {
"inputs": {
"pixels": [
"6",
0
],
"vae": [
"1",
2
],
"mask": [
"6",
1
]
},
"class_type": "VAEEncodeForInpaint",
"_meta": {
"title": "VAE Encode (for Inpainting)"
}
},
"8": {
"inputs": {
"seed": 8654321,
"steps": 20,
"cfg": 8,
"sampler_name": "euler",
"scheduler": "normal",
"denoise": 1,
"model": [
"1",
0
],
"positive": [
"2",
0
],
"negative": [
"3",
0
],
"latent_image": [
"7",
0
],
"mask": [
"7",
1
]
},
"class_type": "KSampler",
"_meta": {
"title": "KSampler"
}
},
"9": {
"inputs": {
"samples": [
"8",
0
],
"vae": [
"1",
2
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"10": {
"inputs": {
"filename_prefix": "inpainted_image",
"images": [
"9",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "Save Image"
}
}
}