Files
infinigence-ComfyUI_Model_C…/test/test_apply_fooocus.json
T
Zhao Yingzhuo ec199c2a4f [feat]: update Readme, refactor code and add AutoModel hijack (#1)
* [doc]: fix readme

* [feat]: support torch.nn.Module cache and add test wf

* [refactor]: optimize directory structure
2025-03-21 18:19:23 +08:00

522 lines
8.4 KiB
JSON

{
"last_node_id": 378,
"last_link_id": 137,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [
3666.205322265625,
-664.9154052734375
],
"size": [
315,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
130
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
85
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
68,
74
]
}
],
"title": "Checkpoint加载器(简易)",
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sdxl/LEOSAM AIArt 兔狲插画 SDXL大模型_v1.safetensors"
]
},
{
"id": 131,
"type": "LoadImage",
"pos": [
4205.1982421875,
-288.0040588378906
],
"size": [
315,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
127
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
129
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"1-watch.jpeg",
"image"
]
},
{
"id": 296,
"type": "INPAINT_VAEEncodeInpaintConditioning",
"pos": [
4774.0859375,
-594.1358032226562
],
"size": [
415.8000183105469,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 136
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 137
},
{
"name": "vae",
"type": "VAE",
"link": 68
},
{
"name": "pixels",
"type": "IMAGE",
"link": 127
},
{
"name": "mask",
"type": "MASK",
"link": 129
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
80
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
81
]
},
{
"name": "latent_inpaint",
"type": "LATENT",
"links": [
113
],
"slot_index": 2
},
{
"name": "latent_samples",
"type": "LATENT",
"links": [
125
]
}
],
"title": "VAE编码局部重绘条件",
"properties": {
"Node name for S&R": "INPAINT_VAEEncodeInpaintConditioning"
},
"widgets_values": []
},
{
"id": 302,
"type": "VAEDecode",
"pos": [
6053.39697265625,
-312.6009216308594
],
"size": [
210,
46
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 73
},
{
"name": "vae",
"type": "VAE",
"link": 74
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
131
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 310,
"type": "KSampler",
"pos": [
5652.11767578125,
-445.38739013671875
],
"size": [
315,
262
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 124
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 80
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 81
},
{
"name": "latent_image",
"type": "LATENT",
"link": 125
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
73
]
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
305966591281514,
"randomize",
20,
1,
"euler",
"normal",
1
]
},
{
"id": 314,
"type": "CLIPTextEncode",
"pos": [
4157.634765625,
-587.5955200195312
],
"size": [
400,
200
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 85
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
136,
137
],
"slot_index": 0
}
],
"title": "CLIP文本编码器",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"test",
[
false,
true
]
]
},
{
"id": 367,
"type": "easy applyFooocusInpaint",
"pos": [
5310.4697265625,
-624.2901000976562
],
"size": [
327.5999755859375,
102
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 130
},
{
"name": "latent",
"type": "LATENT",
"link": 113
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
124
]
}
],
"title": "应用Fooocus局部重绘",
"properties": {
"Node name for S&R": "easy applyFooocusInpaint"
},
"widgets_values": [
"fooocus_inpaint_head",
"inpaint_v25 (2.58GB)"
]
},
{
"id": 370,
"type": "PreviewImage",
"pos": [
6319.49853515625,
-312.55975341796875
],
"size": [
210,
246
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 131
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
}
],
"links": [
[
68,
1,
2,
296,
2,
"VAE"
],
[
73,
310,
0,
302,
0,
"LATENT"
],
[
74,
1,
2,
302,
1,
"VAE"
],
[
80,
296,
0,
310,
1,
"CONDITIONING"
],
[
81,
296,
1,
310,
2,
"CONDITIONING"
],
[
85,
1,
1,
314,
0,
"CLIP"
],
[
113,
296,
2,
367,
1,
"LATENT"
],
[
124,
367,
0,
310,
0,
"MODEL"
],
[
125,
296,
3,
310,
3,
"LATENT"
],
[
127,
131,
0,
296,
3,
"IMAGE"
],
[
129,
131,
1,
296,
4,
"MASK"
],
[
130,
1,
0,
367,
0,
"MODEL"
],
[
131,
302,
0,
370,
0,
"IMAGE"
],
[
136,
314,
0,
296,
0,
"CONDITIONING"
],
[
137,
314,
0,
296,
1,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.672749994932563,
"offset": [
-3563.7964746082107,
1103.680551891574
]
},
"ue_links": []
},
"version": 0.4
}