Files
raindrop313-ComfyUI-WanVide…/example_workflows/Wan2.1_I2V_StartEndFrame_Workflow.json
T
2025-03-19 12:19:39 +08:00

869 lines
16 KiB
JSON

{
"last_node_id": 87,
"last_link_id": 107,
"nodes": [
{
"id": 30,
"type": "VHS_VideoCombine",
"pos": [
1694.858642578125,
570.8497314453125
],
"size": [
210,
453.9615478515625
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 102
},
{
"name": "audio",
"type": "AUDIO",
"shape": 7,
"link": null
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"shape": 7,
"link": null
},
{
"name": "vae",
"type": "VAE",
"shape": 7,
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"title": "480P",
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "4c7858ddd5126f7293dc3c9f6e0fc4c263cde079",
"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_00598.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "WanVideoWrapper_I2V_00598.png",
"fullpath": "/cfs-cq/sophiejiang/ComfyUI/output/WanVideoWrapper_I2V_00598.mp4"
}
}
}
},
{
"id": 60,
"type": "Note",
"pos": [
-1197.6680908203125,
96.31451416015625
],
"size": [
253.16725158691406,
88
],
"flags": {},
"order": 0,
"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": 81,
"type": "WanVideoStartEndSampler_2frames",
"pos": [
926.7401733398438,
369.2915954589844
],
"size": [
453.5999755859375,
390
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 107
},
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"link": 95
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 91
},
{
"name": "samples",
"type": "LATENT",
"shape": 7,
"link": null
},
{
"name": "feta_args",
"type": "FETAARGS",
"shape": 7,
"link": 92
},
{
"name": "context_options",
"type": "WANVIDCONTEXT",
"shape": 7,
"link": null
},
{
"name": "teacache_args",
"type": "TEACACHEARGS",
"shape": 7,
"link": 93
},
{
"name": "flowedit_args",
"type": "FLOWEDITARGS",
"shape": 7,
"link": null
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
97
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoStartEndSampler_2frames"
},
"widgets_values": [
30,
6,
5,
1001789441376328,
"randomize",
true,
"unipc",
0,
1
]
},
{
"id": 58,
"type": "LoadImage",
"pos": [
-1756.3026123046875,
440.4684753417969
],
"size": [
413.10479736328125,
498.3180847167969
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
87,
99
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.18",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"end_frame.png",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 82,
"type": "WanVideoStartEndDecode_2frames",
"pos": [
1786.1859130859375,
-151.71971130371094
],
"size": [
441,
214
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": 104
},
{
"name": "samples",
"type": "LATENT",
"link": 97
},
{
"name": "start",
"type": "IMAGE",
"link": 99
},
{
"name": "end",
"type": "IMAGE",
"link": 100
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
102
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoStartEndDecode_2frames"
},
"widgets_values": [
true,
272,
272,
144,
128
]
},
{
"id": 16,
"type": "WanVideoTextEncode",
"pos": [
107.43799591064453,
305.5315246582031
],
"size": [
420.30511474609375,
261.5306701660156
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "t5",
"type": "WANTEXTENCODER",
"link": 15
},
{
"name": "model_to_offload",
"type": "WANVIDEOMODEL",
"shape": 7,
"link": null
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"links": [
95
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoTextEncode"
},
"widgets_values": [
"两个角色搀扶着往前走,并看向彼此",
"色调艳丽,过曝,细节模糊不清,字幕,风格,作品,画作,画面,运动,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
true
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 85,
"type": "LoadWanVideoClipTextEncoder_2frames",
"pos": [
-829.1338500976562,
162.15457153320312
],
"size": [
441,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_clip_vision",
"type": "CLIP_VISION",
"links": [
105
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadWanVideoClipTextEncoder_2frames"
},
"widgets_values": [
"ft_local/open-clip-xlm-roberta-large-vit-huge-14_visual_fp32.safetensors",
"fp32",
"offload_device"
]
},
{
"id": 83,
"type": "WanVideoVAELoader_2frames",
"pos": [
125.07241821289062,
-263.2586975097656
],
"size": [
352.79998779296875,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "WANVAE",
"links": [
103,
104
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoVAELoader_2frames"
},
"widgets_values": [
"wan_2.1_vae.safetensors",
"bf16"
]
},
{
"id": 11,
"type": "LoadWanVideoT5TextEncoder",
"pos": [
-524.9284057617188,
-29.823974609375
],
"size": [
377.1661376953125,
130
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_t5_model",
"type": "WANTEXTENCODER",
"links": [
15
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadWanVideoT5TextEncoder"
},
"widgets_values": [
"ft_local/umt5-xxl-enc-bf16.safetensors",
"bf16",
"offload_device",
"disabled"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 39,
"type": "WanVideoBlockSwap",
"pos": [
-1330.6507568359375,
-418.16363525390625
],
"size": [
315,
130
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"links": [
106
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoBlockSwap"
},
"widgets_values": [
20,
false,
false,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 87,
"type": "WanVideoModelLoader_2frames",
"pos": [
-588.1751098632812,
-436.261962890625
],
"size": [
378,
214
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"type": "WANCOMPILEARGS",
"shape": 7,
"link": null
},
{
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"shape": 7,
"link": 106
},
{
"name": "lora",
"type": "WANVIDLORA",
"shape": 7,
"link": null
},
{
"name": "vram_management_args",
"type": "VRAM_MANAGEMENTARGS",
"shape": 7,
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"links": [
107
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoModelLoader_2frames"
},
"widgets_values": [
"ft_local/wan2.1_i2v_720p_14B_fp16.safetensors",
"fp16",
"disabled",
"offload_device",
"sdpa"
]
},
{
"id": 55,
"type": "WanVideoEnhanceAVideo",
"pos": [
887.888427734375,
-256.91546630859375
],
"size": [
315,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "feta_args",
"type": "FETAARGS",
"links": [
92
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoEnhanceAVideo"
},
"widgets_values": [
2,
0,
1
]
},
{
"id": 52,
"type": "WanVideoTeaCache",
"pos": [
885.9960327148438,
-476.69366455078125
],
"size": [
315,
154
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "teacache_args",
"type": "TEACACHEARGS",
"links": [
93
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoTeaCache"
},
"widgets_values": [
0.25,
1,
-1,
"offload_device",
"true"
]
},
{
"id": 69,
"type": "LoadImage",
"pos": [
-1740.4964599609375,
1026.31640625
],
"size": [
413.10479736328125,
498.3180847167969
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
88,
100
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.18",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"start_frame.png",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 80,
"type": "WanVideoStartEndImageClipEncode_2frames",
"pos": [
-358.740966796875,
1187.232177734375
],
"size": [
567,
286
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 105
},
{
"name": "start",
"type": "IMAGE",
"link": 87
},
{
"name": "end",
"type": "IMAGE",
"link": 88
},
{
"name": "vae",
"type": "WANVAE",
"link": 103
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [
91
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoStartEndImageClipEncode_2frames"
},
"widgets_values": [
832,
480,
81,
true,
0,
1,
1,
true
]
}
],
"links": [
[
15,
11,
0,
16,
0,
"WANTEXTENCODER"
],
[
87,
58,
0,
80,
1,
"IMAGE"
],
[
88,
69,
0,
80,
2,
"IMAGE"
],
[
91,
80,
0,
81,
2,
"WANVIDIMAGE_EMBEDS"
],
[
92,
55,
0,
81,
4,
"FETAARGS"
],
[
93,
52,
0,
81,
6,
"TEACACHEARGS"
],
[
95,
16,
0,
81,
1,
"WANVIDEOTEXTEMBEDS"
],
[
97,
81,
0,
82,
1,
"LATENT"
],
[
99,
58,
0,
82,
2,
"IMAGE"
],
[
100,
69,
0,
82,
3,
"IMAGE"
],
[
102,
82,
0,
30,
0,
"IMAGE"
],
[
103,
83,
0,
80,
3,
"WANVAE"
],
[
104,
83,
0,
82,
0,
"WANVAE"
],
[
105,
85,
0,
80,
0,
"CLIP_VISION"
],
[
106,
39,
0,
87,
1,
"BLOCKSWAPARGS"
],
[
107,
87,
0,
81,
0,
"WANVIDEOMODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 3.0273749771965517,
"offset": {
"0": -1524.655517578125,
"1": -825.6109008789062
}
},
"node_versions": {
"ComfyUI-WanVideoWrapper": "721cd65e7b5224c70a3d20446d9d561f1732216b",
"comfy-core": "0.3.19",
"ComfyUI-VideoHelperSuite": "2c25b8b53835aaeb63f831b3137c705cf9f85dce"
},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": []
},
"version": 0.4
}