spawngen / examples /inpaint.json
LostBeard's picture
SpawnGen Studio f0ac219 (the GitHub Pages AOT build, base href /) (part 2)
f638bf2 verified
Raw History Blame Contribute Delete
1.69 kB
{
"1": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "sd_turbo"
}
},
"2": {
"class_type": "LoadImage",
"inputs": {
"image": "example_inpaint.png"
}
},
"3": {
"class_type": "ImageScale",
"inputs": {
"image": [
"2",
0
],
"upscale_method": "bicubic",
"width": 512,
"height": 512,
"crop": "center"
}
},
"4": {
"class_type": "VAEEncodeForInpaint",
"inputs": {
"pixels": [
"3",
0
],
"vae": [
"1",
2
],
"mask": [
"2",
1
],
"grow_mask_by": 6
}
},
"5": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "a blue denim jacket",
"clip": [
"1",
1
]
}
},
"6": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "",
"clip": [
"1",
1
]
}
},
"7": {
"class_type": "KSampler",
"inputs": {
"model": [
"1",
0
],
"positive": [
"5",
0
],
"negative": [
"6",
0
],
"latent_image": [
"4",
0
],
"seed": 7,
"steps": 4,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "normal",
"denoise": 1
}
},
"8": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"7",
0
],
"vae": [
"1",
2
]
}
},
"9": {
"class_type": "SaveImage",
"inputs": {
"images": [
"8",
0
],
"filename_prefix": "SpawnGen"
}
}
}