Skip to content

Instantly share code, notes, and snippets.

@gin-melodic
Created August 5, 2025 07:51
Show Gist options
  • Select an option

  • Save gin-melodic/1f3a6f50e8b3475300f76ae71bfa0e0e to your computer and use it in GitHub Desktop.

Select an option

Save gin-melodic/1f3a6f50e8b3475300f76ae71bfa0e0e to your computer and use it in GitHub Desktop.
Wan2_2_i2v_f8_60fps
{
"id": "b694ac92-1b99-4a7a-a55c-843c4aecb3fb",
"revision": 0,
"last_node_id": 51,
"last_link_id": 91,
"nodes": [
{
"id": 1,
"type": "WanVideoModelLoader",
"pos": [
-4050,
-20
],
"size": [
271.083984375,
274
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": null
},
{
"name": "block_swap_args",
"shape": 7,
"type": "BLOCKSWAPARGS",
"link": 1
},
{
"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",
"links": [
4
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoModelLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan2_2-I2V-A14B-HIGH_fp8_e4m3fn_scaled_KJ.safetensors",
"bf16",
"fp8_e4m3fn_scaled",
"offload_device",
"sageattn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 2,
"type": "WanVideoBlockSwap",
"pos": [
-4380,
0
],
"size": [
281.404296875,
154
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"links": [
1
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoBlockSwap",
"widget_ue_connectable": {}
},
"widgets_values": [
40,
true,
true,
false,
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 4,
"type": "WanVideoBlockSwap",
"pos": [
-4380,
210
],
"size": [
281.404296875,
154
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"links": [
2
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoBlockSwap",
"widget_ue_connectable": {}
},
"widgets_values": [
40,
true,
true,
false,
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 5,
"type": "WanVideoLoraSelect",
"pos": [
-4380,
410
],
"size": [
270,
150
],
"flags": {},
"order": 2,
"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": [
3
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoLoraSelect",
"widget_ue_connectable": {}
},
"widgets_values": [
"lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1,
false,
true
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 3,
"type": "WanVideoModelLoader",
"pos": [
-4050,
300
],
"size": [
271.083984375,
274
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": null
},
{
"name": "block_swap_args",
"shape": 7,
"type": "BLOCKSWAPARGS",
"link": 2
},
{
"name": "lora",
"shape": 7,
"type": "WANVIDLORA",
"link": 3
},
{
"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",
"links": [
5
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoModelLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan2_2-I2V-A14B-LOW_fp8_e4m3fn_scaled_KJ.safetensors",
"bf16",
"fp8_e4m3fn_scaled",
"offload_device",
"sageattn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 9,
"type": "SetNode",
"pos": [
-3700,
-210
],
"size": [
210,
60
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "WANVIDEOMODEL",
"type": "WANVIDEOMODEL",
"link": 5
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_LOW_MODEL",
"properties": {
"previousName": "LOW_MODEL",
"widget_ue_connectable": {}
},
"widgets_values": [
"LOW_MODEL"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 8,
"type": "SetNode",
"pos": [
-3700,
-320
],
"size": [
210,
60
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "WANVIDEOMODEL",
"type": "WANVIDEOMODEL",
"link": 4
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"title": "Set_HIGH_MODEL",
"properties": {
"previousName": "HIGH_MODEL",
"widget_ue_connectable": {}
},
"widgets_values": [
"HIGH_MODEL"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 37,
"type": "Anything Everywhere",
"pos": [
-4320,
660
],
"size": [
172.18905639648438,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"color_on": "",
"label": "WANVAE",
"name": "anything",
"shape": 7,
"type": "*",
"link": 63
}
],
"outputs": [],
"properties": {
"cnr_id": "cg-use-everywhere",
"ver": "6.2.2",
"Node name for S&R": "Anything Everywhere",
"group_restricted": 0,
"color_restricted": 0,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 7,
"type": "WanVideoVAELoader",
"pos": [
-4370,
630
],
"size": [
270,
82
],
"flags": {
"collapsed": false
},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "WANVAE",
"links": [
63
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoVAELoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan2_1_VAE_bf16.safetensors",
"bf16"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 39,
"type": "Anything Everywhere",
"pos": [
-4300,
800
],
"size": [
172.18905639648438,
26
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"color_on": "",
"label": "UPSCALE_MODEL",
"name": "anything",
"shape": 7,
"type": "*",
"link": 64
}
],
"outputs": [],
"properties": {
"cnr_id": "cg-use-everywhere",
"ver": "6.2.2",
"Node name for S&R": "Anything Everywhere",
"group_restricted": 0,
"color_restricted": 0,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 38,
"type": "UpscaleModelLoader",
"pos": [
-4370,
780
],
"size": [
270,
58
],
"flags": {
"collapsed": false
},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
64
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "UpscaleModelLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"RealESRGAN_x4plus.pth"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 18,
"type": "easy globalSeed",
"pos": [
-4050,
680
],
"size": [
270,
130
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "1.3.1",
"Node name for S&R": "easy globalSeed",
"widget_ue_connectable": {}
},
"widgets_values": [
0,
true,
"randomize",
""
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 10,
"type": "LoadImage",
"pos": [
-3670,
-30
],
"size": [
270,
314.00006103515625
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "LoadImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"明日香.jpeg",
"image"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 12,
"type": "PreviewImage",
"pos": [
-3370,
350
],
"size": [
270,
260
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "PreviewImage",
"widget_ue_connectable": {}
},
"widgets_values": [],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 11,
"type": "ImageResizeKJv2",
"pos": [
-3370,
20
],
"size": [
270,
266
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 6
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14,
15
]
},
{
"name": "width",
"type": "INT",
"links": [
17
]
},
{
"name": "height",
"type": "INT",
"links": [
18
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {}
},
"widgets_values": [
480,
832,
"lanczos",
"crop",
"0, 0, 0",
"center",
32,
"cpu"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 17,
"type": "WanVideoImageToVideoEncode",
"pos": [
-3040,
-20
],
"size": [
308.2320251464844,
390
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": null
},
{
"name": "clip_embeds",
"shape": 7,
"type": "WANVIDIMAGE_CLIPEMBEDS",
"link": null
},
{
"name": "start_image",
"shape": 7,
"type": "IMAGE",
"link": 15
},
{
"name": "end_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"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": 17
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 18
}
],
"outputs": [
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [
23
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoImageToVideoEncode",
"widget_ue_connectable": {
"width": false
}
},
"widgets_values": [
832,
480,
81,
0,
1,
1,
true,
false,
false
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 6,
"type": "LoadWanVideoT5TextEncoder",
"pos": [
-3410,
700
],
"size": [
317.0298767089844,
130
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "wan_t5_model",
"type": "WANTEXTENCODER",
"links": [
11
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "LoadWanVideoT5TextEncoder",
"widget_ue_connectable": {}
},
"widgets_values": [
"umt5-xxl-enc-bf16.safetensors",
"bf16",
"offload_device",
"fp8_e4m3fn"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 28,
"type": "Anything Everywhere3",
"pos": [
-2710,
-230
],
"size": [
186.23828125,
66
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"color_on": "",
"label": "WANVIDEOTEXTEMBEDS",
"name": "anything",
"shape": 7,
"type": "*",
"link": 22
},
{
"color_on": "",
"label": "WANVIDIMAGE_EMBEDS",
"name": "anything2",
"shape": 7,
"type": "*",
"link": 23
},
{
"label": "anything",
"name": "anything3",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [],
"title": "Image And Text",
"properties": {
"cnr_id": "cg-use-everywhere",
"ver": "6.2.2",
"Node name for S&R": "Anything Everywhere3",
"group_restricted": 0,
"color_restricted": 0,
"widget_ue_connectable": {}
},
"widgets_values": [],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 20,
"type": "INTConstant",
"pos": [
-2500,
-40
],
"size": [
210,
58
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "value",
"type": "INT",
"links": [
19,
29,
30
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2",
"Node name for S&R": "INTConstant",
"widget_ue_connectable": {}
},
"widgets_values": [
8
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 21,
"type": "INTConstant",
"pos": [
-2490,
70
],
"size": [
210,
58
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "value",
"type": "INT",
"links": [
28,
51
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2",
"Node name for S&R": "INTConstant",
"widget_ue_connectable": {}
},
"widgets_values": [
4
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 22,
"type": "CreateCFGScheduleFloatList",
"pos": [
-2490,
180
],
"size": [
298.3199157714844,
178
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 19
}
],
"outputs": [
{
"name": "float_list",
"type": "FLOAT",
"links": [
20,
24
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "CreateCFGScheduleFloatList",
"widget_ue_connectable": {}
},
"widgets_values": [
30,
3.5,
1.8,
"linear",
0,
0.2
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 23,
"type": "PreviewAny",
"pos": [
-2480,
410
],
"size": [
310,
90
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 20
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "PreviewAny",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 25,
"type": "WanVideoSampler",
"pos": [
-2120,
-30
],
"size": [
287.421875,
690
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 21
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": null
},
{
"name": "text_embeds",
"shape": 7,
"type": "WANVIDEOTEXTEMBEDS",
"link": null
},
{
"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
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 29
},
{
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": 24
},
{
"name": "end_step",
"shape": 7,
"type": "INT",
"widget": {
"name": "end_step"
},
"link": 51
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
27,
31
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoSampler",
"widget_ue_connectable": {}
},
"widgets_values": [
30,
6,
8.000000000000002,
914739333420463,
"randomize",
true,
"unipc",
0,
1,
false,
"comfy",
0,
-1,
false
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 26,
"type": "GetNode",
"pos": [
-2120,
-200
],
"size": [
210,
60
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "WANVIDEOMODEL",
"type": "WANVIDEOMODEL",
"links": [
21
]
}
],
"title": "Get_HIGH_MODEL",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"HIGH_MODEL"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 30,
"type": "GetNode",
"pos": [
-1720,
-200
],
"size": [
210,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "WANVIDEOMODEL",
"type": "WANVIDEOMODEL",
"links": [
26
]
}
],
"title": "Get_LOW_MODEL",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"LOW_MODEL"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 29,
"type": "WanVideoSampler",
"pos": [
-1730,
-30
],
"size": [
287.421875,
690
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "WANVIDEOMODEL",
"link": 26
},
{
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": null
},
{
"name": "text_embeds",
"shape": 7,
"type": "WANVIDEOTEXTEMBEDS",
"link": null
},
{
"name": "samples",
"shape": 7,
"type": "LATENT",
"link": 27
},
{
"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
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 30
},
{
"name": "start_step",
"shape": 7,
"type": "INT",
"widget": {
"name": "start_step"
},
"link": 28
}
],
"outputs": [
{
"name": "samples",
"type": "LATENT",
"links": [
32,
34
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoSampler",
"widget_ue_connectable": {}
},
"widgets_values": [
30,
1.0000000000000002,
8.000000000000002,
394558079141750,
"randomize",
true,
"unipc",
0,
1,
false,
"comfy",
0,
-1,
false
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 40,
"type": "GetImageSize+",
"pos": [
-720,
-200
],
"size": [
214.20001220703125,
66
],
"flags": {
"collapsed": true
},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 65
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"slot_index": 0,
"links": [
66
]
},
{
"name": "height",
"type": "INT",
"slot_index": 1,
"links": [
69
]
},
{
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"Node name for S&R": "GetImageSize+",
"widget_ue_connectable": {},
"aux_id": "cubiq/ComfyUI_essentials"
},
"widgets_values": []
},
{
"id": 43,
"type": "Reroute",
"pos": [
-480,
-340
],
"size": [
75,
26
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 72
}
],
"outputs": [
{
"name": "",
"type": "FLOAT",
"links": [
67,
70
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"widget_ue_connectable": {}
}
},
{
"id": 44,
"type": "ImageFromBatch+",
"pos": [
-720,
-260
],
"size": [
315,
82
],
"flags": {
"collapsed": true
},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 68
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"Node name for S&R": "ImageFromBatch+",
"widget_ue_connectable": {},
"aux_id": "cubiq/ComfyUI_essentials"
},
"widgets_values": [
0,
1
]
},
{
"id": 42,
"type": "ImageListToImageBatch",
"pos": [
-740,
-310
],
"size": [
315,
26
],
"flags": {
"collapsed": true
},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 71
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
68
]
}
],
"properties": {
"cnr_id": "comfyui-impact-pack",
"ver": "808b0dedf03534a2594ecb60a9d6305a044efdc2",
"Node name for S&R": "ImageListToImageBatch",
"widget_ue_connectable": {},
"aux_id": "ltdrdata/ComfyUI-Impact-Pack"
},
"widgets_values": []
},
{
"id": 46,
"type": "Float",
"pos": [
-780,
-500
],
"size": [
270,
58
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
72
]
}
],
"title": "Upscale Factor",
"properties": {
"cnr_id": "ComfyLiterals",
"ver": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
"Node name for S&R": "Float",
"widget_ue_connectable": {}
},
"widgets_values": [
"1.5"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 33,
"type": "WanVideoDecode",
"pos": [
-1390,
0
],
"size": [
270,
198
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "WANVAE",
"link": null
},
{
"name": "samples",
"type": "LATENT",
"link": 34
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
35,
71,
73
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoDecode",
"widget_ue_connectable": {}
},
"widgets_values": [
false,
272,
272,
144,
128,
"default"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 45,
"type": "SimpleMath+",
"pos": [
-490,
-260
],
"size": [
315,
98
],
"flags": {
"collapsed": true
},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 69
},
{
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 70
},
{
"name": "c",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"slot_index": 0,
"links": [
74
]
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "height",
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"Node name for S&R": "SimpleMath+",
"widget_ue_connectable": {},
"aux_id": "cubiq/ComfyUI_essentials"
},
"widgets_values": [
"a*b"
]
},
{
"id": 41,
"type": "SimpleMath+",
"pos": [
-490,
-210
],
"size": [
315,
98
],
"flags": {
"collapsed": true
},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 66
},
{
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 67
},
{
"name": "c",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"slot_index": 0,
"links": [
75
]
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "width",
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"Node name for S&R": "SimpleMath+",
"widget_ue_connectable": {},
"aux_id": "cubiq/ComfyUI_essentials"
},
"widgets_values": [
"a*b"
]
},
{
"id": 48,
"type": "VHS_VideoCombine",
"pos": [
-410,
-20
],
"size": [
214.7587890625,
685.5819091796875
],
"flags": {},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 76
},
{
"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
}
],
"title": "Upscaled 24 FPS video",
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "8343122234b61a0f8eb3d1f3f98382b0f7aff2b9",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {},
"aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite"
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "Hunyuan/videos/24/vid",
"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": "vid_00006.mp4",
"subfolder": "Hunyuan\\videos\\24",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 24,
"workflow": "vid_00006.png",
"fullpath": "C:\\ai\\ComfyUI\\output\\Hunyuan\\videos\\24\\vid_00006.mp4"
},
"muted": false
}
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 47,
"type": "ImageScale",
"pos": [
-740,
-20
],
"size": [
275.5747985839844,
170
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 73
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 75
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 74
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
76,
77
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.15",
"Node name for S&R": "ImageScale",
"widget_ue_connectable": {
"width": true,
"height": true
}
},
"widgets_values": [
"lanczos",
1280,
720,
"center"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 36,
"type": "RAMCleanup",
"pos": [
-1060,
970
],
"size": [
270,
130
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 79
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_memory_cleanup",
"ver": "1.1.1",
"Node name for S&R": "RAMCleanup",
"widget_ue_connectable": {}
},
"widgets_values": [
true,
true,
true,
3
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 34,
"type": "VHS_VideoCombine",
"pos": [
-1050,
110
],
"size": [
220.5830078125,
695.6771850585938
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 35
},
{
"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": [
79
]
}
],
"title": "Initial 24FPS Video",
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "330bce6c3c0d47ebdedcc0348d9ab355707b7523",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "Wan2_2_fp8",
"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": "Wan2_2_fp8_00006.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 24,
"workflow": "Wan2_2_fp8_00006.png",
"fullpath": "C:\\ai\\ComfyUI\\output\\Wan2_2_fp8_00006.mp4"
}
}
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 32,
"type": "LayerUtility: PurgeVRAM V2",
"pos": [
-1730,
720
],
"size": [
270,
82
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 32
}
],
"outputs": [
{
"name": "any",
"type": "*",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_layerstyle",
"ver": "3bfe8e435d167b4a5bf08716729f89802dbbaa6f",
"Node name for S&R": "LayerUtility: PurgeVRAM V2",
"widget_ue_connectable": {}
},
"widgets_values": [
true,
true
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 24,
"type": "LayerUtility: PurgeVRAM V2",
"pos": [
-2120,
730
],
"size": [
270,
82
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 31
}
],
"outputs": [
{
"name": "any",
"type": "*",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_layerstyle",
"ver": "3bfe8e435d167b4a5bf08716729f89802dbbaa6f",
"Node name for S&R": "LayerUtility: PurgeVRAM V2",
"widget_ue_connectable": {}
},
"widgets_values": [
true,
true
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 49,
"type": "RIFE VFI",
"pos": [
-150,
-20
],
"size": [
349.6578063964844,
198
],
"flags": {},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "frames",
"type": "IMAGE",
"link": 77
},
{
"name": "optional_interpolation_states",
"shape": 7,
"type": "INTERPOLATION_STATES",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
78
]
}
],
"properties": {
"cnr_id": "comfyui-frame-interpolation",
"ver": "a969c01dbccd9e5510641be04eb51fe93f6bfc3d",
"Node name for S&R": "RIFE VFI",
"widget_ue_connectable": {}
},
"widgets_values": [
"rife49.pth",
5,
3,
false,
true,
1
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 14,
"type": "WanVideoTextEncode",
"pos": [
-3050,
420
],
"size": [
470,
450
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "t5",
"shape": 7,
"type": "WANTEXTENCODER",
"link": 11
},
{
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": null
}
],
"outputs": [
{
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"links": [
22
]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "e545b18627c6b286b068b840f246d0fe799a7632",
"Node name for S&R": "WanVideoTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"A girl smile and dance.保持脸部特征不变。",
"Overexposure, static, blurred details, subtitles, paintings, pictures, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, mutilated, redundant fingers, poorly painted hands, poorly painted faces, deformed, disfigured, deformed limbs, fused fingers, cluttered background, three legs, a lot of people in the background, upside down",
true,
false,
"gpu",
[
false,
true
],
[
false,
true
]
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 50,
"type": "VHS_VideoCombine",
"pos": [
260,
-20
],
"size": [
214.7587890625,
685.5819091796875
],
"flags": {},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 78
},
{
"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
}
],
"title": "Final 60 FPS Video",
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "8343122234b61a0f8eb3d1f3f98382b0f7aff2b9",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {},
"aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite"
},
"widgets_values": {
"frame_rate": 60,
"loop_count": 0,
"filename_prefix": "Hunyuan/videos/30/vid",
"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": "vid_00004.mp4",
"subfolder": "Hunyuan\\videos\\30",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 60,
"workflow": "vid_00004.png",
"fullpath": "C:\\ai\\ComfyUI\\output\\Hunyuan\\videos\\30\\vid_00004.mp4"
},
"muted": false
}
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 51,
"type": "Note",
"pos": [
-4420,
-260
],
"size": [
520,
110
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
""
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
1,
2,
0,
1,
1,
"BLOCKSWAPARGS"
],
[
2,
4,
0,
3,
1,
"BLOCKSWAPARGS"
],
[
3,
5,
0,
3,
2,
"WANVIDLORA"
],
[
4,
1,
0,
8,
0,
"*"
],
[
5,
3,
0,
9,
0,
"*"
],
[
6,
10,
0,
11,
0,
"IMAGE"
],
[
11,
6,
0,
14,
0,
"WANTEXTENCODER"
],
[
14,
11,
0,
12,
0,
"IMAGE"
],
[
15,
11,
0,
17,
2,
"IMAGE"
],
[
17,
11,
1,
17,
8,
"INT"
],
[
18,
11,
2,
17,
9,
"INT"
],
[
19,
20,
0,
22,
0,
"INT"
],
[
20,
22,
0,
23,
0,
"*"
],
[
21,
26,
0,
25,
0,
"WANVIDEOMODEL"
],
[
22,
14,
0,
28,
0,
"WANVIDEOTEXTEMBEDS"
],
[
23,
17,
0,
28,
1,
"WANVIDIMAGE_EMBEDS"
],
[
24,
22,
0,
25,
18,
"FLOAT"
],
[
26,
30,
0,
29,
0,
"WANVIDEOMODEL"
],
[
27,
25,
0,
29,
3,
"LATENT"
],
[
28,
21,
0,
29,
18,
"INT"
],
[
29,
20,
0,
25,
17,
"INT"
],
[
30,
20,
0,
29,
17,
"INT"
],
[
31,
25,
0,
24,
0,
"*"
],
[
32,
29,
0,
32,
0,
"*"
],
[
34,
29,
0,
33,
1,
"LATENT"
],
[
35,
33,
0,
34,
0,
"IMAGE"
],
[
51,
21,
0,
25,
19,
"INT"
],
[
63,
7,
0,
37,
0,
"WANVAE"
],
[
64,
38,
0,
39,
0,
"UPSCALE_MODEL"
],
[
65,
44,
0,
40,
0,
"IMAGE"
],
[
66,
40,
0,
41,
0,
"INT,FLOAT"
],
[
67,
43,
0,
41,
1,
"INT,FLOAT"
],
[
68,
42,
0,
44,
0,
"IMAGE"
],
[
69,
40,
1,
45,
0,
"INT,FLOAT"
],
[
70,
43,
0,
45,
1,
"INT,FLOAT"
],
[
71,
33,
0,
42,
0,
"IMAGE"
],
[
72,
46,
0,
43,
0,
"*"
],
[
73,
33,
0,
47,
0,
"IMAGE"
],
[
74,
45,
0,
47,
2,
"INT"
],
[
75,
41,
0,
47,
1,
"INT"
],
[
76,
47,
0,
48,
0,
"IMAGE"
],
[
77,
47,
0,
49,
0,
"IMAGE"
],
[
78,
49,
0,
50,
0,
"IMAGE"
],
[
79,
34,
0,
36,
0,
"*"
]
],
"groups": [
{
"id": 1,
"title": "LoadModel",
"bounding": [
-4410,
-120,
700,
1000
],
"color": "#88A",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Load Image",
"bounding": [
-3690,
-120,
1150,
1000
],
"color": "#A88",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "1st Pass",
"bounding": [
-2520,
-120,
1720,
1000
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Aspect Ratio Logic (Don't Touch)",
"bounding": [
-770,
-400,
410.4958801269531,
225.04132080078125
],
"color": "#fa0000",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "2nd Pass - Upscaling & Frame Interpolation",
"bounding": [
-780,
-120,
1340,
1000
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ue_links": [
{
"downstream": 17,
"downstream_slot": 0,
"upstream": "7",
"upstream_slot": 0,
"controller": 37,
"type": "WANVAE"
},
{
"downstream": 25,
"downstream_slot": 1,
"upstream": "17",
"upstream_slot": 0,
"controller": 28,
"type": "WANVIDIMAGE_EMBEDS"
},
{
"downstream": 25,
"downstream_slot": 2,
"upstream": "14",
"upstream_slot": 0,
"controller": 28,
"type": "WANVIDEOTEXTEMBEDS"
},
{
"downstream": 29,
"downstream_slot": 1,
"upstream": "17",
"upstream_slot": 0,
"controller": 28,
"type": "WANVIDIMAGE_EMBEDS"
},
{
"downstream": 29,
"downstream_slot": 2,
"upstream": "14",
"upstream_slot": 0,
"controller": 28,
"type": "WANVIDEOTEXTEMBEDS"
},
{
"downstream": 33,
"downstream_slot": 0,
"upstream": "7",
"upstream_slot": 0,
"controller": 37,
"type": "WANVAE"
}
],
"ds": {
"scale": 0.4950000000000003,
"offset": [
2474.4026046657245,
423.9426069862842
]
},
"links_added_by_ue": [
86,
87,
88,
89,
90,
91
],
"frontendVersion": "1.23.4",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment