Workflows / Outpainting-marduk191V1.0.json
marduk191's picture
07-13-2024 update
a620dbc
{
"last_node_id": 92,
"last_link_id": 229,
"nodes": [
{
"id": 67,
"type": "ImagePadForOutpaint",
"pos": [
371,
57
],
"size": {
"0": 238.84861755371094,
"1": 174
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 179
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
180,
189
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
181,
190,
193,
197
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ImagePadForOutpaint"
},
"widgets_values": [
128,
0,
128,
0,
40
]
},
{
"id": 68,
"type": "INPAINT_MaskedFill",
"pos": [
631,
64
],
"size": {
"0": 210,
"1": 102
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 180
},
{
"name": "mask",
"type": "MASK",
"link": 181
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
196
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_MaskedFill"
},
"widgets_values": [
"navier-stokes",
0
]
},
{
"id": 36,
"type": "INPAINT_ApplyFooocusInpaint",
"pos": [
1418,
62
],
"size": {
"0": 191.45639038085938,
"1": 66
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
},
{
"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": 40,
"type": "KSampler",
"pos": [
1634,
57
],
"size": {
"0": 315,
"1": 474
},
"flags": {},
"order": 20,
"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": [
344521794155022,
"randomize",
28,
6,
"dpmpp_2m_sde_gpu",
"karras",
1
]
},
{
"id": 10,
"type": "CLIPTextEncode",
"pos": [
20,
859
],
"size": {
"0": 390.6858215332031,
"1": 76
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
223
],
"shape": 3,
"slot_index": 0
}
],
"title": "Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 80,
"type": "SimpleText",
"pos": [
17,
987
],
"size": {
"0": 391.61968994140625,
"1": 76
},
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
203
],
"shape": 3,
"slot_index": 0
}
],
"title": "LVM Primer",
"properties": {
"Node name for S&R": "SimpleText"
},
"widgets_values": [
"Please describe this image in detail."
]
},
{
"id": 84,
"type": "PreviewImage",
"pos": [
949,
585
],
"size": {
"0": 1000.822265625,
"1": 694.3378295898438
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 209
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 86,
"type": "Anything Everywhere3",
"pos": [
428,
463
],
"size": {
"0": 210,
"1": 66
},
"flags": {
"collapsed": true
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "MODEL",
"type": "*",
"link": 211,
"color_on": "#B39DDB"
},
{
"name": "CLIP",
"type": "*",
"link": 212,
"color_on": "#FFD500"
},
{
"name": "VAE",
"type": "*",
"link": 213,
"color_on": "#FF6E6E"
}
],
"title": "models",
"properties": {
"Node name for S&R": "Anything Everywhere3",
"group_restricted": false,
"color_restricted": false
},
"widgets_values": []
},
{
"id": 90,
"type": "CLIPVisionLoader",
"pos": [
15,
1115
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
217
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"vit-g\\model.safetensors"
]
},
{
"id": 91,
"type": "Note",
"pos": [
387,
-71
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"set outpaint dimensions here\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 81,
"type": "LLava Loader Simple",
"pos": [
13,
672
],
"size": {
"0": 402.85113525390625,
"1": 130
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CUSTOM",
"link": 208,
"slot_index": 0
}
],
"outputs": [
{
"name": "model",
"type": "CUSTOM",
"links": [
204
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LLava Loader Simple"
},
"widgets_values": [
"llava-v1.5-7b-Q4_K.gguf",
2048,
27,
8
]
},
{
"id": 83,
"type": "LlavaClipLoader",
"pos": [
13,
566
],
"size": {
"0": 402.85113525390625,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "clip",
"type": "CUSTOM",
"links": [
208
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LlavaClipLoader"
},
"widgets_values": [
"llava-v1.5-7b-mmproj-Q4_0.gguf"
]
},
{
"id": 14,
"type": "VAEDecode",
"pos": [
1964,
87
],
"size": {
"0": 140,
"1": 49.74785232543945
},
"flags": {
"collapsed": true
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 97
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
156
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 65,
"type": "ImageCompositeMasked",
"pos": [
2117,
86
],
"size": {
"0": 240.56597900390625,
"1": 146
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 189
},
{
"name": "source",
"type": "IMAGE",
"link": 156
},
{
"name": "mask",
"type": "MASK",
"link": 190
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
209
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 44,
"type": "INPAINT_VAEEncodeInpaintConditioning",
"pos": [
1113,
64
],
"size": {
"0": 277.20001220703125,
"1": 106
},
"flags": {
"collapsed": false
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 224
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 223
},
{
"name": "vae",
"type": "VAE",
"link": null
},
{
"name": "pixels",
"type": "IMAGE",
"link": 198
},
{
"name": "mask",
"type": "MASK",
"link": 193
}
],
"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": 35,
"type": "INPAINT_LoadFooocusInpaint",
"pos": [
1113,
223
],
"size": {
"0": 276.6825256347656,
"1": 82
},
"flags": {},
"order": 5,
"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": 89,
"type": "CLIPVisionEncode",
"pos": [
848,
216
],
"size": {
"0": 253.60000610351562,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 217,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 222
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
216
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode"
}
},
{
"id": 73,
"type": "INPAINT_MaskedBlur",
"pos": [
850,
64
],
"size": {
"0": 210,
"1": 102
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 196
},
{
"name": "mask",
"type": "MASK",
"link": 197
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
198,
222
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "INPAINT_MaskedBlur"
},
"widgets_values": [
65,
0
]
},
{
"id": 88,
"type": "unCLIPConditioning",
"pos": [
845,
254
],
"size": {
"0": 262,
"1": 102
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 220
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"link": 216,
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
224
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "unCLIPConditioning"
},
"widgets_values": [
1,
0
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
741,
282
],
"size": {
"0": 326.6668701171875,
"1": 95.14787292480469
},
"flags": {
"collapsed": true
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
},
{
"name": "text",
"type": "STRING",
"link": 206,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
220
],
"shape": 3,
"slot_index": 0
}
],
"title": "Positive",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"POSITIVE PROMPT"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 92,
"type": "Note",
"pos": [
851,
407
],
"size": {
"0": 258.0538330078125,
"1": 61.844688415527344
},
"flags": {},
"order": 6,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Slower but more accurate in some cases with clip vision. Bypass \"unCLIPConditioning\" to turn it off."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 19,
"type": "CheckpointLoaderSimple",
"pos": [
10,
418
],
"size": {
"0": 406.4723205566406,
"1": 98
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
211
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
212
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
213
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"CopperfieldssonV2NL.safetensors"
]
},
{
"id": 33,
"type": "LoadImage",
"pos": [
16,
54
],
"size": {
"0": 300.6123046875,
"1": 314
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
179,
207
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00637_.png",
"image"
]
},
{
"id": 79,
"type": "LLavaSamplerAdvanced",
"pos": [
421,
271
],
"size": {
"0": 315,
"1": 314
},
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 207
},
{
"name": "model",
"type": "CUSTOM",
"link": 204,
"slot_index": 1
},
{
"name": "prompt",
"type": "STRING",
"link": 203,
"widget": {
"name": "prompt"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
206
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LLavaSamplerAdvanced"
},
"widgets_values": [
"You are an assistant who perfectly describes images.",
"",
255,
0.1,
0.95,
40,
0,
0,
1.1,
1585,
"randomize"
]
}
],
"links": [
[
62,
35,
0,
36,
1,
"INPAINT_PATCH"
],
[
97,
40,
0,
14,
0,
"LATENT"
],
[
120,
36,
0,
40,
0,
"MODEL"
],
[
124,
44,
0,
40,
1,
"CONDITIONING"
],
[
125,
44,
1,
40,
2,
"CONDITIONING"
],
[
126,
44,
3,
40,
3,
"LATENT"
],
[
127,
44,
2,
36,
2,
"LATENT"
],
[
156,
14,
0,
65,
1,
"IMAGE"
],
[
179,
33,
0,
67,
0,
"IMAGE"
],
[
180,
67,
0,
68,
0,
"IMAGE"
],
[
181,
67,
1,
68,
1,
"MASK"
],
[
189,
67,
0,
65,
0,
"IMAGE"
],
[
190,
67,
1,
65,
2,
"MASK"
],
[
193,
67,
1,
44,
4,
"MASK"
],
[
196,
68,
0,
73,
0,
"IMAGE"
],
[
197,
67,
1,
73,
1,
"MASK"
],
[
198,
73,
0,
44,
3,
"IMAGE"
],
[
203,
80,
0,
79,
2,
"STRING"
],
[
204,
81,
0,
79,
1,
"CUSTOM"
],
[
206,
79,
0,
9,
1,
"STRING"
],
[
207,
33,
0,
79,
0,
"IMAGE"
],
[
208,
83,
0,
81,
0,
"CUSTOM"
],
[
209,
65,
0,
84,
0,
"IMAGE"
],
[
211,
19,
0,
86,
0,
"MODEL"
],
[
212,
19,
1,
86,
1,
"CLIP"
],
[
213,
19,
2,
86,
2,
"VAE"
],
[
216,
89,
0,
88,
1,
"CLIP_VISION_OUTPUT"
],
[
217,
90,
0,
89,
0,
"CLIP_VISION"
],
[
220,
9,
0,
88,
0,
"CONDITIONING"
],
[
222,
73,
0,
89,
1,
"IMAGE"
],
[
223,
10,
0,
44,
1,
"CONDITIONING"
],
[
224,
88,
0,
44,
0,
"CONDITIONING"
],
[
225,
19,
0,
36,
0,
"MODEL"
],
[
226,
19,
1,
10,
0,
"CLIP"
],
[
227,
19,
2,
14,
1,
"VAE"
],
[
228,
19,
2,
44,
2,
"VAE"
],
[
229,
19,
1,
9,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"groupNodes": {},
"0246.VERSION": [
0,
0,
4
],
"ds": {
"scale": 1.2100000000000006,
"offset": [
-25.103235999660253,
-50.7475712903024
]
}
},
"version": 0.4
}