ComfyUI-WanVideoWrapper / example_workflows /wanvideo_flowedit_I2V_example_01.json
aliensmn's picture
Mirror from https://github.com/kijai/ComfyUI-WanVideoWrapper
cf812a0 verified
{
"last_node_id": 73,
"last_link_id": 92,
"nodes": [
{
"id": 46,
"type": "WanVideoTextEmbedBridge",
"pos": [
-947.5358276367188,
-63.66567611694336
],
"size": [
315,
46
],
"flags": {},
"order": 25,
"mode": 2,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 54
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 55
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"links": null
}
],
"properties": {
"Node name for S&R": "WanVideoTextEmbedBridge"
},
"widgets_values": []
},
{
"id": 50,
"type": "CLIPTextEncode",
"pos": [
-1397.5355224609375,
196.33407592773438
],
"size": [
400,
200
],
"flags": {},
"order": 19,
"mode": 2,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 53
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
55
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
]
},
{
"id": 48,
"type": "CLIPLoader",
"pos": [
-1757.53515625,
-53.66567611694336
],
"size": [
315,
98.00003051757812
],
"flags": {},
"order": 0,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
52,
53
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp16.safetensors",
"wan",
"default"
]
},
{
"id": 49,
"type": "CLIPTextEncode",
"pos": [
-1397.5355224609375,
-53.66567611694336
],
"size": [
400,
200
],
"flags": {},
"order": 18,
"mode": 2,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 52
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
54
]
}
],
"properties": {
"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": 42,
"type": "Note",
"pos": [
-580,
-760
],
"size": [
314.96246337890625,
152.77333068847656
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Adjust the blocks to swap based on your VRAM, this is a tradeoff between speed and memory usage.\n\nAlternatively there's option to use VRAM management introduced in DiffSynt-Studios. This is usually slower, but saves even more VRAM compared to BlockSwap"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 45,
"type": "WanVideoVRAMManagement",
"pos": [
-210,
-580
],
"size": [
315,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "vram_management_args",
"type": "VRAM_MANAGEMENTARGS",
"links": []
}
],
"properties": {
"Node name for S&R": "WanVideoVRAMManagement"
},
"widgets_values": [
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 36,
"type": "Note",
"pos": [
160,
-1010
],
"size": [
374.3061828613281,
171.9547576904297
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"fp8_fast seems to cause huge quality degradation\n\nfp_16_fast enables \"Full FP16 Accmumulation in FP16 GEMMs\" feature available in the very latest pytorch nightly, this is around 20% speed boost. \n\nSageattn if you have it installed can be used for almost double inference speed"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 33,
"type": "Note",
"pos": [
170,
-1150
],
"size": [
359.0753479003906,
88
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Models:\nhttps://huggingface.co/Kijai/WanVideo_comfy/tree/main"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 51,
"type": "Note",
"pos": [
-1727.53515625,
-223.66603088378906
],
"size": [
253.16725158691406,
88
],
"flags": {},
"order": 5,
"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": 60,
"type": "Note",
"pos": [
-432.5627136230469,
-224.5513458251953
],
"size": [
253.16725158691406,
88
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"You can use either the original clip vision or the normal comfyui clip vision loader, they are the same model in the end."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 59,
"type": "CLIPVisionLoader",
"pos": [
-158.17127990722656,
-210.2847442626953
],
"size": [
315,
58
],
"flags": {},
"order": 7,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": null
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"clip_vision_h.safetensors"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 11,
"type": "LoadWanVideoT5TextEncoder",
"pos": [
161.7229461669922,
-501.2225036621094
],
"size": [
377.1661376953125,
130
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_t5_model",
"type": "WANTEXTENCODER",
"slot_index": 0,
"links": [
15,
69
]
}
],
"properties": {
"Node name for S&R": "LoadWanVideoT5TextEncoder"
},
"widgets_values": [
"umt5-xxl-enc-bf16.safetensors",
"bf16",
"offload_device",
"disabled"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 44,
"type": "Note",
"pos": [
-620.9041137695312,
-1049.732421875
],
"size": [
303.0501403808594,
88
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"If you have Triton installed, connect this for ~30% speed increase"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 39,
"type": "WanVideoBlockSwap",
"pos": [
-210,
-760
],
"size": [
315,
130
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"slot_index": 0,
"links": []
}
],
"properties": {
"Node name for S&R": "WanVideoBlockSwap"
},
"widgets_values": [
20,
false,
false,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 56,
"type": "LoadWanVideoClipTextEncoder",
"pos": [
-357.8293762207031,
-83.7756118774414
],
"size": [
510.6601257324219,
106
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_clip_vision",
"type": "CLIP_VISION",
"slot_index": 0,
"links": [
58,
82
]
}
],
"properties": {
"Node name for S&R": "LoadWanVideoClipTextEncoder"
},
"widgets_values": [
"open-clip-xlm-roberta-large-vit-huge-14_visual_fp32.safetensors",
"fp16",
"offload_device"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 35,
"type": "WanVideoTorchCompileSettings",
"pos": [
-276.8500671386719,
-1050.6326904296875
],
"size": [
390.5999755859375,
178
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "torch_compile_args",
"type": "WANCOMPILEARGS",
"slot_index": 0,
"links": [
75
]
}
],
"properties": {
"Node name for S&R": "WanVideoTorchCompileSettings"
},
"widgets_values": [
"inductor",
false,
"default",
false,
64,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 66,
"type": "WanVideoTextEncode",
"pos": [
153.09332275390625,
872.6924438476562
],
"size": [
420.30511474609375,
261.5306701660156
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "t5",
"type": "WANTEXTENCODER",
"link": 69
},
{
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": null
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"slot_index": 0,
"links": [
70
]
}
],
"properties": {
"Node name for S&R": "WanVideoTextEncode"
},
"widgets_values": [
"video of a wolf",
"bad quality, cartoon, painting",
true
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 16,
"type": "WanVideoTextEncode",
"pos": [
157.61514282226562,
245.40008544921875
],
"size": [
420.30511474609375,
261.5306701660156
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "t5",
"type": "WANTEXTENCODER",
"link": 15
},
{
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": null
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"Node name for S&R": "WanVideoTextEncode"
},
"widgets_values": [
"cybernetic wolf is turning it's head",
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
true
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 65,
"type": "VHS_LoadVideo",
"pos": [
-336.5810241699219,
681.5027465820312
],
"size": [
392.0638732910156,
696.0638427734375
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
66,
71
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "wolf_interpolated.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "wolf_interpolated.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 58,
"type": "LoadImage",
"pos": [
-347.4864501953125,
119.20101928710938
],
"size": [
413.10479736328125,
498.3180847167969
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
59,
77
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"hunhyuanwolf.png",
"image",
""
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 30,
"type": "VHS_VideoCombine",
"pos": [
1684.1597900390625,
-394.2595520019531
],
"size": [
904.313232421875,
1232.313232421875
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 36
},
{
"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": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "WanVideoWrapper_I2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapper_I2V_00432.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideoWrapper_I2V_00432.png",
"fullpath": "N:\\AI\\ComfyUI\\output\\WanVideoWrapper_I2V_00432.mp4"
}
}
}
},
{
"id": 68,
"type": "ImageConcatMulti",
"pos": [
2073.08251953125,
-643.741455078125
],
"size": [
315,
170
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 78
},
{
"name": "image_2",
"type": "IMAGE",
"link": 77
},
{
"name": "image_3",
"type": "IMAGE",
"link": 79
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [
80
]
}
],
"properties": {},
"widgets_values": [
3,
"right",
true,
null
]
},
{
"id": 67,
"type": "GetImageSizeAndCount",
"pos": [
136.5249786376953,
714.924072265625
],
"size": [
277.20001220703125,
86
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 71
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"slot_index": 0,
"links": [
78,
81
]
},
{
"label": "512 width",
"name": "width",
"type": "INT",
"slot_index": 1,
"links": [
72,
85
]
},
{
"label": "512 height",
"name": "height",
"type": "INT",
"slot_index": 2,
"links": [
73,
86
]
},
{
"label": "53 count",
"name": "count",
"type": "INT",
"slot_index": 3,
"links": [
74,
87
]
}
],
"properties": {
"Node name for S&R": "GetImageSizeAndCount"
},
"widgets_values": []
},
{
"id": 57,
"type": "WanVideoImageClipEncode",
"pos": [
287.3013000488281,
-147.04237365722656
],
"size": [
310.4956359863281,
326
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 58
},
{
"name": "image",
"type": "IMAGE",
"link": 59
},
{
"name": "vae",
"type": "WANVAE",
"link": 63
},
{
"name": "generation_width",
"type": "INT",
"widget": {
"name": "generation_width"
},
"link": 72
},
{
"name": "generation_height",
"type": "INT",
"widget": {
"name": "generation_height"
},
"link": 73
},
{
"name": "num_frames",
"type": "INT",
"widget": {
"name": "num_frames"
},
"link": 74
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"slot_index": 0,
"links": [
64
]
}
],
"properties": {
"Node name for S&R": "WanVideoImageClipEncode"
},
"widgets_values": [
832,
480,
81,
true,
0.030000000000000006,
1,
1,
false
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 70,
"type": "GetImageRangeFromBatch",
"pos": [
546.9578247070312,
766.3284912109375
],
"size": [
428.4000244140625,
102
],
"flags": {
"collapsed": true
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 81
},
{
"name": "masks",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
88
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageRangeFromBatch"
},
"widgets_values": [
0,
1
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 71,
"type": "WanVideoImageClipEncode",
"pos": [
855.04638671875,
844.81201171875
],
"size": [
310.4956359863281,
326
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 82
},
{
"name": "image",
"type": "IMAGE",
"link": 88
},
{
"name": "vae",
"type": "WANVAE",
"link": 84
},
{
"name": "generation_width",
"type": "INT",
"widget": {
"name": "generation_width"
},
"link": 85
},
{
"name": "generation_height",
"type": "INT",
"widget": {
"name": "generation_height"
},
"link": 86
},
{
"name": "num_frames",
"type": "INT",
"widget": {
"name": "num_frames"
},
"link": 87
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"slot_index": 0,
"links": []
}
],
"properties": {
"Node name for S&R": "WanVideoImageClipEncode"
},
"widgets_values": [
832,
480,
81,
true,
0.030000000000000006,
1,
1,
false
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 38,
"type": "WanVideoVAELoader",
"pos": [
169.25408935546875,
-322.9471740722656
],
"size": [
372.7727966308594,
82
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "WANVAE",
"slot_index": 0,
"links": [
43,
63,
67,
84
]
}
],
"properties": {
"Node name for S&R": "WanVideoVAELoader"
},
"widgets_values": [
"wanvideo\\Wan2_1_VAE_bf16.safetensors",
"bf16"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 22,
"type": "WanVideoModelLoader",
"pos": [
150,
-780
],
"size": [
477.4410095214844,
226.43276977539062
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": 75
},
{
"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
}
],
"outputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"slot_index": 0,
"links": [
29
]
}
],
"properties": {
"Node name for S&R": "WanVideoModelLoader"
},
"widgets_values": [
"WanVideo\\Wan2_1-I2V-14B-480P_fp8_e4m3fn.safetensors",
"fp16_fast",
"fp8_e4m3fn",
"offload_device",
"sageattn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 52,
"type": "WanVideoTeaCache",
"pos": [
1323.885986328125,
-630.6788940429688
],
"size": [
315,
154
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "cache_args",
"type": "CACHEARGS",
"links": [
91
]
}
],
"properties": {
"Node name for S&R": "WanVideoTeaCache"
},
"widgets_values": [
0.20000000000000004,
2,
-1,
"offload_device",
true
]
},
{
"id": 27,
"type": "WanVideoSampler",
"pos": [
1315.2401123046875,
-401.48028564453125
],
"size": [
315,
767
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 29
},
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"link": 30
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 64
},
{
"name": "samples",
"shape": 7,
"type": "LATENT",
"link": 68
},
{
"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": 91
},
{
"name": "flowedit_args",
"shape": 7,
"type": "FLOWEDITARGS",
"link": 65
},
{
"name": "slg_args",
"shape": 7,
"type": "SLGARGS",
"link": 92
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"slot_index": 0,
"links": [
33
]
}
],
"properties": {
"Node name for S&R": "WanVideoSampler"
},
"widgets_values": [
25,
4.000000000000001,
5.000000000000001,
123,
"fixed",
true,
"euler",
0,
0.9500000000000002,
false,
"comfy",
""
]
},
{
"id": 73,
"type": "WanVideoSLG",
"pos": [
927.0363159179688,
-366.92950439453125
],
"size": [
315,
106
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "slg_args",
"type": "SLGARGS",
"links": [
92
]
}
],
"properties": {
"Node name for S&R": "WanVideoSLG"
},
"widgets_values": [
"9",
0.20000000000000004,
0.9000000000000001
]
},
{
"id": 63,
"type": "WanVideoFlowEdit",
"pos": [
879.3870849609375,
407.6827697753906
],
"size": [
310.8893737792969,
174
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "source_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"link": 70
},
{
"name": "source_image_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": null
}
],
"outputs": [
{
"name": "flowedit_args",
"type": "FLOWEDITARGS",
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "WanVideoFlowEdit"
},
"widgets_values": [
2,
8,
7.000000000000002,
6,
6
]
},
{
"id": 64,
"type": "WanVideoEncode",
"pos": [
874.3060302734375,
117.539794921875
],
"size": [
315,
242
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 67
},
{
"name": "image",
"type": "IMAGE",
"link": 66
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"slot_index": 0,
"links": [
68
]
}
],
"properties": {
"Node name for S&R": "WanVideoEncode"
},
"widgets_values": [
false,
272,
272,
144,
128,
0,
1
]
},
{
"id": 28,
"type": "WanVideoDecode",
"pos": [
1688.0194091796875,
-647.6461791992188
],
"size": [
315,
174
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 43
},
{
"name": "samples",
"type": "LATENT",
"link": 33
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [
36,
79
]
}
],
"properties": {
"Node name for S&R": "WanVideoDecode"
},
"widgets_values": [
false,
272,
272,
144,
128
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 69,
"type": "VHS_VideoCombine",
"pos": [
2655.1708984375,
-395.2093811035156
],
"size": [
1507.1126708984375,
844.3505249023438
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 80
},
{
"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": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "WanVideoWrapper_I2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapper_I2V_00433.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideoWrapper_I2V_00433.png",
"fullpath": "N:\\AI\\ComfyUI\\output\\WanVideoWrapper_I2V_00433.mp4"
}
}
}
}
],
"links": [
[
15,
11,
0,
16,
0,
"WANTEXTENCODER"
],
[
29,
22,
0,
27,
0,
"WANVIDEOMODEL"
],
[
30,
16,
0,
27,
1,
"WANVIDEOTEXTEMBEDS"
],
[
33,
27,
0,
28,
1,
"LATENT"
],
[
36,
28,
0,
30,
0,
"IMAGE"
],
[
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"
],
[
58,
56,
0,
57,
0,
"CLIP_VISION"
],
[
59,
58,
0,
57,
1,
"IMAGE"
],
[
63,
38,
0,
57,
2,
"WANVAE"
],
[
64,
57,
0,
27,
2,
"WANVIDIMAGE_EMBEDS"
],
[
65,
63,
0,
27,
7,
"FLOWEDITARGS"
],
[
66,
65,
0,
64,
1,
"IMAGE"
],
[
67,
38,
0,
64,
0,
"WANVAE"
],
[
68,
64,
0,
27,
3,
"LATENT"
],
[
69,
11,
0,
66,
0,
"WANTEXTENCODER"
],
[
70,
66,
0,
63,
0,
"WANVIDEOTEXTEMBEDS"
],
[
71,
65,
0,
67,
0,
"IMAGE"
],
[
72,
67,
1,
57,
3,
"INT"
],
[
73,
67,
2,
57,
4,
"INT"
],
[
74,
67,
3,
57,
5,
"INT"
],
[
75,
35,
0,
22,
0,
"WANCOMPILEARGS"
],
[
77,
58,
0,
68,
1,
"IMAGE"
],
[
78,
67,
0,
68,
0,
"IMAGE"
],
[
79,
28,
0,
68,
2,
"IMAGE"
],
[
80,
68,
0,
69,
0,
"IMAGE"
],
[
81,
67,
0,
70,
0,
"IMAGE"
],
[
82,
56,
0,
71,
0,
"CLIP_VISION"
],
[
84,
38,
0,
71,
2,
"WANVAE"
],
[
85,
67,
1,
71,
3,
"INT"
],
[
86,
67,
2,
71,
4,
"INT"
],
[
87,
67,
3,
71,
5,
"INT"
],
[
88,
70,
0,
71,
1,
"IMAGE"
],
[
91,
52,
0,
27,
6,
"TEACACHEARGS"
],
[
92,
73,
0,
27,
8,
"SLGARGS"
]
],
"groups": [
{
"id": 1,
"title": "ComfyUI text encoding alternative",
"bounding": [
-1820.35107421875,
-367.5990905761719,
1210.621337890625,
805.9080810546875
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6115909044841833,
"offset": [
973.5038468672901,
1390.6616196111634
]
},
"node_versions": {
"ComfyUI-WanVideoWrapper": "173aff236710272df37b3165c79297cd9b924e5a",
"comfy-core": "0.3.26",
"ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8",
"ComfyUI-KJNodes": "7c488a16ef420acf0276a4f8e31fc024a969d24b"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}