Files
BadCafeCode-masquerade-node…/examples/composition-by-photobashing.json
T
2023-04-22 15:58:48 -07:00

2418 lines
39 KiB
JSON

{
"last_node_id": 59,
"last_link_id": 86,
"nodes": [
{
"id": 34,
"type": "CheckpointLoaderSimple",
"pos": [
-65.09565259765502,
-497.6210079101566
],
"size": {
"0": 315,
"1": 98
},
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
41
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
45,
46
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
48
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly.ckpt"
]
},
{
"id": 36,
"type": "CLIPTextEncode",
"pos": [
231.90434740234372,
-515.6210079101565
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 45
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
42
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"photo of a cat sitting in a garden"
]
},
{
"id": 37,
"type": "CLIPTextEncode",
"pos": [
259.9043474023438,
-297.62100791015655
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 46
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
43
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, (cropped:1.2)"
]
},
{
"id": 35,
"type": "EmptyLatentImage",
"pos": [
266.9043474023438,
-223.6210079101567
],
"size": {
"0": 315,
"1": 106
},
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
44
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 33,
"type": "KSampler",
"pos": [
793.9043474023435,
-452.62100791015666
],
"size": {
"0": 315,
"1": 262
},
"flags": {
"collapsed": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 41
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 42
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 43
},
{
"name": "latent_image",
"type": "LATENT",
"link": 44
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
47
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
739721985019332,
"fixed",
20,
8,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 38,
"type": "VAEDecode",
"pos": [
960.9043474023433,
-460.62100791015666
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 47
},
{
"name": "vae",
"type": "VAE",
"link": 48
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
49,
50,
52
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 40,
"type": "Mask By Text",
"pos": [
1634.3463375561516,
-453.70436388671925
],
"size": [
210,
194
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 50
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
51,
72
],
"slot_index": 0
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"Node name for S&R": "Mask By Text"
},
"widgets_values": [
"cat",
"",
0.5,
"no"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-85.31077308288576,
4.173759730224779
],
"size": {
"0": 315,
"1": 98
},
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
3,
5
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly.ckpt"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
236.6191908300782,
-22.912266240234402
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"photo of a dog sitting in a garden"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
272.61919083007774,
206.08773375976557
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {
"collapsed": true
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, (cropped:1.2)"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
267.6191908300778,
261.0877337597657
],
"size": {
"0": 315,
"1": 106
},
"flags": {
"collapsed": true
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
780.619190830078,
61.08773375976565
],
"size": {
"0": 315,
"1": 262
},
"flags": {
"collapsed": true
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
739721985019176,
"fixed",
20,
8,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
960.619190830078,
5.087733759765561
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10,
11,
29
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 52,
"type": "PreviewImage",
"pos": [
1921.8838887548811,
-575.3182576171876
],
"size": [
309.69307861328025,
382.5009643554682
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 72
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 42,
"type": "PreviewImage",
"pos": [
2681.883888754881,
-568.3182576171876
],
"size": [
319.675769042969,
361.5376953125
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 53
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 25,
"type": "Cut By Mask",
"pos": [
2317.4753361572266,
5.157430092773351
],
"size": {
"0": 342.5999755859375,
"1": 122
},
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 29
},
{
"name": "mask",
"type": "IMAGE",
"link": 30
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
33,
82
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
]
},
{
"id": 56,
"type": "PreviewImage",
"pos": [
2714.1491902197267,
-124.13625049316397
],
"size": {
"0": 319.67578125,
"1": 361.5376892089844
},
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 82
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 55,
"type": "PreviewImage",
"pos": [
1947.1491902197265,
-134.13625049316397
],
"size": {
"0": 309.6930847167969,
"1": 382.5009765625
},
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 81
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 18,
"type": "CheckpointLoaderSimple",
"pos": [
-91.35859603027352,
538.558002216797
],
"size": {
"0": 315,
"1": 98
},
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
17
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
21,
22
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
24
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly.ckpt"
]
},
{
"id": 20,
"type": "CLIPTextEncode",
"pos": [
240.6414039697265,
475.558002216797
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 21
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
18
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"photo of a a garden"
]
},
{
"id": 21,
"type": "CLIPTextEncode",
"pos": [
276.64140396972647,
692.558002216797
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 22
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
19
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, cropped"
]
},
{
"id": 19,
"type": "EmptyLatentImage",
"pos": [
300.6414039697264,
760.558002216797
],
"size": {
"0": 315,
"1": 106
},
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
20
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 17,
"type": "KSampler",
"pos": [
783.6414039697265,
560.558002216797
],
"size": {
"0": 315,
"1": 262
},
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 17
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 18
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 19
},
{
"name": "latent_image",
"type": "LATENT",
"link": 20
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
23
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
739721985019225,
"fixed",
20,
8,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 10,
"type": "PreviewImage",
"pos": [
1196.9891426123045,
-134.65223083984375
],
"size": [
371.5328049316395,
401.0691884765621
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 22,
"type": "VAEDecode",
"pos": [
986.6414039697265,
511.55800221679704
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 23
},
{
"name": "vae",
"type": "VAE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
36,
79,
80,
83
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 54,
"type": "Create Rect Mask",
"pos": [
1674.3756046199999,
394.3444587464061
],
"size": {
"0": 315,
"1": 226
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "copy_image_size",
"type": "IMAGE",
"link": 80
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
76,
77
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Create Rect Mask"
},
"widgets_values": [
"percent",
"bottomleft",
55,
13,
33,
43,
512,
512
]
},
{
"id": 27,
"type": "Paste By Mask",
"pos": [
2420.7583392426595,
446.73262239507955
],
"size": {
"0": 342.5999755859375,
"1": 118
},
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "image_base",
"type": "IMAGE",
"link": 36
},
{
"name": "image_to_paste",
"type": "IMAGE",
"link": 33
},
{
"name": "mask",
"type": "IMAGE",
"link": 77
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
54,
84
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Paste By Mask"
},
"widgets_values": [
"keep_ratio_fit"
]
},
{
"id": 53,
"type": "Create Rect Mask",
"pos": [
1656.8459437625,
716.897508603906
],
"size": {
"0": 315,
"1": 226
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "copy_image_size",
"type": "IMAGE",
"link": 79
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
73,
75
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Create Rect Mask"
},
"widgets_values": [
"percent",
"bottomleft",
12,
13,
35,
61,
512,
512
]
},
{
"id": 58,
"type": "PreviewImage",
"pos": [
2789.5061655468753,
376.6739150976562
],
"size": {
"0": 517.0797729492188,
"1": 517.5382080078125
},
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 84
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 28,
"type": "PreviewImage",
"pos": [
2797.0649307031244,
1029
],
"size": {
"0": 517.0797729492188,
"1": 517.5382080078125
},
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 55
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 45,
"type": "CheckpointLoaderSimple",
"pos": [
-76.77548427733902,
1266.1004119335912
],
"size": {
"0": 315,
"1": 98
},
"flags": {
"collapsed": true
},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
60
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
64,
65
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
67,
69
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"v1-5-pruned-emaonly.ckpt"
]
},
{
"id": 47,
"type": "CLIPTextEncode",
"pos": [
195.22451572266087,
1123.1004119335912
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
61
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"photo of a cat sitting next to a puppy in a garden"
]
},
{
"id": 48,
"type": "CLIPTextEncode",
"pos": [
257.22451572266084,
1363.1004119335912
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {
"collapsed": true
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 65
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
62
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark, cropped"
]
},
{
"id": 44,
"type": "KSampler",
"pos": [
763.2245157226606,
1210.1004119335912
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 60
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 61
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 62
},
{
"name": "latent_image",
"type": "LATENT",
"link": 70
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
66
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
739721985019059,
"fixed",
60,
8,
"euler",
"normal",
0.7000000000000002
]
},
{
"id": 49,
"type": "VAEDecode",
"pos": [
1148.224515722661,
1223.1004119335912
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 66
},
{
"name": "vae",
"type": "VAE",
"link": 67
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
71
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 39,
"type": "PreviewImage",
"pos": [
1178,
-583
],
"size": [
376.7598495507807,
400.38239378906235
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 49
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 30,
"type": "PreviewImage",
"pos": [
2013.5191819637496,
375.70346314093774
],
"size": [
222.47553651280828,
257.912007503592
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 76
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 43,
"type": "Paste By Mask",
"pos": [
2420.8435702645315,
1014.4642147589055
],
"size": {
"0": 342.5999755859375,
"1": 118
},
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "image_base",
"type": "IMAGE",
"link": 54
},
{
"name": "image_to_paste",
"type": "IMAGE",
"link": 56
},
{
"name": "mask",
"type": "IMAGE",
"link": 75
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
55,
85
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Paste By Mask"
},
"widgets_values": [
"keep_ratio_fill"
]
},
{
"id": 59,
"type": "Reroute",
"pos": [
-26,
1398
],
"size": [
75,
26
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 85
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
86
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#233",
"bgcolor": "#355"
},
{
"id": 50,
"type": "VAEEncode",
"pos": [
294,
1420
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 86
},
{
"name": "vae",
"type": "VAE",
"link": 69
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
70
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 57,
"type": "PreviewImage",
"pos": [
1175,
396
],
"size": {
"0": 371.5328063964844,
"1": 401.0691833496094
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 83
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 41,
"type": "Cut By Mask",
"pos": [
2278.9043702905274,
-514.8095261914067
],
"size": {
"0": 342.5999755859375,
"1": 122
},
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 52
},
{
"name": "mask",
"type": "IMAGE",
"link": 51
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
53,
56
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
]
},
{
"id": 11,
"type": "Mask By Text",
"pos": [
1648,
26
],
"size": [
210,
194
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 11
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
30,
81
],
"slot_index": 0
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"Node name for S&R": "Mask By Text"
},
"widgets_values": [
"dog",
"",
0.5,
"no"
]
},
{
"id": 16,
"type": "PreviewImage",
"pos": [
2011,
679
],
"size": [
231.7736984765579,
263.1595106445293
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 73
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 51,
"type": "PreviewImage",
"pos": [
1665,
1064
],
"size": [
528.6822269531208,
518.2059276367154
],
"flags": {},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 71
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
1,
4,
0,
3,
0,
"MODEL"
],
[
2,
5,
0,
3,
3,
"LATENT"
],
[
3,
4,
1,
6,
0,
"CLIP"
],
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
10,
8,
0,
10,
0,
"IMAGE"
],
[
11,
8,
0,
11,
0,
"IMAGE"
],
[
17,
18,
0,
17,
0,
"MODEL"
],
[
18,
20,
0,
17,
1,
"CONDITIONING"
],
[
19,
21,
0,
17,
2,
"CONDITIONING"
],
[
20,
19,
0,
17,
3,
"LATENT"
],
[
21,
18,
1,
20,
0,
"CLIP"
],
[
22,
18,
1,
21,
0,
"CLIP"
],
[
23,
17,
0,
22,
0,
"LATENT"
],
[
24,
18,
2,
22,
1,
"VAE"
],
[
29,
8,
0,
25,
0,
"IMAGE"
],
[
30,
11,
0,
25,
1,
"IMAGE"
],
[
33,
25,
0,
27,
1,
"IMAGE"
],
[
36,
22,
0,
27,
0,
"IMAGE"
],
[
41,
34,
0,
33,
0,
"MODEL"
],
[
42,
36,
0,
33,
1,
"CONDITIONING"
],
[
43,
37,
0,
33,
2,
"CONDITIONING"
],
[
44,
35,
0,
33,
3,
"LATENT"
],
[
45,
34,
1,
36,
0,
"CLIP"
],
[
46,
34,
1,
37,
0,
"CLIP"
],
[
47,
33,
0,
38,
0,
"LATENT"
],
[
48,
34,
2,
38,
1,
"VAE"
],
[
49,
38,
0,
39,
0,
"IMAGE"
],
[
50,
38,
0,
40,
0,
"IMAGE"
],
[
51,
40,
0,
41,
1,
"IMAGE"
],
[
52,
38,
0,
41,
0,
"IMAGE"
],
[
53,
41,
0,
42,
0,
"IMAGE"
],
[
54,
27,
0,
43,
0,
"IMAGE"
],
[
55,
43,
0,
28,
0,
"IMAGE"
],
[
56,
41,
0,
43,
1,
"IMAGE"
],
[
60,
45,
0,
44,
0,
"MODEL"
],
[
61,
47,
0,
44,
1,
"CONDITIONING"
],
[
62,
48,
0,
44,
2,
"CONDITIONING"
],
[
64,
45,
1,
47,
0,
"CLIP"
],
[
65,
45,
1,
48,
0,
"CLIP"
],
[
66,
44,
0,
49,
0,
"LATENT"
],
[
67,
45,
2,
49,
1,
"VAE"
],
[
69,
45,
2,
50,
1,
"VAE"
],
[
70,
50,
0,
44,
3,
"LATENT"
],
[
71,
49,
0,
51,
0,
"IMAGE"
],
[
72,
40,
0,
52,
0,
"IMAGE"
],
[
73,
53,
0,
16,
0,
"IMAGE"
],
[
75,
53,
0,
43,
2,
"IMAGE"
],
[
76,
54,
0,
30,
0,
"IMAGE"
],
[
77,
54,
0,
27,
2,
"IMAGE"
],
[
79,
22,
0,
53,
0,
"IMAGE"
],
[
80,
22,
0,
54,
0,
"IMAGE"
],
[
81,
11,
0,
55,
0,
"IMAGE"
],
[
82,
25,
0,
56,
0,
"IMAGE"
],
[
83,
22,
0,
57,
0,
"IMAGE"
],
[
84,
27,
0,
58,
0,
"IMAGE"
],
[
85,
43,
0,
59,
0,
"*"
],
[
86,
59,
0,
50,
0,
"IMAGE"
]
],
"groups": [
{
"title": "1. Make a cat",
"bounding": [
-141,
-612,
1273,
433
],
"color": "#A88"
},
{
"title": "4. Make a dog",
"bounding": [
-142,
-158,
1277,
448
],
"color": "#b06634"
},
{
"title": "2. Get the mask for the cat",
"bounding": [
1588,
-565,
301,
354
],
"color": "#A88"
},
{
"title": "3. Cut out the cat",
"bounding": [
2262,
-587,
413,
370
],
"color": "#A88"
},
{
"title": "5. Get the mask for the dog",
"bounding": [
1593,
-136,
314,
370
],
"color": "#b06634"
},
{
"title": "6. Cut out the dog",
"bounding": [
2274,
-135,
411,
374
],
"color": "#b06634"
},
{
"title": "7. Create the background",
"bounding": [
-149,
309,
1728,
550
],
"color": "#8A8"
},
{
"title": "8. Set up the composition",
"bounding": [
1620,
300,
663,
658
],
"color": "#b58b2a"
},
{
"title": "9. Paste the dog",
"bounding": [
2355,
295,
982,
626
],
"color": "#3f789e"
},
{
"title": "10. Paste the cat",
"bounding": [
2361,
938,
980,
655
],
"color": "#3f789e"
},
{
"title": "11. Img2Img the pasted result to fix shadows/coloring",
"bounding": [
-134,
984,
2398,
626
],
"color": "#88A"
}
],
"config": {},
"extra": {},
"version": 0.4
}