647 lines
12 KiB
JSON
647 lines
12 KiB
JSON
{
|
||
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
|
||
"revision": 0,
|
||
"last_node_id": 71,
|
||
"last_link_id": 130,
|
||
"nodes": [
|
||
{
|
||
"id": 39,
|
||
"type": "VAELoader",
|
||
"pos": [
|
||
20,
|
||
340
|
||
],
|
||
"size": [
|
||
330,
|
||
60
|
||
],
|
||
"flags": {},
|
||
"order": 0,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "VAE",
|
||
"type": "VAE",
|
||
"slot_index": 0,
|
||
"links": [
|
||
76
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "VAELoader"
|
||
},
|
||
"widgets_values": [
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"color": "#223",
|
||
"bgcolor": "#335"
|
||
},
|
||
{
|
||
"id": 8,
|
||
"type": "VAEDecode",
|
||
"pos": [
|
||
1210,
|
||
190
|
||
],
|
||
"size": [
|
||
210,
|
||
46
|
||
],
|
||
"flags": {},
|
||
"order": 13,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "samples",
|
||
"type": "LATENT",
|
||
"link": 128
|
||
},
|
||
{
|
||
"name": "vae",
|
||
"type": "VAE",
|
||
"link": 76
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"slot_index": 0,
|
||
"links": [
|
||
110
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "VAEDecode"
|
||
},
|
||
"widgets_values": []
|
||
},
|
||
{
|
||
"id": 60,
|
||
"type": "SaveImage",
|
||
"pos": [
|
||
1478.3486328125,
|
||
190.30274963378906
|
||
],
|
||
"size": [
|
||
821.0496215820312,
|
||
871.7067260742188
|
||
],
|
||
"flags": {},
|
||
"order": 14,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"link": 110
|
||
}
|
||
],
|
||
"outputs": [],
|
||
"properties": {},
|
||
"widgets_values": [
|
||
"ComfyUI"
|
||
]
|
||
},
|
||
{
|
||
"id": 58,
|
||
"type": "EmptySD3LatentImage",
|
||
"pos": [
|
||
410.6574401855469,
|
||
620.5468139648438
|
||
],
|
||
"size": [
|
||
270,
|
||
106
|
||
],
|
||
"flags": {},
|
||
"order": 1,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "LATENT",
|
||
"type": "LATENT",
|
||
"links": [
|
||
107
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "EmptySD3LatentImage"
|
||
},
|
||
"widgets_values": [
|
||
1328,
|
||
1328,
|
||
1
|
||
]
|
||
},
|
||
{
|
||
"id": 7,
|
||
"type": "CLIPTextEncode",
|
||
"pos": [
|
||
413,
|
||
389
|
||
],
|
||
"size": [
|
||
425.27801513671875,
|
||
180.6060791015625
|
||
],
|
||
"flags": {},
|
||
"order": 10,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "clip",
|
||
"type": "CLIP",
|
||
"link": 75
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "CONDITIONING",
|
||
"type": "CONDITIONING",
|
||
"slot_index": 0,
|
||
"links": [
|
||
52
|
||
]
|
||
}
|
||
],
|
||
"title": "CLIP Text Encode (Negative Prompt)",
|
||
"properties": {
|
||
"Node name for S&R": "CLIPTextEncode"
|
||
},
|
||
"widgets_values": [
|
||
" "
|
||
],
|
||
"color": "#322",
|
||
"bgcolor": "#533"
|
||
},
|
||
{
|
||
"id": 37,
|
||
"type": "UNETLoader",
|
||
"pos": [
|
||
20,
|
||
60
|
||
],
|
||
"size": [
|
||
346.7470703125,
|
||
82
|
||
],
|
||
"flags": {},
|
||
"order": 2,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "MODEL",
|
||
"type": "MODEL",
|
||
"slot_index": 0,
|
||
"links": [
|
||
129
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "UNETLoader"
|
||
},
|
||
"widgets_values": [
|
||
"qwen_image_fp8_e4m3fn.safetensors",
|
||
"default"
|
||
],
|
||
"color": "#223",
|
||
"bgcolor": "#335"
|
||
},
|
||
{
|
||
"id": 38,
|
||
"type": "CLIPLoader",
|
||
"pos": [
|
||
20,
|
||
190
|
||
],
|
||
"size": [
|
||
380,
|
||
106
|
||
],
|
||
"flags": {},
|
||
"order": 3,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "CLIP",
|
||
"type": "CLIP",
|
||
"slot_index": 0,
|
||
"links": [
|
||
74,
|
||
75
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "CLIPLoader"
|
||
},
|
||
"widgets_values": [
|
||
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
|
||
"qwen_image",
|
||
"default"
|
||
],
|
||
"color": "#223",
|
||
"bgcolor": "#335"
|
||
},
|
||
{
|
||
"id": 68,
|
||
"type": "Note",
|
||
"pos": [
|
||
49.01316523854692,
|
||
-254.0775188524332
|
||
],
|
||
"size": [
|
||
261.87744140625,
|
||
102.99000549316406
|
||
],
|
||
"flags": {},
|
||
"order": 4,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [],
|
||
"properties": {},
|
||
"widgets_values": [
|
||
"Increase the shift if you get too many blury/dark/bad images. Decrease if you want to try increasing detail."
|
||
],
|
||
"color": "#432",
|
||
"bgcolor": "#653"
|
||
},
|
||
{
|
||
"id": 66,
|
||
"type": "ModelSamplingAuraFlow",
|
||
"pos": [
|
||
857.8867019101921,
|
||
59.59634803754448
|
||
],
|
||
"size": [
|
||
270,
|
||
58
|
||
],
|
||
"flags": {},
|
||
"order": 11,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"link": 130
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "MODEL",
|
||
"type": "MODEL",
|
||
"links": [
|
||
125
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ModelSamplingAuraFlow"
|
||
},
|
||
"widgets_values": [
|
||
3.1000000000000005
|
||
]
|
||
},
|
||
{
|
||
"id": 6,
|
||
"type": "CLIPTextEncode",
|
||
"pos": [
|
||
409.126684194022,
|
||
175.09245122550925
|
||
],
|
||
"size": [
|
||
422.84503173828125,
|
||
164.31304931640625
|
||
],
|
||
"flags": {},
|
||
"order": 9,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "clip",
|
||
"type": "CLIP",
|
||
"link": 74
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "CONDITIONING",
|
||
"type": "CONDITIONING",
|
||
"slot_index": 0,
|
||
"links": [
|
||
46
|
||
]
|
||
}
|
||
],
|
||
"title": "CLIP Text Encode (Positive Prompt)",
|
||
"properties": {
|
||
"Node name for S&R": "CLIPTextEncode"
|
||
},
|
||
"widgets_values": [
|
||
"cute anime girl with massive fennec ears and a big fluffy fox tail with long wavy blonde hair between eyes and large blue eyes blonde colored eyelashes chubby wearing oversized clothes summer uniform long blue maxi skirt muddy clothes happy sitting on the side of the road in a run down dark gritty cyberpunk city with neon and a crumbling skyscraper in the rain at night while dipping her feet in a river of water she is holding a sign that says \"MagCache is good!\" written in cursive"
|
||
],
|
||
"color": "#232",
|
||
"bgcolor": "#353"
|
||
},
|
||
{
|
||
"id": 67,
|
||
"type": "Note",
|
||
"pos": [
|
||
870.09619140625,
|
||
495.96044921875
|
||
],
|
||
"size": [
|
||
307.4002380371094,
|
||
127.38092803955078
|
||
],
|
||
"flags": {},
|
||
"order": 5,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [],
|
||
"properties": {},
|
||
"widgets_values": [
|
||
"Set cfg to 1.0 for a speed boost at the cost of consistency. Samplers like res_multistep work pretty well at cfg 1.0\n\nThe official number of steps is 50 but I think that's too much. Even just 10 steps seems to work."
|
||
],
|
||
"color": "#432",
|
||
"bgcolor": "#653"
|
||
},
|
||
{
|
||
"id": 3,
|
||
"type": "KSampler",
|
||
"pos": [
|
||
863,
|
||
187
|
||
],
|
||
"size": [
|
||
315,
|
||
262
|
||
],
|
||
"flags": {},
|
||
"order": 12,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"link": 125
|
||
},
|
||
{
|
||
"name": "positive",
|
||
"type": "CONDITIONING",
|
||
"link": 46
|
||
},
|
||
{
|
||
"name": "negative",
|
||
"type": "CONDITIONING",
|
||
"link": 52
|
||
},
|
||
{
|
||
"name": "latent_image",
|
||
"type": "LATENT",
|
||
"link": 107
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "LATENT",
|
||
"type": "LATENT",
|
||
"slot_index": 0,
|
||
"links": [
|
||
128
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "KSampler"
|
||
},
|
||
"widgets_values": [
|
||
1091359629774730,
|
||
"fixed",
|
||
40,
|
||
2.5,
|
||
"euler",
|
||
"simple",
|
||
1
|
||
]
|
||
},
|
||
{
|
||
"id": 71,
|
||
"type": "MagCacheCalibration",
|
||
"pos": [
|
||
1331.2361148589732,
|
||
-193.01472288273123
|
||
],
|
||
"size": [
|
||
270,
|
||
58
|
||
],
|
||
"flags": {},
|
||
"order": 6,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"link": null
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "MagCacheCalibration"
|
||
},
|
||
"widgets_values": [
|
||
"chroma_calibration"
|
||
]
|
||
},
|
||
{
|
||
"id": 70,
|
||
"type": "Note",
|
||
"pos": [
|
||
823.391205413113,
|
||
-245.30221307372062
|
||
],
|
||
"size": [
|
||
440.2949347081892,
|
||
230.12302776923923
|
||
],
|
||
"flags": {},
|
||
"order": 7,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [],
|
||
"title": "Note for MagCache",
|
||
"properties": {},
|
||
"widgets_values": [
|
||
"We calibrate the MagCache using the MagCache Calibration node with 40 euler sampling steps. The calibrated mag_ratios can also be utilized with a different inference steps, such as 20 steps. You can also recalibrate the mag_ratios in node.py with the right MagCache Calibration node.\n\nThe following config achieves 1.3x speedup without degrading visual quality.\nmagcache_thresh: 0.06\nmagcache_K: 2\nretention_ratio: 0.20\n\nFor a faster generateing, please utilize the following hyper-parameters, achieving a 1.5x speedup with a balance between quality and speed. \nmagcache_thresh: 0.10\nmagcache_K: 2\nretention_ratio: 0.20\n\n\nThe following hyper-parameters achieve a 1.75x speedup, which may fail in some cases requiring fine-grained details or texts:\nmagcache_thresh: 0.15\nmagcache_K: 2\nretention_ratio: 0.20\n\n\n\n\n"
|
||
],
|
||
"color": "#432",
|
||
"bgcolor": "#653"
|
||
},
|
||
{
|
||
"id": 69,
|
||
"type": "MagCache",
|
||
"pos": [
|
||
481.1452768047869,
|
||
-72.97809343596735
|
||
],
|
||
"size": [
|
||
270,
|
||
178
|
||
],
|
||
"flags": {},
|
||
"order": 8,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"link": 129
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "model",
|
||
"type": "MODEL",
|
||
"links": [
|
||
130
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "MagCache"
|
||
},
|
||
"widgets_values": [
|
||
"qwen_image",
|
||
0.1,
|
||
0.2,
|
||
2,
|
||
0,
|
||
-1
|
||
]
|
||
}
|
||
],
|
||
"links": [
|
||
[
|
||
46,
|
||
6,
|
||
0,
|
||
3,
|
||
1,
|
||
"CONDITIONING"
|
||
],
|
||
[
|
||
52,
|
||
7,
|
||
0,
|
||
3,
|
||
2,
|
||
"CONDITIONING"
|
||
],
|
||
[
|
||
74,
|
||
38,
|
||
0,
|
||
6,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
[
|
||
75,
|
||
38,
|
||
0,
|
||
7,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
[
|
||
76,
|
||
39,
|
||
0,
|
||
8,
|
||
1,
|
||
"VAE"
|
||
],
|
||
[
|
||
107,
|
||
58,
|
||
0,
|
||
3,
|
||
3,
|
||
"LATENT"
|
||
],
|
||
[
|
||
110,
|
||
8,
|
||
0,
|
||
60,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
125,
|
||
66,
|
||
0,
|
||
3,
|
||
0,
|
||
"MODEL"
|
||
],
|
||
[
|
||
128,
|
||
3,
|
||
0,
|
||
8,
|
||
0,
|
||
"LATENT"
|
||
],
|
||
[
|
||
129,
|
||
37,
|
||
0,
|
||
69,
|
||
0,
|
||
"MODEL"
|
||
],
|
||
[
|
||
130,
|
||
69,
|
||
0,
|
||
66,
|
||
0,
|
||
"MODEL"
|
||
]
|
||
],
|
||
"groups": [],
|
||
"config": {},
|
||
"extra": {
|
||
"ds": {
|
||
"scale": 0.5209868481924411,
|
||
"offset": [
|
||
383.62385339052787,
|
||
368.92362808368256
|
||
]
|
||
},
|
||
"frontendVersion": "1.28.9",
|
||
"VHS_latentpreview": false,
|
||
"VHS_latentpreviewrate": 0,
|
||
"VHS_MetadataImage": true,
|
||
"VHS_KeepIntermediate": true
|
||
},
|
||
"version": 0.4
|
||
} |