remixXL / inpaintcascade.json
Stkzzzz222's picture
Upload inpaintcascade.json
6769f73 verified
{
"last_node_id": 111,
"last_link_id": 223,
"nodes": [
{
"id": 8,
"type": "VAEDecode",
"pos": [
1370,
790
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 98
},
{
"name": "vae",
"type": "VAE",
"link": 68,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 33,
"type": "KSampler",
"pos": [
1020,
791
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 84,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 86
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 136
},
{
"name": "latent_image",
"type": "LATENT",
"link": 171
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
98
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1,
"fixed",
10,
1.1,
"euler_ancestral",
"simple",
1
]
},
{
"id": 29,
"type": "VAELoader",
"pos": [
1045,
1113
],
"size": {
"0": 310,
"1": 60
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
68
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"stage_a.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 78,
"type": "ModelSamplingStableCascade",
"pos": [
-262,
619
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 158
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
159
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingStableCascade"
},
"widgets_values": [
2
]
},
{
"id": 32,
"type": "UNETLoader",
"pos": [
-659,
1037
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
84
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"stage_b_lite_bf16.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 30,
"type": "UNETLoader",
"pos": [
-667,
946
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
158
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"stage_c_lite_bf16.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 89,
"type": "CLIPLoader",
"pos": [
-663,
816
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
176,
177
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"model.safetensors",
"stable_cascade"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-270,
990
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 177
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
205
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 40,
"type": "ConditioningZeroOut",
"pos": [
273,
1006
],
"size": {
"0": 211.60000610351562,
"1": 26
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 109
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
105,
136
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut"
}
},
{
"id": 98,
"type": "LatentComposite",
"pos": [
-197,
1227
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "samples_to",
"type": "LATENT",
"link": 203
},
{
"name": "samples_from",
"type": "LATENT",
"link": 201
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
202
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LatentComposite"
},
"widgets_values": [
0,
0,
0
]
},
{
"id": 34,
"type": "StableCascade_EmptyLatentImage",
"pos": [
431,
1152
],
"size": {
"0": 315,
"1": 150
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "stage_c",
"type": "LATENT",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "stage_b",
"type": "LATENT",
"links": [
171
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "StableCascade_EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
42,
1
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 36,
"type": "StableCascade_StageB_Conditioning",
"pos": [
629,
718
],
"size": {
"0": 277.20001220703125,
"1": 46
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 105
},
{
"name": "stage_c",
"type": "LATENT",
"link": 88
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
86
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StableCascade_StageB_Conditioning"
}
},
{
"id": 100,
"type": "SAMModelLoader (segment anything)",
"pos": [
-621,
1651
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
207
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SAMModelLoader (segment anything)"
},
"widgets_values": [
"sam_vit_h (2.56GB)"
]
},
{
"id": 102,
"type": "GroundingDinoModelLoader (segment anything)",
"pos": [
-427,
1512
],
"size": {
"0": 361.20001220703125,
"1": 58
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "GROUNDING_DINO_MODEL",
"type": "GROUNDING_DINO_MODEL",
"links": [
208
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GroundingDinoModelLoader (segment anything)"
},
"widgets_values": [
"GroundingDINO_SwinT_OGC (694MB)"
]
},
{
"id": 106,
"type": "MaskPreview+",
"pos": [
582.590060147372,
1638.875077681108
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 213
}
],
"properties": {
"Node name for S&R": "MaskPreview+"
}
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1748,
545
],
"size": {
"0": 982.3712158203125,
"1": 1057.7470703125
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {},
"widgets_values": [
"cascade/cascade"
]
},
{
"id": 99,
"type": "VAEEncode",
"pos": [
-520,
1359
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 199
},
{
"name": "vae",
"type": "VAE",
"link": 200
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
201
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 103,
"type": "GroundingDinoSAMSegment (segment anything)",
"pos": [
85,
1520
],
"size": {
"0": 352.79998779296875,
"1": 122
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "sam_model",
"type": "SAM_MODEL",
"link": 207
},
{
"name": "grounding_dino_model",
"type": "GROUNDING_DINO_MODEL",
"link": 208
},
{
"name": "image",
"type": "IMAGE",
"link": 209
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
216
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
213,
214
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "GroundingDinoSAMSegment (segment anything)"
},
"widgets_values": [
"back of a woman",
0.3
]
},
{
"id": 107,
"type": "InvertMask",
"pos": [
531,
1509
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 214
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
219
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InvertMask"
}
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-270,
779
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 176
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
109,
204
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a plate of spaghettis bolognesa with meatballs"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 3,
"type": "KSampler",
"pos": [
252,
696
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 159,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 204
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 205
},
{
"name": "latent_image",
"type": "LATENT",
"link": 202
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
88
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
12642,
"fixed",
20,
4,
"euler_ancestral",
"simple",
0.73
]
},
{
"id": 104,
"type": "PreviewImage",
"pos": [
-967,
483
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 212
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 84,
"type": "LoadImage",
"pos": [
-1792,
837
],
"size": {
"0": 675.08837890625,
"1": 657.8720092773438
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
199,
209,
212
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
223
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-5323654.png [input]",
"image"
]
},
{
"id": 83,
"type": "VAELoader",
"pos": [
-1026,
1417
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
200,
217
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"effnet_encoder.safetensors"
]
},
{
"id": 92,
"type": "VAEEncodeForInpaint",
"pos": [
-570,
1141
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 220
},
{
"name": "vae",
"type": "VAE",
"link": 217
},
{
"name": "mask",
"type": "MASK",
"link": 223
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
203
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncodeForInpaint"
},
"widgets_values": [
2
]
},
{
"id": 108,
"type": "Reroute",
"pos": [
-806,
1132
],
"size": [
75,
26
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 216
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
220
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 110,
"type": "Reroute",
"pos": [
-917,
1291
],
"size": [
75,
26
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 219
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 111,
"type": "Note",
"pos": [
-1057,
1214
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 9,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Connect to mas if you use segment anything\n"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
68,
29,
0,
8,
1,
"VAE"
],
[
84,
32,
0,
33,
0,
"MODEL"
],
[
86,
36,
0,
33,
1,
"CONDITIONING"
],
[
88,
3,
0,
36,
1,
"LATENT"
],
[
98,
33,
0,
8,
0,
"LATENT"
],
[
105,
40,
0,
36,
0,
"CONDITIONING"
],
[
109,
6,
0,
40,
0,
"CONDITIONING"
],
[
136,
40,
0,
33,
2,
"CONDITIONING"
],
[
158,
30,
0,
78,
0,
"MODEL"
],
[
159,
78,
0,
3,
0,
"MODEL"
],
[
171,
34,
1,
33,
3,
"LATENT"
],
[
176,
89,
0,
6,
0,
"CLIP"
],
[
177,
89,
0,
7,
0,
"CLIP"
],
[
199,
84,
0,
99,
0,
"IMAGE"
],
[
200,
83,
0,
99,
1,
"VAE"
],
[
201,
99,
0,
98,
1,
"LATENT"
],
[
202,
98,
0,
3,
3,
"LATENT"
],
[
203,
92,
0,
98,
0,
"LATENT"
],
[
204,
6,
0,
3,
1,
"CONDITIONING"
],
[
205,
7,
0,
3,
2,
"CONDITIONING"
],
[
207,
100,
0,
103,
0,
"SAM_MODEL"
],
[
208,
102,
0,
103,
1,
"GROUNDING_DINO_MODEL"
],
[
209,
84,
0,
103,
2,
"IMAGE"
],
[
212,
84,
0,
104,
0,
"IMAGE"
],
[
213,
103,
1,
106,
0,
"MASK"
],
[
214,
103,
1,
107,
0,
"MASK"
],
[
216,
103,
0,
108,
0,
"*"
],
[
217,
83,
0,
92,
1,
"VAE"
],
[
219,
107,
0,
110,
0,
"*"
],
[
220,
108,
0,
92,
0,
"IMAGE"
],
[
223,
84,
1,
92,
2,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"groupNodes": {}
},
"version": 0.4
}