Files
cmeka-ComfyUI-WanMoEScheduler/examples/wanvideowrapper_T2V.json
T
2025-10-23 18:14:07 -04:00

1146 lines
22 KiB
JSON

{
"id": "ec7da562-7e21-4dac-a0d2-f4441e1efd3b",
"revision": 0,
"last_node_id": 78,
"last_link_id": 164,
"nodes": [
{
"id": 47,
"type": "SaveWEBM",
"pos": [
3336.1623848225095,
-52.60769440035684
],
"size": [
763.67041015625,
885.67041015625
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 162
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.65",
"Node name for S&R": "SaveWEBM",
"widget_ue_connectable": {}
},
"widgets_values": [
"ComfyUI",
"vp9",
16.000000000000004,
13.3333740234375
]
},
{
"id": 28,
"type": "SaveAnimatedWEBP",
"pos": [
2626.162384822507,
-52.60769440035684
],
"size": [
674.6224975585938,
820.6224975585938
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 153
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.65",
"Node name for S&R": "SaveAnimatedWEBP",
"widget_ue_connectable": {}
},
"widgets_values": [
"ComfyUI",
16,
false,
80,
"default"
]
},
{
"id": 66,
"type": "WanVideoModelLoader",
"pos": [
1885.780047076623,
-468.71214684122936
],
"size": [
271.083984375,
318
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": null
},
{
"name": "block_swap_args",
"shape": 7,
"type": "BLOCKSWAPARGS",
"link": null
},
{
"name": "lora",
"shape": 7,
"type": "WANVIDLORA",
"link": null
},
{
"name": "vram_management_args",
"shape": 7,
"type": "VRAM_MANAGEMENTARGS",
"link": null
},
{
"name": "extra_model",
"shape": 7,
"type": "VACEPATH",
"link": null
},
{
"name": "fantasytalking_model",
"shape": 7,
"type": "FANTASYTALKINGMODEL",
"link": null
},
{
"name": "multitalk_model",
"shape": 7,
"type": "MULTITALKMODEL",
"link": null
},
{
"name": "fantasyportrait_model",
"shape": 7,
"type": "FANTASYPORTRAITMODEL",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"links": [
148
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoModelLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan2.2-T2V-A14B-LowNoise-Q5_K_M.gguf",
"bf16",
"disabled",
"offload_device",
"sdpa",
"default"
]
},
{
"id": 65,
"type": "WanVideoModelLoader",
"pos": [
1479.0745527363074,
-461.9652601839867
],
"size": [
271.083984375,
318
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": null
},
{
"name": "block_swap_args",
"shape": 7,
"type": "BLOCKSWAPARGS",
"link": null
},
{
"name": "lora",
"shape": 7,
"type": "WANVIDLORA",
"link": null
},
{
"name": "vram_management_args",
"shape": 7,
"type": "VRAM_MANAGEMENTARGS",
"link": null
},
{
"name": "extra_model",
"shape": 7,
"type": "VACEPATH",
"link": null
},
{
"name": "fantasytalking_model",
"shape": 7,
"type": "FANTASYTALKINGMODEL",
"link": null
},
{
"name": "multitalk_model",
"shape": 7,
"type": "MULTITALKMODEL",
"link": null
},
{
"name": "fantasyportrait_model",
"shape": 7,
"type": "FANTASYPORTRAITMODEL",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"links": [
147
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoModelLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan2.2-T2V-A14B-HighNoise-Q5_K_M.gguf",
"bf16",
"disabled",
"offload_device",
"sdpa",
"default"
]
},
{
"id": 68,
"type": "WanVideoTextEncode",
"pos": [
850.5529057846418,
-273.98016388729394
],
"size": [
440.2943609464837,
353.98765259619574
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "t5",
"shape": 7,
"type": "WANTEXTENCODER",
"link": 146
},
{
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": null
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"links": [
154,
155
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"a robot is running through a futuristic cyberpunk city with neon signs and darkness with bright HDR lights",
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
true,
false,
"gpu"
]
},
{
"id": 70,
"type": "WanVideoVAELoader",
"pos": [
363.3388424747562,
44.52486702138197
],
"size": [
270,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": null
}
],
"outputs": [
{
"name": "vae",
"type": "WANVAE",
"links": [
151
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoVAELoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"wan_2.1_vae.safetensors",
"bf16"
]
},
{
"id": 73,
"type": "WanVideoEmptyEmbeds",
"pos": [
1012.6512479094415,
140.9675044290954
],
"size": [
272.431640625,
126
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "control_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": null
},
{
"name": "extra_latents",
"shape": 7,
"type": "LATENT",
"link": null
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [
149,
159
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoEmptyEmbeds",
"widget_ue_connectable": {}
},
"widgets_values": [
1280,
704,
81
]
},
{
"id": 74,
"type": "UNETLoader",
"pos": [
365.3640990455814,
185.45057987658979
],
"size": [
430,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
161
]
}
],
"title": "Load Diffusion Model (Fast, doesn't use VRAM)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.65",
"Node name for S&R": "UNETLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"wan2.2_t2v_high_noise_14B_fp8_scaled.safetensors",
"default"
]
},
{
"id": 69,
"type": "LoadWanVideoT5TextEncoder",
"pos": [
358.8616912584806,
-151.5743562515051
],
"size": [
317.0298828125,
130
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_t5_model",
"type": "WANTEXTENCODER",
"links": [
146
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "LoadWanVideoT5TextEncoder",
"widget_ue_connectable": {}
},
"widgets_values": [
"umt5-xxl-enc-bf16.safetensors",
"bf16",
"offload_device",
"disabled"
]
},
{
"id": 75,
"type": "WanVideoDecode",
"pos": [
2280.3432366312973,
-50.954808311261374
],
"size": [
270,
198
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 151
},
{
"name": "samples",
"type": "LATENT",
"link": 152
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
153,
162
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoDecode",
"widget_ue_connectable": {}
},
"widgets_values": [
false,
272,
272,
144,
128,
"default"
]
},
{
"id": 77,
"type": "Note",
"pos": [
1481.2264715186748,
703.1413511615298
],
"size": [
270,
88
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"The sigmas input will override the \"steps\", \"shift\", and \"scheduler\" inputs.\n\nLeave start_step at 0 and end_step at -1."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 78,
"type": "PrimitiveNode",
"pos": [
1017.3415595988378,
682.2268719879077
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "COMBO",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"links": [
163,
164
]
}
],
"title": "WanVideo Scheduler",
"properties": {
"Run widget replace on values": false,
"widget_ue_connectable": {}
},
"widgets_values": [
"dpm++_sde",
"fixed",
""
]
},
{
"id": 71,
"type": "WanVideoSampler",
"pos": [
1473.9710167410956,
-48.032308596430624
],
"size": [
327.80859375,
690
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 147
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 149
},
{
"name": "text_embeds",
"shape": 7,
"type": "WANVIDEOTEXTEMBEDS",
"link": 154
},
{
"name": "samples",
"shape": 7,
"type": "LATENT",
"link": null
},
{
"name": "feta_args",
"shape": 7,
"type": "FETAARGS",
"link": null
},
{
"name": "context_options",
"shape": 7,
"type": "WANVIDCONTEXT",
"link": null
},
{
"name": "cache_args",
"shape": 7,
"type": "CACHEARGS",
"link": null
},
{
"name": "flowedit_args",
"shape": 7,
"type": "FLOWEDITARGS",
"link": null
},
{
"name": "slg_args",
"shape": 7,
"type": "SLGARGS",
"link": null
},
{
"name": "loop_args",
"shape": 7,
"type": "LOOPARGS",
"link": null
},
{
"name": "experimental_args",
"shape": 7,
"type": "EXPERIMENTALARGS",
"link": null
},
{
"name": "sigmas",
"shape": 7,
"type": "SIGMAS",
"link": 156
},
{
"name": "unianimate_poses",
"shape": 7,
"type": "UNIANIMATE_POSE",
"link": null
},
{
"name": "fantasytalking_embeds",
"shape": 7,
"type": "FANTASYTALKING_EMBEDS",
"link": null
},
{
"name": "uni3c_embeds",
"shape": 7,
"type": "UNI3C_EMBEDS",
"link": null
},
{
"name": "multitalk_embeds",
"shape": 7,
"type": "MULTITALK_EMBEDS",
"link": null
},
{
"name": "freeinit_args",
"shape": 7,
"type": "FREEINITARGS",
"link": null
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": 163
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
158
]
},
{
"name": "denoised_samples",
"type": "LATENT",
"links": null
}
],
"title": "WanVideo Sampler (HIGH)",
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoSampler",
"widget_ue_connectable": {}
},
"widgets_values": [
1,
3.5,
1,
1077236530292362,
"randomize",
true,
"dpm++_sde",
0,
1,
false,
"comfy",
0,
-1,
false
]
},
{
"id": 72,
"type": "WanVideoSampler",
"pos": [
1881.1948641714418,
-48.96323043841849
],
"size": [
327.80859375,
690
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 148
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 159
},
{
"name": "text_embeds",
"shape": 7,
"type": "WANVIDEOTEXTEMBEDS",
"link": 155
},
{
"name": "samples",
"shape": 7,
"type": "LATENT",
"link": 158
},
{
"name": "feta_args",
"shape": 7,
"type": "FETAARGS",
"link": null
},
{
"name": "context_options",
"shape": 7,
"type": "WANVIDCONTEXT",
"link": null
},
{
"name": "cache_args",
"shape": 7,
"type": "CACHEARGS",
"link": null
},
{
"name": "flowedit_args",
"shape": 7,
"type": "FLOWEDITARGS",
"link": null
},
{
"name": "slg_args",
"shape": 7,
"type": "SLGARGS",
"link": null
},
{
"name": "loop_args",
"shape": 7,
"type": "LOOPARGS",
"link": null
},
{
"name": "experimental_args",
"shape": 7,
"type": "EXPERIMENTALARGS",
"link": null
},
{
"name": "sigmas",
"shape": 7,
"type": "SIGMAS",
"link": 157
},
{
"name": "unianimate_poses",
"shape": 7,
"type": "UNIANIMATE_POSE",
"link": null
},
{
"name": "fantasytalking_embeds",
"shape": 7,
"type": "FANTASYTALKING_EMBEDS",
"link": null
},
{
"name": "uni3c_embeds",
"shape": 7,
"type": "UNI3C_EMBEDS",
"link": null
},
{
"name": "multitalk_embeds",
"shape": 7,
"type": "MULTITALK_EMBEDS",
"link": null
},
{
"name": "freeinit_args",
"shape": 7,
"type": "FREEINITARGS",
"link": null
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": 164
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": null
},
{
"name": "denoised_samples",
"type": "LATENT",
"links": [
152
]
}
],
"title": "WanVideo Sampler (LOW)",
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "74f33df65806ebaaf0491cc549fd039c7846050b",
"Node name for S&R": "WanVideoSampler",
"widget_ue_connectable": {}
},
"widgets_values": [
1,
3.5,
1,
0,
"fixed",
true,
"dpm++_sde",
0,
1,
false,
"comfy",
0,
-1,
false
]
},
{
"id": 62,
"type": "WanMoEScheduler",
"pos": [
1017.3415595988378,
336.6329064652382
],
"size": [
270,
298
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 161
}
],
"outputs": [
{
"name": "shift",
"type": "FLOAT",
"links": []
},
{
"name": "steps",
"type": "INT",
"links": []
},
{
"name": "steps_high",
"type": "INT",
"links": []
},
{
"name": "steps_low",
"type": "INT",
"links": null
},
{
"name": "sigmas",
"type": "SIGMAS",
"links": null
},
{
"name": "sigmas_high",
"type": "SIGMAS",
"links": [
156
]
},
{
"name": "sigmas_low",
"type": "SIGMAS",
"links": [
157
]
}
],
"properties": {
"aux_id": "cmeka/ComfyUI-WanMoEScheduler",
"ver": "c9c09d8fb86a18ccaeb2e0798882b95a0bc6a73d",
"Node name for S&R": "WanMoEScheduler",
"widget_ue_connectable": {}
},
"widgets_values": [
"simple",
10,
10,
0.875,
0.01,
1
]
}
],
"links": [
[
146,
69,
0,
68,
0,
"WANTEXTENCODER"
],
[
147,
65,
0,
71,
0,
"WANVIDEOMODEL"
],
[
148,
66,
0,
72,
0,
"WANVIDEOMODEL"
],
[
149,
73,
0,
71,
1,
"WANVIDIMAGE_EMBEDS"
],
[
151,
70,
0,
75,
0,
"WANVAE"
],
[
152,
72,
1,
75,
1,
"LATENT"
],
[
153,
75,
0,
28,
0,
"IMAGE"
],
[
154,
68,
0,
71,
2,
"WANVIDEOTEXTEMBEDS"
],
[
155,
68,
0,
72,
2,
"WANVIDEOTEXTEMBEDS"
],
[
156,
62,
5,
71,
11,
"SIGMAS"
],
[
157,
62,
6,
72,
11,
"SIGMAS"
],
[
158,
71,
0,
72,
3,
"LATENT"
],
[
159,
73,
0,
72,
1,
"WANVIDIMAGE_EMBEDS"
],
[
161,
74,
0,
62,
0,
"MODEL"
],
[
162,
75,
0,
47,
0,
"IMAGE"
],
[
163,
78,
0,
71,
17,
"COMBO"
],
[
164,
78,
0,
72,
17,
"COMBO"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7627768444385875,
"offset": [
-304.70096331701933,
577.5322101769805
]
},
"frontendVersion": "1.28.7",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}