Files

1483 lines
24 KiB
JSON

{
"last_node_id": 66,
"last_link_id": 170,
"nodes": [
{
"id": 19,
"type": "CheckpointLoaderSimple",
"pos": [
-483,
1110
],
"size": {
"0": 431,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
60
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
35,
88
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
43,
128
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"juggernautXL_version6Rundiffusion.safetensors"
]
},
{
"id": 10,
"type": "CLIPTextEncode",
"pos": [
-474,
1381
],
"size": [
417.5841689221421,
76
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 35
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
123
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 35,
"type": "INPAINT_LoadFooocusInpaint",
"pos": [
208,
1200
],
"size": [
276.6825206658291,
82
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "INPAINT_PATCH",
"type": "INPAINT_PATCH",
"links": [
62
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_LoadFooocusInpaint"
},
"widgets_values": [
"fooocus_inpaint_head.pth",
"inpaint_v26.fooocus.patch"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "INPAINT_VAEEncodeInpaintConditioning",
"pos": [
194,
1330
],
"size": {
"0": 292.20001220703125,
"1": 106
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 122
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 123
},
{
"name": "vae",
"type": "VAE",
"link": 128
},
{
"name": "pixels",
"type": "IMAGE",
"link": 140
},
{
"name": "mask",
"type": "MASK",
"link": 138
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
124
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
125
],
"shape": 3,
"slot_index": 1
},
{
"name": "latent_inpaint",
"type": "LATENT",
"links": [
127
],
"shape": 3,
"slot_index": 2
},
{
"name": "latent_samples",
"type": "LATENT",
"links": [
126
],
"shape": 3,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "INPAINT_VAEEncodeInpaintConditioning"
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 55,
"type": "PreviewImage",
"pos": [
490,
800
],
"size": [
210,
246
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 148
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 51,
"type": "Reroute",
"pos": [
505,
1075
],
"size": [
75,
26
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 167,
"slot_index": 0
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
142
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 50,
"type": "Reroute",
"pos": [
109,
1080
],
"size": [
75,
26
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 142
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
140
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 36,
"type": "INPAINT_ApplyFooocusInpaint",
"pos": [
581,
1155
],
"size": [
191.45638474692714,
66
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 60
},
{
"name": "patch",
"type": "INPAINT_PATCH",
"link": 62
},
{
"name": "latent",
"type": "LATENT",
"link": 127
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
120
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_ApplyFooocusInpaint"
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 47,
"type": "Reroute",
"pos": [
-85.70390089638016,
451.81675574263164
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 170
}
],
"outputs": [
{
"name": "",
"type": "MASK",
"links": [
137,
138,
145,
151,
159
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 46,
"type": "Reroute",
"pos": [
-85.62200405782187,
401.364032722935
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 168
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
136,
144,
150,
154,
160
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 62,
"type": "Note",
"pos": [
281,
78
],
"size": [
288.36252399942055,
58
],
"flags": {},
"order": 2,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"pass-through: for refinement with denoise < 1"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 65,
"type": "ImageCompositeMasked",
"pos": [
900.6461852182938,
863.8659206207312
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 160
},
{
"name": "source",
"type": "IMAGE",
"link": 156
},
{
"name": "mask",
"type": "MASK",
"link": 159
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
155
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 14,
"type": "VAEDecode",
"pos": [
900.6461852182938,
1063.8659206207312
],
"size": [
280.3295987363324,
47.345116898486594
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 97
},
{
"name": "vae",
"type": "VAE",
"link": 43
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
156
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 59,
"type": "SaveImage",
"pos": [
754,
76
],
"size": [
490.8734709718178,
686.078138463666
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 155
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 40,
"type": "KSampler",
"pos": [
912,
1169
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 120
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 124
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 125
},
{
"name": "latent_image",
"type": "LATENT",
"link": 126
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
97
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
926268437509169,
"randomize",
24,
5,
"dpmpp_2m_sde_gpu",
"karras",
1
]
},
{
"id": 43,
"type": "INPAINT_MaskedBlur",
"pos": [
120,
484
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 136
},
{
"name": "mask",
"type": "MASK",
"link": 137
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
147
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_MaskedBlur"
},
"widgets_values": [
255,
11
]
},
{
"id": 52,
"type": "INPAINT_LoadInpaintModel",
"pos": [
120,
769
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "INPAINT_MODEL",
"type": "INPAINT_MODEL",
"links": [
143
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_LoadInpaintModel"
},
"widgets_values": [
"Places_512_FullData_G.pth"
]
},
{
"id": 53,
"type": "PreviewImage",
"pos": [
487,
201
],
"size": [
210,
246
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 146
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 54,
"type": "PreviewImage",
"pos": [
489,
491
],
"size": [
210,
246
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 147
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 45,
"type": "ImagePadForOutpaint",
"pos": [
-482,
887
],
"size": {
"0": 315,
"1": 174
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 133
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ImagePadForOutpaint"
},
"widgets_values": [
128,
0,
128,
0,
40
]
},
{
"id": 66,
"type": "Note",
"pos": [
-466,
426
],
"size": [
309.2648882293299,
64.0997455459651
],
"flags": {},
"order": 4,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Paint mask into image,\nOR load mask from file,\nOR generate outpainting mask"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 49,
"type": "INPAINT_InpaintWithModel",
"pos": [
121,
871
],
"size": [
311.12821705664123,
95.89705449489816
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "inpaint_model",
"type": "INPAINT_MODEL",
"link": 143
},
{
"name": "image",
"type": "IMAGE",
"link": 144
},
{
"name": "mask",
"type": "MASK",
"link": 145
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
148
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_InpaintWithModel"
}
},
{
"id": 61,
"type": "Reroute",
"pos": [
128,
88
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 154
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 56,
"type": "Note",
"pos": [
120,
350
],
"size": [
301.34525467611184,
67.77167938795697
],
"flags": {},
"order": 5,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"neutral: to add objects / make drastic changes\ntelea/navier-stokes: good for outpainting"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 57,
"type": "Note",
"pos": [
127,
627
],
"size": [
301.4128003846947,
58
],
"flags": {},
"order": 6,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"keeps average colors from masked area"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 58,
"type": "Note",
"pos": [
121,
997
],
"size": [
311.85528871597717,
60.94014246080269
],
"flags": {},
"order": 7,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"fill with fast inpaint model\ngood for removing objects"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 48,
"type": "INPAINT_MaskedFill",
"pos": [
110,
210
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 150
},
{
"name": "mask",
"type": "MASK",
"link": 151
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
146,
167
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_MaskedFill"
},
"widgets_values": [
"neutral",
11
]
},
{
"id": 34,
"type": "LoadImageMask",
"pos": [
-476,
534
],
"size": {
"0": 315,
"1": 318
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadImageMask"
},
"widgets_values": [
"mask.png",
"red",
"image"
]
},
{
"id": 33,
"type": "LoadImage",
"pos": [
-469,
71
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 9,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
133,
168
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
170
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"base.png",
"image"
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
-476,
1249
],
"size": [
421.96778938051466,
88.26173063346437
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 88
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
122
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"positive prompt"
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
35,
19,
1,
10,
0,
"CLIP"
],
[
43,
19,
2,
14,
1,
"VAE"
],
[
60,
19,
0,
36,
0,
"MODEL"
],
[
62,
35,
0,
36,
1,
"INPAINT_PATCH"
],
[
88,
19,
1,
9,
0,
"CLIP"
],
[
97,
40,
0,
14,
0,
"LATENT"
],
[
120,
36,
0,
40,
0,
"MODEL"
],
[
122,
9,
0,
44,
0,
"CONDITIONING"
],
[
123,
10,
0,
44,
1,
"CONDITIONING"
],
[
124,
44,
0,
40,
1,
"CONDITIONING"
],
[
125,
44,
1,
40,
2,
"CONDITIONING"
],
[
126,
44,
3,
40,
3,
"LATENT"
],
[
127,
44,
2,
36,
2,
"LATENT"
],
[
128,
19,
2,
44,
2,
"VAE"
],
[
133,
33,
0,
45,
0,
"IMAGE"
],
[
136,
46,
0,
43,
0,
"IMAGE"
],
[
137,
47,
0,
43,
1,
"MASK"
],
[
138,
47,
0,
44,
4,
"MASK"
],
[
140,
50,
0,
44,
3,
"IMAGE"
],
[
142,
51,
0,
50,
0,
"*"
],
[
143,
52,
0,
49,
0,
"INPAINT_MODEL"
],
[
144,
46,
0,
49,
1,
"IMAGE"
],
[
145,
47,
0,
49,
2,
"MASK"
],
[
146,
48,
0,
53,
0,
"IMAGE"
],
[
147,
43,
0,
54,
0,
"IMAGE"
],
[
148,
49,
0,
55,
0,
"IMAGE"
],
[
150,
46,
0,
48,
0,
"IMAGE"
],
[
151,
47,
0,
48,
1,
"MASK"
],
[
154,
46,
0,
61,
0,
"*"
],
[
155,
65,
0,
59,
0,
"IMAGE"
],
[
156,
14,
0,
65,
1,
"IMAGE"
],
[
159,
47,
0,
65,
2,
"MASK"
],
[
160,
46,
0,
65,
0,
"IMAGE"
],
[
167,
48,
0,
51,
0,
"*"
],
[
168,
33,
0,
46,
0,
"*"
],
[
170,
33,
1,
47,
0,
"*"
]
],
"groups": [
{
"title": "Input Image and Mask",
"bounding": [
-496,
-2,
452,
1072
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Preprocess",
"bounding": [
93,
-2,
623,
1087
],
"color": "#b06634",
"font_size": 24
},
{
"title": "Postprocess",
"bounding": [
891,
790,
335,
331
],
"color": "#8AA",
"font_size": 24
}
],
"config": {},
"extra": {},
"version": 0.4
}