639 lines
12 KiB
JSON
639 lines
12 KiB
JSON
{
|
|
"id": "e198ad8a-9244-4fb1-9e48-f52580082ef7",
|
|
"revision": 0,
|
|
"last_node_id": 15,
|
|
"last_link_id": 34,
|
|
"nodes": [
|
|
{
|
|
"id": 2,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-118.99543231930328,
|
|
-541.0260460550843
|
|
],
|
|
"size": [
|
|
274.080078125,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
23
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "Load Image - original image",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "LoadImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"image": true,
|
|
"upload": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"original.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "ImageBatch",
|
|
"pos": [
|
|
156.4082319598026,
|
|
-272.0261133060273
|
|
],
|
|
"size": [
|
|
190.1754604492246,
|
|
53.526319067383724
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image1",
|
|
"type": "IMAGE",
|
|
"link": 32
|
|
},
|
|
{
|
|
"name": "image2",
|
|
"type": "IMAGE",
|
|
"link": 33
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
34
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "ImageBatch",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
826.0155527665843,
|
|
-847.1728250839781
|
|
],
|
|
"size": [
|
|
395.8948482910457,
|
|
258
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 27
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"title": "Heatmap - detected changes",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "PreviewImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
829.3930019066853,
|
|
-511.23860575086445
|
|
],
|
|
"size": [
|
|
444.81592222903964,
|
|
294.92107393799404
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 29
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"title": "Debug output - detected mask overlayed on the original image",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "PreviewImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
617.484197685608,
|
|
-181.95989029260443
|
|
],
|
|
"size": [
|
|
233.45704011230956,
|
|
33.526319067383724
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 26
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
14
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "MaskToImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
587.2262547702816,
|
|
-79.1372934956971
|
|
],
|
|
"size": [
|
|
243.4921322021543,
|
|
38.54386511230621
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 28
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
15
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "MaskToImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
860.470158107647,
|
|
-167.74905778458404
|
|
],
|
|
"size": [
|
|
446.0703087402703,
|
|
275.5614111572286
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 15
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"title": "Mask generated from the heatmap",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "PreviewImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
857.5117070766976,
|
|
142.46393802896932
|
|
],
|
|
"size": [
|
|
457.35978734134574,
|
|
258
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 14
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"title": "Refined mask after bluring and expansion",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "PreviewImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1391.632636871097,
|
|
-548.5979788879323
|
|
],
|
|
"size": [
|
|
210,
|
|
258
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 25
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"title": "Final result",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "PreviewImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-145.46920420080596,
|
|
-148.87756884083132
|
|
],
|
|
"size": [
|
|
376.93977204591044,
|
|
356.649141381841
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
32
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "Load Image - modified - same size",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "LoadImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"image": true,
|
|
"upload": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"patch-same-size.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
252.15209951637436,
|
|
-138.22408488701612
|
|
],
|
|
"size": [
|
|
334.29063066406957,
|
|
330.3070246459979
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
33
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "Load Image - modified - different size",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.16.4",
|
|
"Node name for S&R": "LoadImage",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"image": true,
|
|
"upload": true
|
|
},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"patch-smaller.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "ImgPatchNode",
|
|
"pos": [
|
|
385.18991992808395,
|
|
-615.6588679817814
|
|
],
|
|
"size": [
|
|
270,
|
|
330
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "original_image",
|
|
"type": "IMAGE",
|
|
"link": 23
|
|
},
|
|
{
|
|
"name": "edited_image",
|
|
"type": "IMAGE",
|
|
"link": 34
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "merged_image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
25
|
|
]
|
|
},
|
|
{
|
|
"name": "final_mask",
|
|
"type": "MASK",
|
|
"links": [
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"name": "heatmap",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
27
|
|
]
|
|
},
|
|
{
|
|
"name": "raw_mask",
|
|
"type": "MASK",
|
|
"links": [
|
|
28
|
|
]
|
|
},
|
|
{
|
|
"name": "debug_overlay",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
29
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImgPatchNode",
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {},
|
|
"version": "7.0.1"
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"difference",
|
|
8,
|
|
1,
|
|
4,
|
|
0.5,
|
|
3,
|
|
0,
|
|
1,
|
|
true
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
14,
|
|
8,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
15,
|
|
9,
|
|
0,
|
|
11,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
23,
|
|
2,
|
|
0,
|
|
13,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
25,
|
|
13,
|
|
0,
|
|
4,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
26,
|
|
13,
|
|
1,
|
|
8,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
27,
|
|
13,
|
|
2,
|
|
7,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
28,
|
|
13,
|
|
3,
|
|
9,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
29,
|
|
13,
|
|
4,
|
|
6,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
32,
|
|
3,
|
|
0,
|
|
15,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
33,
|
|
14,
|
|
0,
|
|
15,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
34,
|
|
15,
|
|
0,
|
|
13,
|
|
1,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ue_links": [],
|
|
"ds": {
|
|
"scale": 0.7972024500000005,
|
|
"offset": [
|
|
245.0555522053171,
|
|
776.9760541640799
|
|
]
|
|
},
|
|
"links_added_by_ue": [],
|
|
"frontendVersion": "1.41.11",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true,
|
|
"workflowRendererVersion": "LG"
|
|
},
|
|
"version": 0.4
|
|
} |