Created
September 1, 2023 20:46
-
-
Save comfyanonymous/6792ae5460c2cadb16d4bd60381c7e06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"last_node_id": 30, | |
"last_link_id": 85, | |
"nodes": [ | |
{ | |
"id": 6, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
432, | |
158 | |
], | |
"size": { | |
"0": 422.84503173828125, | |
"1": 164.31304931640625 | |
}, | |
"flags": {}, | |
"order": 3, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 81 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
4 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"closeup photograph of maine coon cat in the yosemite national park mountains nature" | |
] | |
}, | |
{ | |
"id": 7, | |
"type": "CLIPTextEncode", | |
"pos": [ | |
434, | |
371 | |
], | |
"size": { | |
"0": 425.27801513671875, | |
"1": 180.6060791015625 | |
}, | |
"flags": {}, | |
"order": 4, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "clip", | |
"type": "CLIP", | |
"link": 82 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "CONDITIONING", | |
"type": "CONDITIONING", | |
"links": [ | |
6 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CLIPTextEncode" | |
}, | |
"widgets_values": [ | |
"watermark, text\n" | |
] | |
}, | |
{ | |
"id": 26, | |
"type": "VAEEncodeForInpaint", | |
"pos": [ | |
503, | |
669 | |
], | |
"size": { | |
"0": 226.8000030517578, | |
"1": 98 | |
}, | |
"flags": {}, | |
"order": 5, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "pixels", | |
"type": "IMAGE", | |
"link": 73 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 83 | |
}, | |
{ | |
"name": "mask", | |
"type": "MASK", | |
"link": 79 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
72 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEEncodeForInpaint" | |
}, | |
"widgets_values": [ | |
6 | |
] | |
}, | |
{ | |
"id": 8, | |
"type": "VAEDecode", | |
"pos": [ | |
1422, | |
387 | |
], | |
"size": { | |
"0": 210, | |
"1": 46 | |
}, | |
"flags": {}, | |
"order": 7, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "samples", | |
"type": "LATENT", | |
"link": 42 | |
}, | |
{ | |
"name": "vae", | |
"type": "VAE", | |
"link": 84 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
22 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "VAEDecode" | |
} | |
}, | |
{ | |
"id": 20, | |
"type": "LoadImage", | |
"pos": [ | |
49, | |
679 | |
], | |
"size": { | |
"0": 385, | |
"1": 365 | |
}, | |
"flags": {}, | |
"order": 0, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "IMAGE", | |
"type": "IMAGE", | |
"links": [ | |
73 | |
], | |
"slot_index": 0 | |
}, | |
{ | |
"name": "MASK", | |
"type": "MASK", | |
"links": [ | |
79 | |
], | |
"slot_index": 1 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "LoadImage" | |
}, | |
"widgets_values": [ | |
"yosemite_inpaint_example.png", | |
"image" | |
] | |
}, | |
{ | |
"id": 29, | |
"type": "CheckpointLoaderSimple", | |
"pos": [ | |
30, | |
314 | |
], | |
"size": { | |
"0": 315, | |
"1": 98 | |
}, | |
"flags": {}, | |
"order": 1, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [], | |
"slot_index": 0 | |
}, | |
{ | |
"name": "CLIP", | |
"type": "CLIP", | |
"links": [ | |
81, | |
82 | |
], | |
"slot_index": 1 | |
}, | |
{ | |
"name": "VAE", | |
"type": "VAE", | |
"links": [ | |
83, | |
84 | |
], | |
"slot_index": 2 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "CheckpointLoaderSimple" | |
}, | |
"widgets_values": [ | |
"sd_xl_base_1.0.safetensors" | |
] | |
}, | |
{ | |
"id": 30, | |
"type": "UNETLoader", | |
"pos": [ | |
59, | |
40 | |
], | |
"size": { | |
"0": 315, | |
"1": 58 | |
}, | |
"flags": {}, | |
"order": 2, | |
"mode": 0, | |
"outputs": [ | |
{ | |
"name": "MODEL", | |
"type": "MODEL", | |
"links": [ | |
85 | |
], | |
"shape": 3, | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "UNETLoader" | |
}, | |
"widgets_values": [ | |
"diffusers_sdxl_inpaint_0.1.safetensors" | |
] | |
}, | |
{ | |
"id": 9, | |
"type": "SaveImage", | |
"pos": [ | |
1709, | |
356 | |
], | |
"size": [ | |
815.1373916625976, | |
744.2623626708985 | |
], | |
"flags": {}, | |
"order": 8, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "images", | |
"type": "IMAGE", | |
"link": 22 | |
} | |
], | |
"properties": {}, | |
"widgets_values": [ | |
"ComfyUI" | |
] | |
}, | |
{ | |
"id": 3, | |
"type": "KSampler", | |
"pos": [ | |
940, | |
180 | |
], | |
"size": { | |
"0": 315, | |
"1": 262 | |
}, | |
"flags": {}, | |
"order": 6, | |
"mode": 0, | |
"inputs": [ | |
{ | |
"name": "model", | |
"type": "MODEL", | |
"link": 85 | |
}, | |
{ | |
"name": "positive", | |
"type": "CONDITIONING", | |
"link": 4 | |
}, | |
{ | |
"name": "negative", | |
"type": "CONDITIONING", | |
"link": 6 | |
}, | |
{ | |
"name": "latent_image", | |
"type": "LATENT", | |
"link": 72 | |
} | |
], | |
"outputs": [ | |
{ | |
"name": "LATENT", | |
"type": "LATENT", | |
"links": [ | |
42 | |
], | |
"slot_index": 0 | |
} | |
], | |
"properties": { | |
"Node name for S&R": "KSampler" | |
}, | |
"widgets_values": [ | |
1040111309094545, | |
"fixed", | |
20, | |
8, | |
"euler", | |
"normal", | |
1 | |
] | |
} | |
], | |
"links": [ | |
[ | |
4, | |
6, | |
0, | |
3, | |
1, | |
"CONDITIONING" | |
], | |
[ | |
6, | |
7, | |
0, | |
3, | |
2, | |
"CONDITIONING" | |
], | |
[ | |
22, | |
8, | |
0, | |
9, | |
0, | |
"IMAGE" | |
], | |
[ | |
42, | |
3, | |
0, | |
8, | |
0, | |
"LATENT" | |
], | |
[ | |
72, | |
26, | |
0, | |
3, | |
3, | |
"LATENT" | |
], | |
[ | |
73, | |
20, | |
0, | |
26, | |
0, | |
"IMAGE" | |
], | |
[ | |
79, | |
20, | |
1, | |
26, | |
2, | |
"MASK" | |
], | |
[ | |
81, | |
29, | |
1, | |
6, | |
0, | |
"CLIP" | |
], | |
[ | |
82, | |
29, | |
1, | |
7, | |
0, | |
"CLIP" | |
], | |
[ | |
83, | |
29, | |
2, | |
26, | |
1, | |
"VAE" | |
], | |
[ | |
84, | |
29, | |
2, | |
8, | |
1, | |
"VAE" | |
], | |
[ | |
85, | |
30, | |
0, | |
3, | |
0, | |
"MODEL" | |
] | |
], | |
"groups": [ | |
{ | |
"title": "Load image and alpha mask for inpainting", | |
"bounding": [ | |
-20, | |
607, | |
786, | |
442 | |
], | |
"color": "#3f789e" | |
} | |
], | |
"config": {}, | |
"extra": {}, | |
"version": 0.4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much for your hard work. It has helped me a lot.