Files
Zehong-Ma-ComfyUI-MagCache/examples/wan2.1_vace.json
T
2025-06-17 17:04:47 +08:00

793 lines
13 KiB
JSON

{
"id": "0898f6a6-2814-4ccd-968a-a2405ee177e7",
"revision": 0,
"last_node_id": 59,
"last_link_id": 126,
"nodes": [
{
"id": 39,
"type": "VAELoader",
"pos": [
866.3932495117188,
499.18597412109375
],
"size": [
306.36004638671875,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
76,
114
]
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"wan_2.1_vae.safetensors"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
413,
389
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
113
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 56,
"type": "TrimVideoLatent",
"pos": [
1265.2001953125,
613.80859375
],
"size": [
270,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 119
},
{
"name": "trim_amount",
"type": "INT",
"widget": {
"name": "trim_amount"
},
"link": 121
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
120
]
}
],
"properties": {
"Node name for S&R": "TrimVideoLatent"
},
"widgets_values": [
0
]
},
{
"id": 58,
"type": "Note",
"pos": [
2509.27587890625,
189.5493621826172
],
"size": [
263.95501708984375,
155.10342407226562
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"crf 0 means a lossless webm, if you want a lossy once with smaller filesize increase the crf."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
20,
190
],
"size": [
390,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1233.9755859375,
189.187255859375
],
"size": [
210,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 120
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
56,
93
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 52,
"type": "LoadImage",
"pos": [
42.347843170166016,
371.47021484375
],
"size": [
315,
314.0000305175781
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
118
]
},
{
"name": "MASK",
"type": "MASK",
"slot_index": 1,
"links": []
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"fennec_girl_sing.png",
"image"
]
},
{
"id": 37,
"type": "UNETLoader",
"pos": [
20,
70
],
"size": [
346.7470703125,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
125
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"wan2.1_vace_1.3B_fp16.safetensors",
"default"
]
},
{
"id": 54,
"type": "ModelSamplingSD3",
"pos": [
510,
70
],
"size": [
315,
58
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 126
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
111
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
8
]
},
{
"id": 28,
"type": "SaveAnimatedWEBP",
"pos": [
1600,
190
],
"size": [
364.4535217285156,
510.4535217285156
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 56
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI",
16,
false,
100,
"default"
]
},
{
"id": 47,
"type": "SaveWEBM",
"pos": [
2060,
190
],
"size": [
429.0989685058594,
551.0989990234375
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 93
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveWEBM"
},
"widgets_values": [
"ComfyUI",
"vp9",
16.000000000000004,
0
]
},
{
"id": 55,
"type": "WanVaceToVideo",
"pos": [
698.0429077148438,
632.2788696289062
],
"size": [
270,
254
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 112
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 113
},
{
"name": "vae",
"type": "VAE",
"link": 114
},
{
"name": "control_video",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "control_masks",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "reference_image",
"shape": 7,
"type": "IMAGE",
"link": 118
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
115
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
116
]
},
{
"name": "latent",
"type": "LATENT",
"links": [
117
]
},
{
"name": "trim_latent",
"type": "INT",
"links": [
121
]
}
],
"properties": {
"Node name for S&R": "WanVaceToVideo"
},
"widgets_values": [
768,
768,
81,
1,
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
415,
186
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 74
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
112
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"一个可爱的动漫女孩,有着巨大的耳廓耳朵和蓬松的大尾巴,像偶像一样在舞台上转身跳舞唱歌"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 3,
"type": "KSampler",
"pos": [
863,
187
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 111
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 115
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 116
},
{
"name": "latent_image",
"type": "LATENT",
"link": 117
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
119
]
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1059842572236826,
"fixed",
20,
6,
"uni_pc",
"simple",
1
]
},
{
"id": 59,
"type": "MagCache",
"pos": [
286.4810791015625,
-121.06107330322266
],
"size": [
270,
130
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 125
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
126
]
}
],
"properties": {
"Node name for S&R": "MagCache"
},
"widgets_values": [
"wan2.1_vace_1.3B",
0.020000000000000004,
0.20000000000000004,
3
]
}
],
"links": [
[
56,
8,
0,
28,
0,
"IMAGE"
],
[
74,
38,
0,
6,
0,
"CLIP"
],
[
75,
38,
0,
7,
0,
"CLIP"
],
[
76,
39,
0,
8,
1,
"VAE"
],
[
93,
8,
0,
47,
0,
"IMAGE"
],
[
111,
54,
0,
3,
0,
"MODEL"
],
[
112,
6,
0,
55,
0,
"CONDITIONING"
],
[
113,
7,
0,
55,
1,
"CONDITIONING"
],
[
114,
39,
0,
55,
2,
"VAE"
],
[
115,
55,
0,
3,
1,
"CONDITIONING"
],
[
116,
55,
1,
3,
2,
"CONDITIONING"
],
[
117,
55,
2,
3,
3,
"LATENT"
],
[
118,
52,
0,
55,
5,
"IMAGE"
],
[
119,
3,
0,
56,
0,
"LATENT"
],
[
120,
56,
0,
8,
0,
"LATENT"
],
[
121,
55,
3,
56,
1,
"INT"
],
[
125,
37,
0,
59,
0,
"MODEL"
],
[
126,
59,
0,
54,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6391798706523311,
"offset": [
172.62996174025605,
205.36152244823464
]
},
"frontendVersion": "1.21.7",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}