Files
Gin3601-LLS-node/LLS-universal-inpaint-workflow.json
T
2026-05-22 18:16:00 +08:00

670 lines
11 KiB
JSON

{
"id": "dcac7a27-30f1-4cd1-a4a4-5b994457b3a3",
"revision": 0,
"last_node_id": 26,
"last_link_id": 20,
"nodes": [
{
"id": 20,
"type": "LoadImage",
"pos": [
80,
180
],
"size": [
340,
520
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"label": "IMAGE",
"slot_index": 0,
"links": [
1
]
},
{
"name": "MASK",
"type": "MASK",
"label": "MASK",
"slot_index": 1,
"links": [
2
]
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image",
""
]
},
{
"id": 21,
"type": "LLSUniversalModelLoader",
"pos": [
460,
80
],
"size": [
360,
260
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "MODEL",
"slot_index": 0,
"links": [
3
]
},
{
"name": "text_encoder",
"type": "CLIP",
"slot_index": 1,
"links": [
4
]
},
{
"name": "vae",
"type": "VAE",
"slot_index": 2,
"links": [
5,
6
]
},
{
"name": "model_info",
"type": "STRING",
"slot_index": 3,
"links": [
7,
8,
9
]
}
],
"properties": {
"Node name for S&R": "LLSUniversalModelLoader"
},
"widgets_values": [
"diffusion_models/flux1-fill-dev.safetensors",
"Auto",
"simple",
"auto",
"auto",
"(auto)",
"(auto)",
"(auto)"
]
},
{
"id": 22,
"type": "LLSUniversalPromptEncode",
"pos": [
880,
80
],
"size": [
360,
190
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "text_encoder",
"type": "CLIP",
"link": 4,
"label": "text_encoder"
},
{
"name": "model_info",
"type": "STRING",
"link": 7,
"label": "model_info"
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
10
]
},
{
"name": "negative",
"type": "CONDITIONING",
"slot_index": 1,
"links": [
11
]
},
{
"name": "prompt_info",
"type": "STRING",
"slot_index": 2,
"links": [
12
]
}
],
"properties": {
"Node name for S&R": "LLSUniversalPromptEncode"
},
"widgets_values": [
"a small brown dog sitting in the masked area",
"",
-1
]
},
{
"id": 23,
"type": "LLSNativeInpaintConditioning",
"pos": [
880,
300
],
"size": [
400,
230
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3,
"label": "model"
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 10,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 11,
"label": "negative"
},
{
"name": "vae",
"type": "VAE",
"link": 5,
"label": "vae"
},
{
"name": "image",
"type": "IMAGE",
"link": 1,
"label": "image"
},
{
"name": "mask",
"type": "MASK",
"link": 2,
"label": "mask"
},
{
"name": "model_info",
"type": "STRING",
"link": 8,
"label": "model_info"
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"slot_index": 0,
"links": [
13
]
},
{
"name": "positive",
"type": "CONDITIONING",
"slot_index": 1,
"links": [
14
]
},
{
"name": "negative",
"type": "CONDITIONING",
"slot_index": 2,
"links": [
15
]
},
{
"name": "latent",
"type": "LATENT",
"slot_index": 3,
"links": [
16
]
},
{
"name": "inpaint_info",
"type": "STRING",
"slot_index": 4,
"links": null
}
],
"properties": {
"Node name for S&R": "LLSNativeInpaintConditioning"
},
"widgets_values": [
"auto",
1.0,
true
]
},
{
"id": 24,
"type": "LLSSimpleKSampler",
"pos": [
1330,
220
],
"size": [
380,
320
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 13,
"label": "model"
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 14,
"label": "positive"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 15,
"label": "negative"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 16,
"label": "latent_image"
},
{
"name": "repair_info",
"type": "LLS_REPAIR_INFO",
"link": null,
"label": "repair_info"
},
{
"name": "guidance_stack",
"type": "LLS_GUIDANCE_STACK",
"link": null,
"label": "guidance_stack"
},
{
"name": "model_info",
"type": "STRING",
"link": 9,
"label": "model_info"
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"slot_index": 0,
"links": [
17
]
},
{
"name": "sample_info",
"type": "STRING",
"slot_index": 1,
"links": [
18
]
}
],
"properties": {
"Node name for S&R": "LLSSimpleKSampler"
},
"widgets_values": [
"Family Default",
-1,
"randomize",
20,
7.0,
"euler",
"normal",
1.0,
"manual",
"auto",
3.5,
"Auto"
]
},
{
"id": 25,
"type": "LLSSimpleVAEDecode",
"pos": [
1750,
240
],
"size": [
270,
80
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 17,
"label": "samples"
},
{
"name": "vae",
"type": "VAE",
"link": 6,
"label": "vae"
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"slot_index": 0,
"links": [
19
]
},
{
"name": "decode_info",
"type": "STRING",
"slot_index": 1,
"links": [
20
]
}
],
"properties": {
"Node name for S&R": "LLSSimpleVAEDecode"
},
"widgets_values": []
},
{
"id": 26,
"type": "LLSSaveImage",
"pos": [
2060,
180
],
"size": [
320,
220
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 19,
"label": "image"
},
{
"name": "prompt_info",
"type": "STRING",
"link": 12,
"label": "prompt_info"
},
{
"name": "latent_info",
"type": "STRING",
"link": null,
"label": "latent_info"
},
{
"name": "sample_info",
"type": "STRING",
"link": 18,
"label": "sample_info"
},
{
"name": "decode_info",
"type": "STRING",
"link": 20,
"label": "decode_info"
},
{
"name": "upscale_info",
"type": "STRING",
"link": null,
"label": "upscale_info"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "LLSSaveImage"
},
"widgets_values": [
"LLS-Inpaint",
"preview_only",
true
]
}
],
"links": [
[
1,
20,
0,
23,
4,
"IMAGE"
],
[
2,
20,
1,
23,
5,
"MASK"
],
[
3,
21,
0,
23,
0,
"MODEL"
],
[
4,
21,
1,
22,
0,
"CLIP"
],
[
5,
21,
2,
23,
3,
"VAE"
],
[
6,
21,
2,
25,
1,
"VAE"
],
[
7,
21,
3,
22,
1,
"STRING"
],
[
8,
21,
3,
23,
6,
"STRING"
],
[
9,
21,
3,
24,
6,
"STRING"
],
[
10,
22,
0,
23,
1,
"CONDITIONING"
],
[
11,
22,
1,
23,
2,
"CONDITIONING"
],
[
12,
22,
2,
26,
1,
"STRING"
],
[
13,
23,
0,
24,
0,
"MODEL"
],
[
14,
23,
1,
24,
1,
"CONDITIONING"
],
[
15,
23,
2,
24,
2,
"CONDITIONING"
],
[
16,
23,
3,
24,
3,
"LATENT"
],
[
17,
24,
0,
25,
0,
"LATENT"
],
[
18,
24,
1,
26,
3,
"STRING"
],
[
19,
25,
0,
26,
0,
"IMAGE"
],
[
20,
25,
1,
26,
4,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0,
"offset": [
0.0,
0.0
]
}
},
"version": 0.4
}