873 lines
15 KiB
JSON
873 lines
15 KiB
JSON
{
|
|
"id": "351f402b-62f2-4f62-8a5e-0b9d3510e8f9",
|
|
"revision": 0,
|
|
"last_node_id": 29,
|
|
"last_link_id": 28,
|
|
"nodes": [
|
|
{
|
|
"id": 11,
|
|
"type": "JoinImageWithAlpha",
|
|
"pos": [
|
|
814.478271484375,
|
|
419.3052062988281
|
|
],
|
|
"size": [
|
|
264.5999755859375,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 10
|
|
},
|
|
{
|
|
"name": "alpha",
|
|
"type": "MASK",
|
|
"link": 12
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
11
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "JoinImageWithAlpha"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1950,
|
|
640
|
|
],
|
|
"size": [
|
|
210,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 18,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 16
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
467.8168640136719,
|
|
422.453857421875
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
12
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"Bob-Minion-Background-PNG-Image.png",
|
|
"image",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 18,
|
|
"type": "Note",
|
|
"pos": [
|
|
460.8001708984375,
|
|
263.64251708984375
|
|
],
|
|
"size": [
|
|
379.4292297363281,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Option 1: CREATE THE MASK FROM THE ALPHA CHANNEL (Useful for example to generate the background of an image)\n\nMake sure that you are using \"External Image Alpha\". \n"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
469.57025146484375,
|
|
1506.3018798828125
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"ComfyUI_temp_otmos_00005_.png",
|
|
"image",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 25,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
1283.1668701171875,
|
|
1579.603271484375
|
|
],
|
|
"size": [
|
|
176.39999389648438,
|
|
26
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 28
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
21
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "MaskToImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "SplitImageWithAlpha",
|
|
"pos": [
|
|
1602.5518798828125,
|
|
417.59869384765625
|
|
],
|
|
"size": [
|
|
277.20001220703125,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 13
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
14,
|
|
25
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
15,
|
|
26
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "SplitImageWithAlpha"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 29,
|
|
"type": "VAEEncodeForInpaint",
|
|
"pos": [
|
|
2220.89453125,
|
|
401.0885009765625
|
|
],
|
|
"size": [
|
|
340.20001220703125,
|
|
98
|
|
],
|
|
"flags": {},
|
|
"order": 16,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pixels",
|
|
"type": "IMAGE",
|
|
"link": 25
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 26
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "VAEEncodeForInpaint"
|
|
},
|
|
"widgets_values": [
|
|
6
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1950,
|
|
350
|
|
],
|
|
"size": [
|
|
210,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 14
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 17,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
1752.33203125,
|
|
572.061767578125
|
|
],
|
|
"size": [
|
|
176.39999389648438,
|
|
26
|
|
],
|
|
"flags": {},
|
|
"order": 15,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 15
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "MaskToImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 27,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1329.2960205078125,
|
|
1132.759765625
|
|
],
|
|
"size": [
|
|
210,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 22
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 20,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
468.1963806152344,
|
|
1128.9498291015625
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
17
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"clipspace/clipspace-mask-1126817.300000012.png [input]",
|
|
"image",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 24,
|
|
"type": "ImageToMask",
|
|
"pos": [
|
|
1255.560302734375,
|
|
1468.347900390625
|
|
],
|
|
"size": [
|
|
315,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 19
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
24,
|
|
28
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "ImageToMask"
|
|
},
|
|
"widgets_values": [
|
|
"red"
|
|
]
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1488.1925048828125,
|
|
1579.146728515625
|
|
],
|
|
"size": [
|
|
210,
|
|
246
|
|
],
|
|
"flags": {},
|
|
"order": 17,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 21
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 28,
|
|
"type": "VAEEncodeForInpaint",
|
|
"pos": [
|
|
1637.603271484375,
|
|
1182.81298828125
|
|
],
|
|
"size": [
|
|
340.20001220703125,
|
|
98
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pixels",
|
|
"type": "IMAGE",
|
|
"link": 23
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 24
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.27",
|
|
"Node name for S&R": "VAEEncodeForInpaint"
|
|
},
|
|
"widgets_values": [
|
|
6
|
|
]
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": "Note",
|
|
"pos": [
|
|
467.4615173339844,
|
|
985.1439819335938
|
|
],
|
|
"size": [
|
|
379.4292297363281,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Option 2: UPLOAD THE MASK AS OTHER IMAGE (useful if you require the image that is below the mask to do inpainting, in this case to generate new glasses)"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": "ComfyUIDeployExternalImage",
|
|
"pos": [
|
|
910.8199462890625,
|
|
1132.306396484375
|
|
],
|
|
"size": [
|
|
390.5999755859375,
|
|
154
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "default_value",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 17
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
22,
|
|
23
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-deploy",
|
|
"ver": "cd3a2ff5471828f9c840e746551592e882c05aa4",
|
|
"Node name for S&R": "ComfyUIDeployExternalImage"
|
|
},
|
|
"widgets_values": [
|
|
"input_image",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 23,
|
|
"type": "ComfyUIDeployExternalImage",
|
|
"pos": [
|
|
843.6348876953125,
|
|
1467.8876953125
|
|
],
|
|
"size": [
|
|
390.5999755859375,
|
|
154
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "default_value",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 18
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
19
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-deploy",
|
|
"ver": "cd3a2ff5471828f9c840e746551592e882c05aa4",
|
|
"Node name for S&R": "ComfyUIDeployExternalImage"
|
|
},
|
|
"widgets_values": [
|
|
"input_image_mask",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "ComfyUIDeployExternalImageAlpha",
|
|
"pos": [
|
|
1107.891357421875,
|
|
418.2679138183594
|
|
],
|
|
"size": [
|
|
466.1999816894531,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "default_value",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 11
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
13
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfyui-deploy",
|
|
"ver": "cd3a2ff5471828f9c840e746551592e882c05aa4",
|
|
"Node name for S&R": "ComfyUIDeployExternalImageAlpha"
|
|
},
|
|
"widgets_values": [
|
|
"input_image_alpha",
|
|
"",
|
|
""
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
10,
|
|
10,
|
|
0,
|
|
11,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
11,
|
|
11,
|
|
0,
|
|
12,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
12,
|
|
10,
|
|
1,
|
|
11,
|
|
1,
|
|
"MASK"
|
|
],
|
|
[
|
|
13,
|
|
12,
|
|
0,
|
|
13,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
14,
|
|
13,
|
|
0,
|
|
14,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
15,
|
|
13,
|
|
1,
|
|
17,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
16,
|
|
17,
|
|
0,
|
|
15,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
17,
|
|
20,
|
|
0,
|
|
22,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
18,
|
|
21,
|
|
0,
|
|
23,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
19,
|
|
23,
|
|
0,
|
|
24,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
21,
|
|
25,
|
|
0,
|
|
26,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
22,
|
|
22,
|
|
0,
|
|
27,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
23,
|
|
22,
|
|
0,
|
|
28,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
24,
|
|
24,
|
|
0,
|
|
28,
|
|
2,
|
|
"MASK"
|
|
],
|
|
[
|
|
25,
|
|
13,
|
|
0,
|
|
29,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
26,
|
|
13,
|
|
1,
|
|
29,
|
|
2,
|
|
"MASK"
|
|
],
|
|
[
|
|
28,
|
|
24,
|
|
0,
|
|
25,
|
|
0,
|
|
"MASK"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9646149645000013,
|
|
"offset": [
|
|
48.66905973637718,
|
|
-817.5683540167485
|
|
]
|
|
},
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |