ComfyUI_Workflows / help_inpaint_v1.json
Xeno443's picture
Upload help_inpaint_v1.json
8e531de verified
{
"id": "f198ac7a-157b-4e67-99de-4baca57abc72",
"revision": 0,
"last_node_id": 22,
"last_link_id": 33,
"nodes": [
{
"id": 18,
"type": "VAEEncode",
"pos": [
740,
980
],
"size": [
140,
50
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 15
},
{
"name": "vae",
"type": "VAE",
"link": 29
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
16
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 16,
"type": "InpaintStitchImproved",
"pos": [
1350,
980
],
"size": [
220,
50
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "stitcher",
"type": "STITCHER",
"link": 21
},
{
"name": "inpainted_image",
"type": "IMAGE",
"link": 20
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintStitchImproved"
},
"widgets_values": []
},
{
"id": 14,
"type": "SaveImage",
"pos": [
1590,
980
],
"size": [
790,
860
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 17
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.49"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 17,
"type": "KSampler",
"pos": [
900,
980
],
"size": [
270,
474
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 28
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 26
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 25
},
{
"name": "latent_image",
"type": "LATENT",
"link": 16
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "KSampler"
},
"widgets_values": [
621914332271883,
"randomize",
20,
4,
"euler_ancestral",
"sgm_uniform",
0.3
]
},
{
"id": 19,
"type": "VAEDecode",
"pos": [
1190,
980
],
"size": [
140,
50
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 30
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
20,
33
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 20,
"type": "PreviewImage",
"pos": [
570,
1700
],
"size": [
460,
490
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 27
}
],
"outputs": [],
"title": "Inpaint - Input",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 22,
"type": "PreviewImage",
"pos": [
1050,
1700
],
"size": [
440,
490
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 33
}
],
"outputs": [],
"title": "Inpaint - Output",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 15,
"type": "InpaintCropImproved",
"pos": [
370,
980
],
"size": [
348.095703125,
650
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 13
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 14
},
{
"name": "optional_context_mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "stitcher",
"type": "STITCHER",
"links": [
21
]
},
{
"name": "cropped_image",
"type": "IMAGE",
"links": [
15,
27
]
},
{
"name": "cropped_mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintCropImproved"
},
"widgets_values": [
"bilinear",
"bicubic",
false,
"ensure minimum resolution",
1024,
1024,
16384,
16384,
true,
0,
false,
4,
0.1,
false,
1,
1,
1,
1,
1.2,
true,
1152,
1152,
"0",
"gpu (much faster)"
]
},
{
"id": 13,
"type": "LoadImage",
"pos": [
-480,
980
],
"size": [
770,
860
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
14
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "LoadImage",
"image": "clipspace/clipspace-painted-masked-1772905002240.png [input]"
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 21,
"type": "CheckpointLoaderSimple",
"pos": [
-170,
830
],
"size": [
460,
100
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
28
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
31,
32
]
},
{
"name": "VAE",
"type": "VAE",
"links": [
29,
30
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"StableWolfMondai.safetensors"
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
310,
480
],
"size": [
550,
190
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 32
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
26
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.49",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
310,
710
],
"size": [
550,
90
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 31
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
25
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.49",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"worst quality"
],
"color": "#322",
"bgcolor": "#533"
}
],
"links": [
[
13,
13,
0,
15,
0,
"IMAGE"
],
[
14,
13,
1,
15,
1,
"MASK"
],
[
15,
15,
1,
18,
0,
"IMAGE"
],
[
16,
18,
0,
17,
3,
"LATENT"
],
[
17,
16,
0,
14,
0,
"IMAGE"
],
[
19,
17,
0,
19,
0,
"LATENT"
],
[
20,
19,
0,
16,
1,
"IMAGE"
],
[
21,
15,
0,
16,
0,
"STITCHER"
],
[
25,
7,
0,
17,
2,
"CONDITIONING"
],
[
26,
9,
0,
17,
1,
"CONDITIONING"
],
[
27,
15,
1,
20,
0,
"IMAGE"
],
[
28,
21,
0,
17,
0,
"MODEL"
],
[
29,
21,
2,
18,
1,
"VAE"
],
[
30,
21,
2,
19,
1,
"VAE"
],
[
31,
21,
1,
7,
0,
"CLIP"
],
[
32,
21,
1,
9,
0,
"CLIP"
],
[
33,
19,
0,
22,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0152559799477199,
"offset": [
525.3410325492579,
-540.3715681013723
]
},
"reroutes": [
{
"id": 1,
"pos": [
740,
920
],
"linkIds": [
21
]
},
{
"id": 2,
"parentId": 1,
"pos": [
1330,
920
],
"linkIds": [
21
]
},
{
"id": 3,
"pos": [
720,
890
],
"linkIds": [
29,
30
]
},
{
"id": 4,
"parentId": 3,
"pos": [
1170,
890
],
"linkIds": [
30
]
},
{
"id": 5,
"pos": [
870,
850
],
"linkIds": [
28
]
}
],
"workflowRendererVersion": "LG",
"linkExtensions": [
{
"id": 21,
"parentId": 2
},
{
"id": 28,
"parentId": 5
},
{
"id": 29,
"parentId": 3
},
{
"id": 30,
"parentId": 4
}
],
"frontendVersion": "1.38.13"
},
"version": 0.4
}