ComfyUI-WanVideoWrapper / example_workflows /wanvideo_2_2_5B_I2V_example_WIP.json
aliensmn's picture
Mirror from https://github.com/kijai/ComfyUI-WanVideoWrapper
cf812a0 verified
{
"id": "206247b6-9fec-4ed2-8927-e4f388c674d4",
"revision": 0,
"last_node_id": 97,
"last_link_id": 145,
"nodes": [
{
"id": 46,
"type": "WanVideoTextEmbedBridge",
"pos": [
768.0983276367188,
914.539794921875
],
"size": [
315,
46
],
"flags": {},
"order": 13,
"mode": 2,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 54
},
{
"name": "negative",
"shape": 7,
"type": "CONDITIONING",
"link": 55
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"links": null
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoTextEmbedBridge"
},
"widgets_values": []
},
{
"id": 50,
"type": "CLIPTextEncode",
"pos": [
318.0990905761719,
1174.5400390625
],
"size": [
400,
200
],
"flags": {},
"order": 10,
"mode": 2,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 53
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
55
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
]
},
{
"id": 48,
"type": "CLIPLoader",
"pos": [
-41.90084457397461,
924.539794921875
],
"size": [
315,
106
],
"flags": {},
"order": 0,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
52,
53
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp16.safetensors",
"wan",
"default"
]
},
{
"id": 49,
"type": "CLIPTextEncode",
"pos": [
318.0990905761719,
924.539794921875
],
"size": [
400,
200
],
"flags": {},
"order": 9,
"mode": 2,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 52
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
54
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"high quality nature video featuring a red panda balancing on a bamboo stem while a bird lands on it's head, on the background there is a waterfall"
]
},
{
"id": 51,
"type": "Note",
"pos": [
-11.900712966918945,
754.539306640625
],
"size": [
253.16725158691406,
88
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"You can also use native ComfyUI text encoding with these nodes instead of the original, the models are node specific and can't otherwise be mixed."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 11,
"type": "LoadWanVideoT5TextEncoder",
"pos": [
161.7229461669922,
-501.2225036621094
],
"size": [
377.1661376953125,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_t5_model",
"type": "WANTEXTENCODER",
"slot_index": 0,
"links": [
15
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "LoadWanVideoT5TextEncoder"
},
"widgets_values": [
"umt5-xxl-enc-bf16.safetensors",
"bf16",
"offload_device",
"disabled"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 70,
"type": "WanVideoEncode",
"pos": [
-81.78827667236328,
24.176483154296875
],
"size": [
270,
242
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 88
},
{
"name": "image",
"type": "IMAGE",
"link": 133
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
103
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "17d48e3e450c7e75f60566e787404cb3d917f48e",
"Node name for S&R": "WanVideoEncode"
},
"widgets_values": [
false,
272,
272,
144,
128,
0,
1
]
},
{
"id": 38,
"type": "WanVideoVAELoader",
"pos": [
169.25408935546875,
-322.9471740722656
],
"size": [
372.7727966308594,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "WANVAE",
"slot_index": 0,
"links": [
43,
88
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoVAELoader"
},
"widgets_values": [
"wanvideo\\Wan2_2_VAE_bf16.safetensors",
"bf16"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 35,
"type": "WanVideoTorchCompileSettings",
"pos": [
-303.0111999511719,
-842.4323120117188
],
"size": [
390.5999755859375,
202
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "torch_compile_args",
"type": "WANCOMPILEARGS",
"slot_index": 0,
"links": [
121
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoTorchCompileSettings"
},
"widgets_values": [
"inductor",
false,
"default",
false,
64,
true,
128
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 22,
"type": "WanVideoModelLoader",
"pos": [
157.20700073242188,
-839.4575805664062
],
"size": [
477.4410095214844,
274
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": 121
},
{
"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": "vace_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
}
],
"outputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"slot_index": 0,
"links": [
29,
79
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoModelLoader"
},
"widgets_values": [
"WanVideo\\2_2\\wan2.2_ti2v_5B_fp16.safetensors",
"fp16_fast",
"disabled",
"offload_device",
"sageattn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 78,
"type": "WanVideoEmptyEmbeds",
"pos": [
330.17205810546875,
-116.94092559814453
],
"size": [
272.431640625,
126
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "control_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": null
},
{
"name": "extra_latents",
"shape": 7,
"type": "LATENT",
"link": 103
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 100
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 101
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [
102
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "6bc53b771d5d2af316801cb69e2ee10dbf7d18b1",
"Node name for S&R": "WanVideoEmptyEmbeds"
},
"widgets_values": [
832,
480,
121
]
},
{
"id": 58,
"type": "LoadImage",
"pos": [
-1042.868408203125,
-97.90877532958984
],
"size": [
413.10479736328125,
498.3180847167969
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
134
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"image (658).png",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 28,
"type": "WanVideoDecode",
"pos": [
1321.3648681640625,
-683.320556640625
],
"size": [
315,
198
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 43
},
{
"name": "samples",
"type": "LATENT",
"link": 117
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [
137
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoDecode"
},
"widgets_values": [
false,
272,
272,
144,
128,
"default"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 90,
"type": "WanVideoExperimentalArgs",
"pos": [
918.6209106445312,
-165.79469299316406
],
"size": [
308.767578125,
250
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "exp_args",
"type": "EXPERIMENTALARGS",
"links": [
139
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "3f4e8433bdc7adeba7166b40e10ffcb36670f15d",
"Node name for S&R": "WanVideoExperimentalArgs"
},
"widgets_values": [
"",
true,
false,
0,
false,
1,
1.25,
20,
true
]
},
{
"id": 94,
"type": "WanVideoEasyCache",
"pos": [
966.5114135742188,
-510.91009521484375
],
"size": [
270,
130
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "cache_args",
"type": "CACHEARGS",
"links": [
141
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "3f4e8433bdc7adeba7166b40e10ffcb36670f15d",
"Node name for S&R": "WanVideoEasyCache"
},
"widgets_values": [
0.015,
10,
-1,
"offload_device"
]
},
{
"id": 27,
"type": "WanVideoSampler",
"pos": [
1315.2401123046875,
-401.48028564453125
],
"size": [
315,
975
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 29
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 102
},
{
"name": "text_embeds",
"shape": 7,
"type": "WANVIDEOTEXTEMBEDS",
"link": 30
},
{
"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": 141
},
{
"name": "flowedit_args",
"shape": 7,
"type": "FLOWEDITARGS",
"link": null
},
{
"name": "slg_args",
"shape": 7,
"type": "SLGARGS",
"link": 140
},
{
"name": "loop_args",
"shape": 7,
"type": "LOOPARGS",
"link": null
},
{
"name": "experimental_args",
"shape": 7,
"type": "EXPERIMENTALARGS",
"link": 139
},
{
"name": "sigmas",
"shape": 7,
"type": "SIGMAS",
"link": null
},
{
"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
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"slot_index": 0,
"links": [
117
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoSampler"
},
"widgets_values": [
30,
5,
8,
47,
"fixed",
true,
"flowmatch_pusa",
0,
1,
"",
"comfy",
0,
-1,
""
]
},
{
"id": 16,
"type": "WanVideoTextEncode",
"pos": [
412.7743225097656,
135.32998657226562
],
"size": [
453.0067138671875,
328.0239562988281
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "t5",
"shape": 7,
"type": "WANTEXTENCODER",
"link": 15
},
{
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": 79
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoTextEncode"
},
"widgets_values": [
"the woman starts to play a violin",
"Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards\"",
true,
false,
"gpu"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 91,
"type": "WanVideoSLG",
"pos": [
973.4921875,
195.37266540527344
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "slg_args",
"type": "SLGARGS",
"links": [
140
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "3f4e8433bdc7adeba7166b40e10ffcb36670f15d",
"Node name for S&R": "WanVideoSLG"
},
"widgets_values": [
"7,8,9",
0.1,
0.7
]
},
{
"id": 92,
"type": "VHS_VideoCombine",
"pos": [
1710.9552001953125,
-869.0421142578125
],
"size": [
934.6708984375,
1262.6708984375
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 137
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "WanVideoWrapper_5BI2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapper_5BI2V_00004.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 24,
"workflow": "WanVideoWrapper_5BI2V_00004.png",
"fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_5BI2V_00004.mp4"
}
}
}
},
{
"id": 71,
"type": "ImageResizeKJv2",
"pos": [
-542.5422973632812,
-104.77092742919922
],
"size": [
270,
336
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 134
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
133
]
},
{
"name": "width",
"type": "INT",
"links": [
100
]
},
{
"name": "height",
"type": "INT",
"links": [
101
]
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "ad37ce656c13e9abea002b46e3a89be3dba32355",
"Node name for S&R": "ImageResizeKJv2"
},
"widgets_values": [
1024,
1024,
"lanczos",
"crop",
"0, 0, 0",
"center",
32,
"cpu",
"<tr><td>Output: </td><td><b>1</b> x <b>1024</b> x <b>1024 | 12.00MB</b></td></tr>"
]
}
],
"links": [
[
15,
11,
0,
16,
0,
"WANTEXTENCODER"
],
[
29,
22,
0,
27,
0,
"WANVIDEOMODEL"
],
[
30,
16,
0,
27,
2,
"WANVIDEOTEXTEMBEDS"
],
[
43,
38,
0,
28,
0,
"VAE"
],
[
52,
48,
0,
49,
0,
"CLIP"
],
[
53,
48,
0,
50,
0,
"CLIP"
],
[
54,
49,
0,
46,
0,
"CONDITIONING"
],
[
55,
50,
0,
46,
1,
"CONDITIONING"
],
[
79,
22,
0,
16,
1,
"WANVIDEOMODEL"
],
[
88,
38,
0,
70,
0,
"WANVAE"
],
[
100,
71,
1,
78,
2,
"INT"
],
[
101,
71,
2,
78,
3,
"INT"
],
[
102,
78,
0,
27,
1,
"WANVIDIMAGE_EMBEDS"
],
[
103,
70,
0,
78,
1,
"LATENT"
],
[
117,
27,
0,
28,
1,
"LATENT"
],
[
121,
35,
0,
22,
0,
"WANCOMPILEARGS"
],
[
133,
71,
0,
70,
1,
"IMAGE"
],
[
134,
58,
0,
71,
0,
"IMAGE"
],
[
137,
28,
0,
92,
0,
"IMAGE"
],
[
139,
90,
0,
27,
10,
"EXPERIMENTALARGS"
],
[
140,
91,
0,
27,
8,
"SLGARGS"
],
[
141,
94,
0,
27,
6,
"CACHEARGS"
]
],
"groups": [
{
"id": 1,
"title": "ComfyUI text encoding alternative",
"bounding": [
-104.71692657470703,
610.6055908203125,
1210.621337890625,
805.9080810546875
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.8140274938684515,
"offset": [
942.5383077736456,
1079.3951185605747
]
},
"frontendVersion": "1.25.1",
"node_versions": {
"ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd",
"comfy-core": "0.3.26",
"ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
"ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}