ComfyUI-WanVideoWrapper / example_workflows /wanvideo_FLF2V_720P_example_02.json
aliensmn's picture
Mirror from https://github.com/kijai/ComfyUI-WanVideoWrapper
cf812a0 verified
{
"id": "7c6603fc-8871-4e88-a3dd-ac43e7650d8e",
"revision": 0,
"last_node_id": 108,
"last_link_id": 190,
"nodes": [
{
"id": 46,
"type": "WanVideoTextEmbedBridge",
"pos": [
485.5692138671875,
655.3907470703125
],
"size": [
315,
46
],
"flags": {},
"order": 25,
"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": [
35.57008361816406,
915.3912353515625
],
"size": [
400,
200
],
"flags": {},
"order": 20,
"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": [
-324.42987060546875,
665.3908081054688
],
"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": 36,
"type": "Note",
"pos": [
129.3702850341797,
-1156.84228515625
],
"size": [
374.3061828613281,
171.9547576904297
],
"flags": {},
"order": 1,
"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": [
139.3702850341797,
-1296.84228515625
],
"size": [
359.0753479003906,
88
],
"flags": {},
"order": 2,
"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": [
-294.4300231933594,
495.39044189453125
],
"size": [
253.16725158691406,
88
],
"flags": {},
"order": 3,
"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": 4,
"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": 44,
"type": "Note",
"pos": [
-651.5339965820312,
-1196.57470703125
],
"size": [
303.0501403808594,
88
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"If you have Triton installed, connect this for ~30% speed increase"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 60,
"type": "Note",
"pos": [
-1319.92041015625,
-594.809326171875
],
"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": 91,
"type": "SetNode",
"pos": [
-633.0812377929688,
-122.31965637207031
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 182
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
141,
142,
169,
171
]
}
],
"title": "Set_start_image",
"properties": {
"previousName": "start_image"
},
"widgets_values": [
"start_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 92,
"type": "SetNode",
"pos": [
-637.5855712890625,
165.05795288085938
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 184
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
144,
176
]
}
],
"title": "Set_end_image",
"properties": {
"previousName": "end_image"
},
"widgets_values": [
"end_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 93,
"type": "GetNode",
"pos": [
1661.8018798828125,
-959.0050659179688
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
147
]
}
],
"title": "Get_start_image",
"properties": {},
"widgets_values": [
"start_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 94,
"type": "GetNode",
"pos": [
1665.4052734375,
-903.6002807617188
],
"size": [
210,
58
],
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
149
]
}
],
"title": "Get_end_image",
"properties": {},
"widgets_values": [
"end_image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 97,
"type": "EmptyImage",
"pos": [
2122.47509765625,
-909.207275390625
],
"size": [
315,
130
],
"flags": {
"collapsed": true
},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 151
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
152
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
8,
512,
1,
0
]
},
{
"id": 95,
"type": "AddLabel",
"pos": [
1854.9163818359375,
-955.1511840820312
],
"size": [
315,
274
],
"flags": {
"collapsed": true
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 147
},
{
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
148
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"start_frame",
"up"
]
},
{
"id": 96,
"type": "AddLabel",
"pos": [
1856.7181396484375,
-903.8018188476562
],
"size": [
315,
274
],
"flags": {
"collapsed": true
},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 149
},
{
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
150
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"end_frame",
"up"
]
},
{
"id": 71,
"type": "ImageConcatMulti",
"pos": [
2106.309326171875,
-861.8016967773438
],
"size": [
315,
170
],
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 164
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 152
},
{
"name": "image_3",
"type": "IMAGE",
"link": 158
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
90
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028"
},
"widgets_values": [
3,
"left",
true,
null
]
},
{
"id": 70,
"type": "ImageConcatMulti",
"pos": [
1680.7264404296875,
-854.5946655273438
],
"size": [
315,
150
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 148
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 150
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
158
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028"
},
"widgets_values": [
2,
"down",
true,
null
]
},
{
"id": 68,
"type": "GetImageSizeAndCount",
"pos": [
1695.9385986328125,
-379.56011962890625
],
"size": [
277.20001220703125,
86
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 167
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
164
]
},
{
"label": "640 width",
"name": "width",
"type": "INT",
"links": null
},
{
"label": "640 height",
"name": "height",
"type": "INT",
"links": [
151
]
},
{
"label": "81 count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "GetImageSizeAndCount"
},
"widgets_values": []
},
{
"id": 101,
"type": "WanVideoDecode",
"pos": [
1688.0194091796875,
-647.6461791992188
],
"size": [
315,
198
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 165
},
{
"name": "samples",
"type": "LATENT",
"link": 166
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
167
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoDecode"
},
"widgets_values": [
false,
272,
272,
144,
128,
"default"
]
},
{
"id": 38,
"type": "WanVideoVAELoader",
"pos": [
165.65065002441406,
-324.7489318847656
],
"size": [
372.7727966308594,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": null
}
],
"outputs": [
{
"name": "vae",
"type": "WANVAE",
"slot_index": 0,
"links": [
165,
170
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoVAELoader"
},
"widgets_values": [
"wanvideo\\Wan2_1_VAE_bf16.safetensors",
"bf16"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 88,
"type": "WanVideoClipVisionEncode",
"pos": [
-284.5208740234375,
-401.384033203125
],
"size": [
327.5999755859375,
262
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 180
},
{
"name": "image_1",
"type": "IMAGE",
"link": 141
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 176
},
{
"name": "negative_image",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_CLIPEMBEDS",
"links": [
172
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoClipVisionEncode"
},
"widgets_values": [
1,
1,
"center",
"concat",
true,
0,
0.5
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 30,
"type": "VHS_VideoCombine",
"pos": [
2060.4794921875,
-627.8284301757812
],
"size": [
887.1368408203125,
334
],
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 90
},
{
"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": 16,
"loop_count": 0,
"filename_prefix": "WanVideoWrapper_I2V_endframe",
"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_I2V_endframe_00008.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideoWrapper_I2V_endframe_00008.png",
"fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_I2V_endframe_00008.mp4"
}
}
}
},
{
"id": 89,
"type": "WanVideoImageToVideoEncode",
"pos": [
176.49185180664062,
-125.9861068725586
],
"size": [
352.79998779296875,
390
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "vae",
"shape": 7,
"type": "WANVAE",
"link": 170
},
{
"name": "clip_embeds",
"shape": 7,
"type": "WANVIDIMAGE_CLIPEMBEDS",
"link": 172
},
{
"name": "start_image",
"shape": 7,
"type": "IMAGE",
"link": 171
},
{
"name": "end_image",
"shape": 7,
"type": "IMAGE",
"link": 144
},
{
"name": "control_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": null
},
{
"name": "temporal_mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "extra_latents",
"shape": 7,
"type": "LATENT",
"link": null
},
{
"name": "add_cond_latents",
"shape": 7,
"type": "ADD_COND_LATENTS",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 188
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 189
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [
133
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoImageToVideoEncode"
},
"widgets_values": [
832,
480,
81,
0,
1,
true,
true,
true,
false
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 16,
"type": "WanVideoTextEncode",
"pos": [
783.4046020507812,
-378.40771484375
],
"size": [
420.30511474609375,
261.5306701660156
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "t5",
"shape": 7,
"type": "WANTEXTENCODER",
"link": 15
},
{
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": 103
}
],
"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": [
"CG动画风格,一只蓝色的小鸟从地面起飞,煽动翅膀。小鸟羽毛细腻,胸前有独特的花纹,背景是蓝天白云,阳光明媚。镜跟随小鸟向上移动,展现出小鸟飞翔的姿态和天空的广阔。近景,仰视视角",
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
true,
false,
"gpu"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 49,
"type": "CLIPTextEncode",
"pos": [
35.57008361816406,
665.3908081054688
],
"size": [
400,
200
],
"flags": {},
"order": 19,
"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": [
"CG动画风格,一只蓝色的小鸟从地面起飞,煽动翅膀。小鸟羽毛细腻,胸前有独特的花纹,背景是蓝天白云,阳光明媚。镜跟随小鸟向上移动,展现出小鸟飞翔的姿态和天空的广阔。近景,仰视视角"
]
},
{
"id": 63,
"type": "LoadImage",
"pos": [
-1514.4151611328125,
-251.16331481933594
],
"size": [
413.10479736328125,
498.3180847167969
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
181
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load Image: Start image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (852).png",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 39,
"type": "WanVideoBlockSwap",
"pos": [
-239.63873291015625,
-923.6882934570312
],
"size": [
315,
202
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"slot_index": 0,
"links": [
174
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoBlockSwap"
},
"widgets_values": [
20,
false,
false,
true,
0,
0,
false
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 104,
"type": "MarkdownNote",
"pos": [
593.4509887695312,
-1220.6571044921875
],
"size": [
495.010009765625,
180.2772979736328
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Model links\n\nfp8:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1-FLF2V-14B-720P_fp8_e4m3fn.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1-FLF2V-14B-720P_fp8_e4m3fn.safetensors)\n\nfp16:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1-FLF2V-14B-720P_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1-FLF2V-14B-720P_fp16.safetensors)\n\ndistil lora:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors)"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 42,
"type": "Note",
"pos": [
-610.6298828125,
-906.8419799804688
],
"size": [
340.186767578125,
88
],
"flags": {},
"order": 13,
"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."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 56,
"type": "LoadWanVideoClipTextEncoder",
"pos": [
-981.2316284179688,
-697.2685546875
],
"size": [
510.6601257324219,
106
],
"flags": {},
"order": 14,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "wan_clip_vision",
"type": "CLIP_VISION",
"slot_index": 0,
"links": []
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "LoadWanVideoClipTextEncoder"
},
"widgets_values": [
"open-clip-xlm-roberta-large-vit-huge-14_visual_fp16.safetensors",
"fp16",
"offload_device"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 59,
"type": "CLIPVisionLoader",
"pos": [
-975.2608032226562,
-510.2746276855469
],
"size": [
315,
58
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
180
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"clip_vision_h.safetensors"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 58,
"type": "LoadImage",
"pos": [
-1513.3035888671875,
349.8241882324219
],
"size": [
405.1771545410156,
648.9437866210938
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
185
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load Image: End image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (853).png",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 107,
"type": "ImageResizeKJv2",
"pos": [
-1029.087158203125,
-242.6603546142578
],
"size": [
270,
286
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 181
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
182
]
},
{
"name": "width",
"type": "INT",
"links": [
186
]
},
{
"name": "height",
"type": "INT",
"links": [
187
]
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "ee0eb6696b03e55d57201c39872793b44b9381ed",
"Node name for S&R": "ImageResizeKJv2"
},
"widgets_values": [
640,
640,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu",
"<tr><td>Output: </td><td><b>1</b> x <b>640</b> x <b>640 | 4.69MB</b></td></tr>"
]
},
{
"id": 108,
"type": "ImageResizeKJv2",
"pos": [
-976.6730346679688,
273.2929992675781
],
"size": [
270,
336
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 185
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 186
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 187
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
184
]
},
{
"name": "width",
"type": "INT",
"links": [
188
]
},
{
"name": "height",
"type": "INT",
"links": [
189
]
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "ee0eb6696b03e55d57201c39872793b44b9381ed",
"Node name for S&R": "ImageResizeKJv2"
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu",
"<tr><td>Output: </td><td><b>1</b> x <b>640</b> x <b>640 | 4.69MB</b></td></tr>"
]
},
{
"id": 106,
"type": "WanVideoLoraSelect",
"pos": [
-336.7720642089844,
-698.3348999023438
],
"size": [
424.9496765136719,
150
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "prev_lora",
"shape": 7,
"type": "WANVIDLORA",
"link": null
},
{
"name": "blocks",
"shape": 7,
"type": "SELECTEDBLOCKS",
"link": null
}
],
"outputs": [
{
"name": "lora",
"type": "WANVIDLORA",
"links": [
179
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "974dd656dab305f7fa122cca435759105ea44488",
"Node name for S&R": "WanVideoLoraSelect"
},
"widgets_values": [
"Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors",
1.2000000000000002,
false,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 35,
"type": "WanVideoTorchCompileSettings",
"pos": [
-307.4797058105469,
-1197.4749755859375
],
"size": [
421.6000061035156,
202
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "torch_compile_args",
"type": "WANCOMPILEARGS",
"slot_index": 0,
"links": [
190
]
}
],
"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": [
119.37029266357422,
-926.8419799804688
],
"size": [
477.4410095214844,
314
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": 190
},
{
"name": "block_swap_args",
"shape": 7,
"type": "BLOCKSWAPARGS",
"link": 174
},
{
"name": "lora",
"shape": 7,
"type": "WANVIDLORA",
"link": 179
},
{
"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
},
{
"name": "vace_model",
"shape": 7,
"type": "VACEPATH",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"slot_index": 0,
"links": [
29,
103
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoModelLoader"
},
"widgets_values": [
"WanVideo\\Wan2_1-FLF2V-14B-720P_fp8_e4m3fn.safetensors",
"fp16_fast",
"fp8_e4m3fn",
"offload_device",
"sageattn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 27,
"type": "WanVideoSampler",
"pos": [
1309.790283203125,
-404.7504577636719
],
"size": [
315,
907
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 29
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 133
},
{
"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": 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": 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": [
166
]
},
{
"name": "denoised_samples",
"type": "LATENT",
"links": null
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
"Node name for S&R": "WanVideoSampler"
},
"widgets_values": [
6,
1.0000000000000002,
5.000000000000001,
43,
"fixed",
true,
"dpm++_sde",
0,
1,
"",
"comfy",
0,
-1,
false
]
}
],
"links": [
[
15,
11,
0,
16,
0,
"WANTEXTENCODER"
],
[
29,
22,
0,
27,
0,
"WANVIDEOMODEL"
],
[
30,
16,
0,
27,
2,
"WANVIDEOTEXTEMBEDS"
],
[
52,
48,
0,
49,
0,
"CLIP"
],
[
53,
48,
0,
50,
0,
"CLIP"
],
[
54,
49,
0,
46,
0,
"CONDITIONING"
],
[
55,
50,
0,
46,
1,
"CONDITIONING"
],
[
90,
71,
0,
30,
0,
"IMAGE"
],
[
103,
22,
0,
16,
1,
"WANVIDEOMODEL"
],
[
133,
89,
0,
27,
1,
"WANVIDIMAGE_EMBEDS"
],
[
141,
91,
0,
88,
1,
"IMAGE"
],
[
144,
92,
0,
89,
3,
"IMAGE"
],
[
147,
93,
0,
95,
0,
"IMAGE"
],
[
148,
95,
0,
70,
0,
"IMAGE"
],
[
149,
94,
0,
96,
0,
"IMAGE"
],
[
150,
96,
0,
70,
1,
"IMAGE"
],
[
151,
68,
2,
97,
0,
"INT"
],
[
152,
97,
0,
71,
1,
"IMAGE"
],
[
158,
70,
0,
71,
2,
"IMAGE"
],
[
164,
68,
0,
71,
0,
"IMAGE"
],
[
165,
38,
0,
101,
0,
"WANVAE"
],
[
166,
27,
0,
101,
1,
"LATENT"
],
[
167,
101,
0,
68,
0,
"IMAGE"
],
[
170,
38,
0,
89,
0,
"WANVAE"
],
[
171,
91,
0,
89,
2,
"IMAGE"
],
[
172,
88,
0,
89,
1,
"WANVIDIMAGE_CLIPEMBEDS"
],
[
174,
39,
0,
22,
1,
"BLOCKSWAPARGS"
],
[
176,
92,
0,
88,
2,
"IMAGE"
],
[
179,
106,
0,
22,
2,
"WANVIDLORA"
],
[
180,
59,
0,
88,
0,
"CLIP_VISION"
],
[
181,
63,
0,
107,
0,
"IMAGE"
],
[
182,
107,
0,
91,
0,
"IMAGE"
],
[
184,
108,
0,
92,
0,
"IMAGE"
],
[
185,
58,
0,
108,
0,
"IMAGE"
],
[
186,
107,
1,
108,
2,
"INT"
],
[
187,
107,
2,
108,
3,
"INT"
],
[
188,
108,
1,
89,
8,
"INT"
],
[
189,
108,
2,
89,
9,
"INT"
],
[
190,
35,
0,
22,
0,
"WANCOMPILEARGS"
]
],
"groups": [
{
"id": 1,
"title": "ComfyUI text encoding alternative",
"bounding": [
-387.2457275390625,
351.45703125,
1210.621337890625,
805.9080810546875
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6115909044841886,
"offset": [
710.2610924809787,
967.8431584929548
]
},
"frontendVersion": "1.26.3",
"node_versions": {
"ComfyUI-WanVideoWrapper": "f8f423eceeadf2edcb58fab73701333e83ca733e",
"comfy-core": "0.3.26",
"ComfyUI_essentials": "76e9d1e4399bd025ce8b12c290753d58f9f53e93",
"ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
"ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}