Files
2025-05-04 13:10:35 +02:00

3347 lines
56 KiB
JSON

{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 232,
"last_link_id": 498,
"nodes": [
{
"id": 167,
"type": "Reroute",
"pos": [
3100,
-2450
],
"size": [
75,
26
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 345
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
348
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 144,
"type": "EmptyImage",
"pos": [
1300,
-1600
],
"size": [
315,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
295,
299,
405
]
}
],
"properties": {
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
512,
512,
1,
5000
]
},
{
"id": 188,
"type": "PreviewImage",
"pos": [
3350,
-2800
],
"size": [
210,
246
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 405
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 64,
"type": "MaskToImage",
"pos": [
3700,
-2450
],
"size": [
264.5999755859375,
26
],
"flags": {
"collapsed": false
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 450
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
116
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 98,
"type": "MaskToImage",
"pos": [
4050,
-2450
],
"size": [
264.5999755859375,
26
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 348
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
184
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 65,
"type": "PreviewImage",
"pos": [
3700,
-2350
],
"size": [
210,
258
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 116
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 99,
"type": "PreviewImage",
"pos": [
4050,
-2350
],
"size": [
210,
258
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 184
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 178,
"type": "ImageCompositeMasked",
"pos": [
4850,
-550
],
"size": [
315,
146
],
"flags": {},
"order": 48,
"mode": 4,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 378
},
{
"name": "source",
"type": "IMAGE",
"link": 381
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 377
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
382
]
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 180,
"type": "Reroute",
"pos": [
4700,
-600
],
"size": [
75,
26
],
"flags": {},
"order": 50,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 388
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
381
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 155,
"type": "Reroute",
"pos": [
4200,
-600
],
"size": [
75,
26
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 484
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
325,
371,
378
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 164,
"type": "PreviewImage",
"pos": [
3300,
-300
],
"size": [
300,
350
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 344
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 171,
"type": "PreviewImage",
"pos": [
4950,
-1400
],
"size": [
300,
350
],
"flags": {},
"order": 43,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 352
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 169,
"type": "MaskToImage",
"pos": [
4950,
-1500
],
"size": [
264.5999755859375,
26
],
"flags": {
"collapsed": false
},
"order": 42,
"mode": 4,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 376
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
352
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 175,
"type": "Reroute",
"pos": [
4600,
-1550
],
"size": [
75,
26
],
"flags": {},
"order": 47,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 361
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
366
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 174,
"type": "Reroute",
"pos": [
4600,
-1600
],
"size": [
75,
26
],
"flags": {},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 359
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
360,
365
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 166,
"type": "MaskComposite",
"pos": [
4950,
-1750
],
"size": [
315,
126
],
"flags": {},
"order": 41,
"mode": 4,
"inputs": [
{
"name": "destination",
"type": "MASK",
"link": 366
},
{
"name": "source",
"type": "MASK",
"link": 365
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
375
]
}
],
"properties": {
"Node name for S&R": "MaskComposite"
},
"widgets_values": [
0,
0,
"subtract"
]
},
{
"id": 179,
"type": "Reroute",
"pos": [
4950,
-1600
],
"size": [
75,
26
],
"flags": {},
"order": 49,
"mode": 4,
"inputs": [
{
"name": "",
"type": "*",
"link": 375
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
376,
377
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 191,
"type": "InspyrenetRembg",
"pos": [
1300,
-1400
],
"size": [
315,
78
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 413
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
414,
418
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
415
]
}
],
"properties": {
"Node name for S&R": "InspyrenetRembg"
},
"widgets_values": [
"on"
]
},
{
"id": 192,
"type": "PreviewImage",
"pos": [
1300,
-1250
],
"size": [
210,
246
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 418
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 189,
"type": "InspyrenetRembg",
"pos": [
1300,
-950
],
"size": [
315,
78
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 410
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
411,
417
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
416
]
}
],
"properties": {
"Node name for S&R": "InspyrenetRembg"
},
"widgets_values": [
"default"
]
},
{
"id": 190,
"type": "PreviewImage",
"pos": [
1300,
-800
],
"size": [
210,
246
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 411
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 157,
"type": "ImageCompositeMasked",
"pos": [
4000,
-500
],
"size": [
315,
146
],
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 409
},
{
"name": "source",
"type": "IMAGE",
"link": 371
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 393
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
332,
372
]
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 158,
"type": "PreviewImage",
"pos": [
4000,
-300
],
"size": [
300,
350
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 332
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 156,
"type": "Reroute",
"pos": [
3650,
-600
],
"size": [
75,
26
],
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 397
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
328,
329
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 148,
"type": "PreviewImage",
"pos": [
4450,
-300
],
"size": [
300,
350
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 310
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 181,
"type": "PreviewImage",
"pos": [
4850,
-300
],
"size": [
300,
350
],
"flags": {},
"order": 51,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 382
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 195,
"type": "PreviewImage",
"pos": [
3300,
-1400
],
"size": [
300,
350
],
"flags": {},
"order": 55,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 419
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 196,
"type": "MaskToImage",
"pos": [
2950,
-1500
],
"size": [
264.5999755859375,
26
],
"flags": {},
"order": 56,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 423
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
424
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 197,
"type": "PreviewImage",
"pos": [
2950,
-1350
],
"size": [
210,
246
],
"flags": {},
"order": 57,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 424
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 152,
"type": "PreviewImage",
"pos": [
3700,
-1400
],
"size": [
300,
350
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 317
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 151,
"type": "PreviewImage",
"pos": [
4050,
-1400
],
"size": [
300,
350
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 316
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 177,
"type": "PreviewImage",
"pos": [
3700,
-2800
],
"size": [
210,
246
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 374
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 176,
"type": "PreviewImage",
"pos": [
4050,
-2800
],
"size": [
210,
246
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 407
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 146,
"type": "ImageCompositeMasked",
"pos": [
3650,
-500
],
"size": [
315,
146
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 329
},
{
"name": "source",
"type": "IMAGE",
"link": 372
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 394
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
310
]
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 200,
"type": "ImageCompositeMasked",
"pos": [
2950,
-1050
],
"size": [
315,
146
],
"flags": {},
"order": 59,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 427
},
{
"name": "source",
"type": "IMAGE",
"link": 441
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 442
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
428
]
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 119,
"type": "PreviewImage",
"pos": [
3300,
-2000
],
"size": [
300,
400
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 398
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 128,
"type": "PreviewImage",
"pos": [
3650,
-2000
],
"size": [
300,
400
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 401
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 145,
"type": "PreviewImage",
"pos": [
4000,
-2000
],
"size": [
300,
400
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 404
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 194,
"type": "MaskToImage",
"pos": [
3300,
-1500
],
"size": [
264.5999755859375,
26
],
"flags": {},
"order": 54,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 420
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
419
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 172,
"type": "Reroute",
"pos": [
3600,
-1600
],
"size": [
75,
26
],
"flags": {},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 430
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
354,
361,
451
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 173,
"type": "Reroute",
"pos": [
4450,
-1600
],
"size": [
75,
26
],
"flags": {},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 431
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
359
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 202,
"type": "PreviewImage",
"pos": [
3400,
-850
],
"size": [
210,
246
],
"flags": {},
"order": 60,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 428
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 199,
"type": "ImageCompositeMasked",
"pos": [
3700,
-1000
],
"size": [
315,
146
],
"flags": {},
"order": 58,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 440
},
{
"name": "source",
"type": "IMAGE",
"link": 439
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 434
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
435
]
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 203,
"type": "PreviewImage",
"pos": [
3800,
-800
],
"size": [
210,
246
],
"flags": {},
"order": 61,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 435
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 198,
"type": "Note",
"pos": [
4400,
-2450
],
"size": [
400,
350
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"a white mask means visible here \na black mask means cut"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 206,
"type": "Note",
"pos": [
4400,
-1400
],
"size": [
400,
350
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"a black mask means visible here \na white mask means cut (background or lower)"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 153,
"type": "MaskToImage",
"pos": [
3700,
-1500
],
"size": [
264.5999755859375,
26
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 452
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
317
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 150,
"type": "MaskToImage",
"pos": [
4050,
-1500
],
"size": [
264.5999755859375,
26
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 454
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
316
]
}
],
"properties": {
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 207,
"type": "InvertMask",
"pos": [
3700,
-1550
],
"size": [
210,
26
],
"flags": {},
"order": 64,
"mode": 4,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 451
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
452
]
}
],
"properties": {
"Node name for S&R": "InvertMask"
},
"widgets_values": []
},
{
"id": 208,
"type": "InvertMask",
"pos": [
4000,
-1550
],
"size": [
210,
26
],
"flags": {},
"order": 65,
"mode": 4,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 453
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
454
]
}
],
"properties": {
"Node name for S&R": "InvertMask"
},
"widgets_values": []
},
{
"id": 209,
"type": "Reroute",
"pos": [
4150,
-1000
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 455
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
459
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 204,
"type": "ImageCompositeMasked",
"pos": [
4450,
-1000
],
"size": [
315,
146
],
"flags": {},
"order": 62,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 458
},
{
"name": "source",
"type": "IMAGE",
"link": 459
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 449
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
447
]
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 205,
"type": "PreviewImage",
"pos": [
4100,
-850
],
"size": [
210,
246
],
"flags": {},
"order": 63,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 447
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 222,
"type": "PreviewImage",
"pos": [
2900,
-300
],
"size": [
210,
246
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 488
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 154,
"type": "EmptyImage",
"pos": [
3300,
-500
],
"size": [
250,
130
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "color",
"type": "INT",
"widget": {
"name": "color"
},
"link": 489
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
344,
484
]
}
],
"properties": {
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
512,
512,
1,
16777215
]
},
{
"id": 142,
"type": "PreviewImage",
"pos": [
4450,
-2000
],
"size": [
300,
350
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 492
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [
""
]
},
{
"id": 224,
"type": "Reroute",
"pos": [
4452.09765625,
-2061.010986328125
],
"size": [
75,
26
],
"flags": {},
"order": 66,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 490
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
491,
492
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 201,
"type": "EmptyImage",
"pos": [
2500,
-700
],
"size": [
250,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
427,
432,
439,
441,
455
]
}
],
"properties": {
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
512,
512,
1,
1280000
]
},
{
"id": 185,
"type": "CompositorMasksOutputV3",
"pos": [
2800,
-1950
],
"size": [
390.5999755859375,
358
],
"flags": {},
"order": 53,
"mode": 0,
"inputs": [
{
"name": "layer_outputs",
"type": "COMPOSITOR_OUTPUT_MASKS",
"link": 385
}
],
"outputs": [
{
"name": "image_1",
"type": "IMAGE",
"links": [
398
]
},
{
"name": "image_2",
"type": "IMAGE",
"links": [
401,
440
]
},
{
"name": "image_3",
"type": "IMAGE",
"links": [
404,
409,
457,
458
]
},
{
"name": "image_4",
"type": "IMAGE",
"links": null
},
{
"name": "image_5",
"type": "IMAGE",
"links": null
},
{
"name": "image_6",
"type": "IMAGE",
"links": null
},
{
"name": "image_7",
"type": "IMAGE",
"links": null
},
{
"name": "image_8",
"type": "IMAGE",
"links": null
},
{
"name": "mask_1",
"type": "MASK",
"links": [
420,
442
]
},
{
"name": "mask_2",
"type": "MASK",
"links": [
394,
430,
434
]
},
{
"name": "mask_3",
"type": "MASK",
"links": [
393,
422,
431,
449,
453
]
},
{
"name": "mask_4",
"type": "MASK",
"links": null
},
{
"name": "mask_5",
"type": "MASK",
"links": null
},
{
"name": "mask_6",
"type": "MASK",
"links": null
},
{
"name": "mask_7",
"type": "MASK",
"links": null
},
{
"name": "mask_8",
"type": "MASK",
"links": [
423
]
}
],
"properties": {
"Node name for S&R": "CompositorMasksOutputV3"
},
"widgets_values": [],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 225,
"type": "SaveImage",
"pos": [
4500,
-2850
],
"size": [
315,
270
],
"flags": {},
"order": 67,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 491
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI",
""
]
},
{
"id": 118,
"type": "CompositorConfig3",
"pos": [
1650,
-1600
],
"size": [
315,
502
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 299
},
{
"name": "mask1",
"shape": 7,
"type": "MASK",
"link": 235
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 414
},
{
"name": "mask2",
"shape": 7,
"type": "MASK",
"link": 415
},
{
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": 417
},
{
"name": "mask3",
"shape": 7,
"type": "MASK",
"link": 416
},
{
"name": "image4",
"shape": 7,
"type": "IMAGE",
"link": 297
},
{
"name": "mask4",
"shape": 7,
"type": "MASK",
"link": 298
},
{
"name": "image5",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "mask5",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "image6",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "mask6",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "image7",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "mask7",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "image8",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "mask8",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "config",
"type": "COMPOSITOR_CONFIG",
"links": [
383
]
},
{
"name": "extendedConfig",
"type": "COMPOSITOR_CONFIG",
"links": [
384
]
}
],
"properties": {
"Node name for S&R": "CompositorConfig3"
},
"widgets_values": [
512,
512,
100,
false,
false,
false,
1746354972874
]
},
{
"id": 187,
"type": "CompositorTools3",
"pos": [
1650,
-750
],
"size": [
466.1999816894531,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "tools",
"type": "BOOLEAN",
"links": [
399
]
}
],
"properties": {
"Node name for S&R": "CompositorTools3"
}
},
{
"id": 221,
"type": "CompositorColorPicker",
"pos": [
2500,
-500
],
"size": [
327.5999755859375,
256
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "color_string",
"type": "STRING",
"links": null
},
{
"name": "color_16bit",
"type": "INT",
"links": []
},
{
"name": "color_24bit",
"type": "INT",
"links": [
489
]
},
{
"name": "color_preview",
"type": "IMAGE",
"links": [
488
]
}
],
"properties": {
"Node name for S&R": "CompositorColorPicker"
},
"widgets_values": [
0,
19,
136,
"RGB565",
""
]
},
{
"id": 23,
"type": "ShowText|pysssss",
"pos": [
1150,
-400
],
"size": [
1300,
250
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 387
}
],
"outputs": [
{
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"{\"width\":512,\"height\":512,\"padding\":100,\"transforms\":[{\"left\":90.42033484632279,\"top\":88.88411755717749,\"scaleX\":1.04,\"scaleY\":1.04,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":512,\"xheight\":512,\"skewY\":0,\"skewX\":0},{\"left\":433.6616255688059,\"top\":98.49015844613899,\"scaleX\":0.7570561204800669,\"scaleY\":0.7570561204800669,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":236,\"xheight\":682,\"skewY\":0,\"skewX\":0},{\"left\":213.29438202365185,\"top\":93.98598509495446,\"scaleX\":1.668923113266783,\"scaleY\":1.668923113266783,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":236,\"xheight\":314,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0}],\"bboxes\":[{\"left\":90.42033484632282,\"top\":88.88411755717749,\"xwidth\":532.48,\"xheight\":532.48},{\"left\":433.6616255688059,\"top\":98.49015844613899,\"xwidth\":516.3122741674056,\"xheight\":178.6652444332958},{\"left\":213.29438202365185,\"top\":93.98598509495446,\"xwidth\":524.0418575657699,\"xheight\":393.86585473096085},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0}]}"
]
},
{
"id": 5,
"type": "LoadImage",
"pos": [
500,
-1850
],
"size": [
315,
314
],
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
374,
413
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
196,
204,
218,
450
]
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-166485.png [input]",
"image",
""
]
},
{
"id": 4,
"type": "LoadImage",
"pos": [
500,
-1450
],
"size": [
315,
314
],
"flags": {
"collapsed": false
},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
64,
125,
234,
297,
407,
410
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
65,
102,
126,
134,
235,
298,
345
]
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-172822.90000000596.png [input]",
"image",
""
]
},
{
"id": 183,
"type": "MarkdownNote",
"pos": [
2150,
-2500
],
"size": [
900,
400
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# 1 preparation\n\n- select your subject with the mask editor or other tool:\n\n**note: inverting masks after selecting the outside is not proper but it's easy to select the object in the new mask editor via invert**\n\n# 2 connect sockets\n\n- connect extended config\n- pass the image and the mask to the config\n- connect mask out to some other node (like convert mask to image then image preview)\n- connect the image out to a preview node\n\n- run and compose \n- click continue\n\n# 3 play with masks!\n\n# 4 combine masks\n\n- optionally combine masks (with other nodes), a sample is included\n- mask stacking feature will come later\n\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 184,
"type": "Compositor3",
"pos": [
2000,
-1600
],
"size": [
733,
803
],
"flags": {},
"order": 52,
"mode": 0,
"inputs": [
{
"name": "config",
"type": "COMPOSITOR_CONFIG",
"link": 383
},
{
"name": "extendedConfig",
"shape": 7,
"type": "COMPOSITOR_CONFIG",
"link": 384
},
{
"name": "tools",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "tools"
},
"link": 399
}
],
"outputs": [
{
"name": "transforms",
"type": "STRING",
"links": [
387
]
},
{
"name": "image",
"type": "IMAGE",
"links": [
388,
396,
397,
490
]
},
{
"name": "layer_outputs",
"type": "COMPOSITOR_OUTPUT_MASKS",
"links": [
385
]
}
],
"properties": {
"Node name for S&R": "Compositor3"
},
"widgets_values": [
"{\"width\":512,\"height\":512,\"padding\":100,\"transforms\":[{\"left\":90.42033484632279,\"top\":88.88411755717749,\"scaleX\":1.04,\"scaleY\":1.04,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":512,\"xheight\":512,\"skewY\":0,\"skewX\":0},{\"left\":433.6616255688059,\"top\":98.49015844613899,\"scaleX\":0.7570561204800669,\"scaleY\":0.7570561204800669,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":236,\"xheight\":682,\"skewY\":0,\"skewX\":0},{\"left\":213.29438202365185,\"top\":93.98598509495446,\"scaleX\":1.668923113266783,\"scaleY\":1.668923113266783,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":236,\"xheight\":314,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0},{\"left\":0,\"top\":0,\"scaleX\":1,\"scaleY\":1,\"angle\":0,\"flipX\":false,\"flipY\":false,\"originX\":\"left\",\"originY\":\"top\",\"xwidth\":0,\"xheight\":0,\"skewY\":0,\"skewX\":0}],\"bboxes\":[{\"left\":90.42033484632282,\"top\":88.88411755717749,\"xwidth\":532.48,\"xheight\":532.48},{\"left\":433.6616255688059,\"top\":98.49015844613899,\"xwidth\":516.3122741674056,\"xheight\":178.6652444332958},{\"left\":213.29438202365185,\"top\":93.98598509495446,\"xwidth\":524.0418575657699,\"xheight\":393.86585473096085},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0},{\"left\":0,\"top\":0,\"xwidth\":0,\"xheight\":0}]}",
"compositor/1746356697859.png [temp]",
true,
"",
"continue"
]
}
],
"links": [
[
116,
64,
0,
65,
0,
"IMAGE"
],
[
184,
98,
0,
99,
0,
"IMAGE"
],
[
299,
144,
0,
118,
0,
"IMAGE"
],
[
310,
146,
0,
148,
0,
"IMAGE"
],
[
316,
150,
0,
151,
0,
"IMAGE"
],
[
317,
153,
0,
152,
0,
"IMAGE"
],
[
329,
156,
0,
146,
0,
"IMAGE"
],
[
332,
157,
0,
158,
0,
"IMAGE"
],
[
344,
154,
0,
164,
0,
"IMAGE"
],
[
345,
4,
1,
167,
0,
"*"
],
[
348,
167,
0,
98,
0,
"MASK"
],
[
352,
169,
0,
171,
0,
"IMAGE"
],
[
359,
173,
0,
174,
0,
"*"
],
[
361,
172,
0,
175,
0,
"*"
],
[
365,
174,
0,
166,
1,
"MASK"
],
[
366,
175,
0,
166,
0,
"MASK"
],
[
371,
155,
0,
157,
1,
"IMAGE"
],
[
372,
157,
0,
146,
1,
"IMAGE"
],
[
374,
5,
0,
177,
0,
"IMAGE"
],
[
375,
166,
0,
179,
0,
"*"
],
[
376,
179,
0,
169,
0,
"MASK"
],
[
377,
179,
0,
178,
2,
"MASK"
],
[
378,
155,
0,
178,
0,
"IMAGE"
],
[
381,
180,
0,
178,
1,
"IMAGE"
],
[
382,
178,
0,
181,
0,
"IMAGE"
],
[
383,
118,
0,
184,
0,
"COMPOSITOR_CONFIG"
],
[
384,
118,
1,
184,
1,
"COMPOSITOR_CONFIG"
],
[
385,
184,
2,
185,
0,
"COMPOSITOR_OUTPUT_MASKS"
],
[
387,
184,
0,
23,
0,
"STRING"
],
[
388,
184,
1,
180,
0,
"*"
],
[
393,
185,
10,
157,
2,
"MASK"
],
[
394,
185,
9,
146,
2,
"MASK"
],
[
397,
184,
1,
156,
0,
"*"
],
[
398,
185,
0,
119,
0,
"IMAGE"
],
[
399,
187,
0,
184,
2,
"BOOLEAN"
],
[
401,
185,
1,
128,
0,
"IMAGE"
],
[
404,
185,
2,
145,
0,
"IMAGE"
],
[
405,
144,
0,
188,
0,
"IMAGE"
],
[
407,
4,
0,
176,
0,
"IMAGE"
],
[
409,
185,
2,
157,
0,
"IMAGE"
],
[
410,
4,
0,
189,
0,
"IMAGE"
],
[
411,
189,
0,
190,
0,
"IMAGE"
],
[
413,
5,
0,
191,
0,
"IMAGE"
],
[
414,
191,
0,
118,
2,
"IMAGE"
],
[
415,
191,
1,
118,
3,
"MASK"
],
[
416,
189,
1,
118,
5,
"MASK"
],
[
417,
189,
0,
118,
4,
"IMAGE"
],
[
418,
191,
0,
192,
0,
"IMAGE"
],
[
419,
194,
0,
195,
0,
"IMAGE"
],
[
420,
185,
8,
194,
0,
"MASK"
],
[
423,
185,
15,
196,
0,
"MASK"
],
[
424,
196,
0,
197,
0,
"IMAGE"
],
[
427,
201,
0,
200,
0,
"IMAGE"
],
[
428,
200,
0,
202,
0,
"IMAGE"
],
[
430,
185,
9,
172,
0,
"*"
],
[
431,
185,
10,
173,
0,
"*"
],
[
434,
185,
9,
199,
2,
"MASK"
],
[
435,
199,
0,
203,
0,
"IMAGE"
],
[
439,
201,
0,
199,
1,
"IMAGE"
],
[
440,
185,
1,
199,
0,
"IMAGE"
],
[
441,
201,
0,
200,
1,
"IMAGE"
],
[
442,
185,
8,
200,
2,
"MASK"
],
[
447,
204,
0,
205,
0,
"IMAGE"
],
[
449,
185,
10,
204,
2,
"MASK"
],
[
450,
5,
1,
64,
0,
"MASK"
],
[
451,
172,
0,
207,
0,
"MASK"
],
[
452,
207,
0,
153,
0,
"MASK"
],
[
453,
185,
10,
208,
0,
"MASK"
],
[
454,
208,
0,
150,
0,
"MASK"
],
[
455,
201,
0,
209,
0,
"*"
],
[
458,
185,
2,
204,
0,
"IMAGE"
],
[
459,
209,
0,
204,
1,
"IMAGE"
],
[
484,
154,
0,
155,
0,
"*"
],
[
488,
221,
3,
222,
0,
"IMAGE"
],
[
489,
221,
2,
154,
0,
"INT"
],
[
490,
184,
1,
224,
0,
"*"
],
[
491,
224,
0,
225,
0,
"IMAGE"
],
[
492,
224,
0,
142,
0,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "original images",
"bounding": [
3100,
-2900,
1250,
350
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "original mask (subject)",
"bounding": [
3100,
-2550,
1250,
450
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "image placed on canvas",
"bounding": [
3250,
-2100,
1100,
500
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "mask from compositor",
"bounding": [
3700,
-1600,
650,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "use mask to re-compose images on a new backround (demo)",
"bounding": [
3250,
-600,
2000,
700
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "samle binary implementation",
"bounding": [
4850,
-2550,
500,
1550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.3774401698299286,
"offset": [
269.45573705984,
3012.5612494733855
]
}
},
"version": 0.4
}