diff --git a/example_workflows/example_inputs/jeep.mp4 b/example_workflows/example_inputs/jeep.mp4 new file mode 100644 index 0000000..a6b98e2 Binary files /dev/null and b/example_workflows/example_inputs/jeep.mp4 differ diff --git a/example_workflows/wanvideo_2_2_14B_Pusa_extension_example_01.json b/example_workflows/wanvideo_2_2_14B_Pusa_extension_example_01.json new file mode 100644 index 0000000..0c59d29 --- /dev/null +++ b/example_workflows/wanvideo_2_2_14B_Pusa_extension_example_01.json @@ -0,0 +1,3837 @@ +{ + "id": "206247b6-9fec-4ed2-8927-e4f388c674d4", + "revision": 0, + "last_node_id": 179, + "last_link_id": 330, + "nodes": [ + { + "id": 48, + "type": "CLIPLoader", + "pos": [ + -2030.9224853515625, + -1475.544189453125 + ], + "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": 51, + "type": "Note", + "pos": [ + -2000.9222412109375, + -1645.544921875 + ], + "size": [ + 253.16725158691406, + 88 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "You can also use native ComfyUI text encoding with these nodes instead of the original, the models are node specific and can't otherwise be mixed." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 22, + "type": "WanVideoModelLoader", + "pos": [ + -576.3992309570312, + -1308.1802978515625 + ], + "size": [ + 477.4410095214844, + 314 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 119 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": null + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 151 + }, + { + "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": [ + 120 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "WanVideo\\2_2\\Wan2_2-T2V-A14B-HIGH_fp8_e4m3fn_scaled_KJ.safetensors", + "fp16_fast", + "fp8_e4m3fn_scaled", + "offload_device", + "sageattn" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 49, + "type": "CLIPTextEncode", + "pos": [ + -1670.922607421875, + -1475.544189453125 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 52 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 54 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.26", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "high quality nature video featuring a red panda balancing on a bamboo stem while a bird lands on it's head, on the background there is a waterfall" + ] + }, + { + "id": 50, + "type": "CLIPTextEncode", + "pos": [ + -1670.922607421875, + -1225.543701171875 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 22, + "mode": 0, + "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": 46, + "type": "WanVideoTextEmbedBridge", + "pos": [ + -1220.92333984375, + -1485.5440673828125 + ], + "size": [ + 315, + 46 + ], + "flags": {}, + "order": 30, + "mode": 0, + "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": 113, + "type": "PrimitiveNode", + "pos": [ + 613.6332397460938, + 197.77163696289062 + ], + "size": [ + 210, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "widget": { + "name": "shift" + }, + "links": [ + 198, + 199 + ] + } + ], + "title": "shift", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 5, + "fixed" + ] + }, + { + "id": 118, + "type": "WanVideoTinyVAELoader", + "pos": [ + 673.135009765625, + 481.68524169921875 + ], + "size": [ + 271.8853454589844, + 106 + ], + "flags": {}, + "order": 3, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "vae", + "type": "WANVAE", + "links": [ + 212 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "493106b55551eb7db22e1d6b67023d2ed400b6d7", + "Node name for S&R": "WanVideoTinyVAELoader" + }, + "widgets_values": [ + "taew2_1.safetensors", + "fp16", + false + ] + }, + { + "id": 35, + "type": "WanVideoTorchCompileSettings", + "pos": [ + 402.2531433105469, + -1790.77880859375 + ], + "size": [ + 390.5999755859375, + 202 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "torch_compile_args", + "type": "WANCOMPILEARGS", + "slot_index": 0, + "links": [ + 119, + 131 + ] + } + ], + "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": 39, + "type": "WanVideoBlockSwap", + "pos": [ + 815.397216796875, + -1788.5692138671875 + ], + "size": [ + 315, + 202 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "block_swap_args", + "type": "BLOCKSWAPARGS", + "slot_index": 0, + "links": [ + 122, + 192 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoBlockSwap" + }, + "widgets_values": [ + 30, + false, + false, + false, + 0, + 0, + false + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 84, + "type": "MarkdownNote", + "pos": [ + -542.3338623046875, + -2024.3671875 + ], + "size": [ + 685.2324829101562, + 163.58827209472656 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "LoRA links:\n\nPusa:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Pusa](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Pusa)\n\nDistill:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 86, + "type": "WanVideoSetBlockSwap", + "pos": [ + 44.63253402709961, + -1299.920166015625 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 120 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 122 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 121 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 93, + "type": "WanVideoLoraSelectMulti", + "pos": [ + 1260.6829833984375, + -1707.27978515625 + ], + "size": [ + 600.2866821289062, + 342 + ], + "flags": {}, + "order": 7, + "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": [ + 134 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoLoraSelectMulti" + }, + "widgets_values": [ + "WanVideo\\Pusa\\Wan22_PusaV1_lora_LOW_resized_dynamic_avg_rank_98_bf16.safetensors", + 1.4, + "WanVideo\\Lightx2v\\lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors", + 1, + "none", + 1, + "none", + 1, + "none", + 1, + false, + false + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 92, + "type": "WanVideoModelLoader", + "pos": [ + 1270.714111328125, + -1288.245849609375 + ], + "size": [ + 477.4410095214844, + 314 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 131 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": null + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 134 + }, + { + "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": [ + 129 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "WanVideo\\2_2\\Wan2_2-T2V-A14B-LOW_fp8_e4m3fn_scaled_KJ.safetensors", + "fp16_fast", + "fp8_e4m3fn_scaled", + "offload_device", + "sageattn" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 91, + "type": "WanVideoSetBlockSwap", + "pos": [ + 1788.243408203125, + -1281.306884765625 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 129 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 192 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 135 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 96, + "type": "WanVideoSigmaToStep", + "pos": [ + 579.4447021484375, + -65.20052337646484 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "step", + "type": "INT", + "links": [ + 188, + 189 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoSigmaToStep" + }, + "widgets_values": [ + 0.875 + ] + }, + { + "id": 94, + "type": "WanVideoScheduler", + "pos": [ + 933.552734375, + -192.7187042236328 + ], + "size": [ + 281.8304443359375, + 471.368408203125 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "steps", + "type": "INT", + "widget": { + "name": "steps" + }, + "link": 149 + }, + { + "name": "shift", + "type": "FLOAT", + "widget": { + "name": "shift" + }, + "link": 199 + }, + { + "name": "end_step", + "type": "INT", + "widget": { + "name": "end_step" + }, + "link": 188 + } + ], + "outputs": [ + { + "name": "sigmas", + "type": "SIGMAS", + "links": null + }, + { + "name": "steps", + "type": "INT", + "links": [ + 178 + ] + }, + { + "name": "shift", + "type": "FLOAT", + "links": [ + 179 + ] + }, + { + "name": "scheduler", + "type": "COMBO", + "links": [ + 180 + ] + }, + { + "name": "start_step", + "type": "INT", + "links": [ + 181 + ] + }, + { + "name": "end_step", + "type": "INT", + "links": [ + 182 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoScheduler" + }, + "widgets_values": [ + "flowmatch_pusa", + 6, + 5, + 0, + 3, + "" + ] + }, + { + "id": 95, + "type": "WanVideoScheduler", + "pos": [ + 1618.71337890625, + -176.44093322753906 + ], + "size": [ + 288.91827392578125, + 460.29937744140625 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "steps", + "type": "INT", + "widget": { + "name": "steps" + }, + "link": 216 + }, + { + "name": "shift", + "type": "FLOAT", + "widget": { + "name": "shift" + }, + "link": 198 + }, + { + "name": "start_step", + "type": "INT", + "widget": { + "name": "start_step" + }, + "link": 189 + } + ], + "outputs": [ + { + "name": "sigmas", + "type": "SIGMAS", + "links": null + }, + { + "name": "steps", + "type": "INT", + "links": [ + 185 + ] + }, + { + "name": "shift", + "type": "FLOAT", + "links": [ + 186 + ] + }, + { + "name": "scheduler", + "type": "COMBO", + "links": [ + 187 + ] + }, + { + "name": "start_step", + "type": "INT", + "links": [ + 183 + ] + }, + { + "name": "end_step", + "type": "INT", + "links": [ + 184 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoScheduler" + }, + "widgets_values": [ + "flowmatch_pusa", + 6, + 5, + 3, + -1, + "" + ] + }, + { + "id": 133, + "type": "GetNode", + "pos": [ + 2308.24658203125, + -689.389892578125 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "links": [ + 249 + ] + } + ], + "title": "Get_VAE", + "properties": {}, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 119, + "type": "WanVideoDecode", + "pos": [ + 994.988037109375, + 489.5947265625 + ], + "size": [ + 270, + 198 + ], + "flags": {}, + "order": 49, + "mode": 2, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 212 + }, + { + "name": "samples", + "type": "LATENT", + "link": 213 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 214 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "493106b55551eb7db22e1d6b67023d2ed400b6d7", + "Node name for S&R": "WanVideoDecode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128, + "default" + ] + }, + { + "id": 120, + "type": "VHS_VideoCombine", + "pos": [ + 1300.8782958984375, + 486.1534118652344 + ], + "size": [ + 484.2899169921875, + 633.7168579101562 + ], + "flags": {}, + "order": 51, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 214 + }, + { + "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_Pusa22", + "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_Pusa22_00089.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideoWrapper_Pusa22_00089.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_Pusa22_00089.mp4" + } + } + } + }, + { + "id": 70, + "type": "WanVideoEncode", + "pos": [ + -1105.7413330078125, + -646.7596435546875 + ], + "size": [ + 270, + 242 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 250 + }, + { + "name": "image", + "type": "IMAGE", + "link": 260 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 252 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "17d48e3e450c7e75f60566e787404cb3d917f48e", + "Node name for S&R": "WanVideoEncode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128, + 0, + 1 + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 134, + "type": "GetNode", + "pos": [ + -1099.438232421875, + -699.9598999023438 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "links": [ + 250 + ] + } + ], + "title": "Get_VAE", + "properties": {}, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 137, + "type": "PreviewAny", + "pos": [ + -789.9646606445312, + -38.30912780761719 + ], + "size": [ + 334.31610107421875, + 88 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 255 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [] + }, + { + "id": 141, + "type": "Note", + "pos": [ + -786.44921875, + 91.5452880859375 + ], + "size": [ + 297.9857177734375, + 88 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "noise multipliers for each input LATENT" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 135, + "type": "GetLatentSizeAndCount", + "pos": [ + -808.2391967773438, + -638.9867553710938 + ], + "size": [ + 190.87850952148438, + 126 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "latent", + "type": "LATENT", + "link": 252 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 253 + ] + }, + { + "label": "1 batch", + "name": "batch_size", + "type": "INT", + "links": null + }, + { + "label": "16 channels", + "name": "channels", + "type": "INT", + "links": null + }, + { + "label": "6 frames", + "name": "frames", + "type": "INT", + "links": [ + 270 + ] + }, + { + "label": "60 height", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "104 width", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d", + "Node name for S&R": "GetLatentSizeAndCount" + } + }, + { + "id": 151, + "type": "SetNode", + "pos": [ + -1044.1217041015625, + -17.777036666870117 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 286 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "title": "Set_input_frames_start", + "properties": { + "previousName": "input_frames_start" + }, + "widgets_values": [ + "input_frames_start" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 140, + "type": "GetNode", + "pos": [ + 2329.59765625, + -345.0655212402344 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 262 + ] + } + ], + "title": "Get_input_frames_end", + "properties": {}, + "widgets_values": [ + "input_frames_end" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 28, + "type": "WanVideoDecode", + "pos": [ + 2301.1787109375, + -621.9815673828125 + ], + "size": [ + 315, + 198 + ], + "flags": {}, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 249 + }, + { + "name": "samples", + "type": "LATENT", + "link": 127 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 221, + 289 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoDecode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128, + "default" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 154, + "type": "VHS_VideoCombine", + "pos": [ + 2784.320556640625, + -362.49713134765625 + ], + "size": [ + 1147.636962890625, + 998.559814453125 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 291 + }, + { + "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_Pusa22", + "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_Pusa22_00144.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideoWrapper_Pusa22_00144.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_Pusa22_00144.mp4" + } + } + } + }, + { + "id": 123, + "type": "ImageConcatMulti", + "pos": [ + 2322.813720703125, + -289.6140441894531 + ], + "size": [ + 270, + 150 + ], + "flags": { + "collapsed": true + }, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "image_1", + "type": "IMAGE", + "link": 221 + }, + { + "name": "image_2", + "shape": 7, + "type": "IMAGE", + "link": 262 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 222 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d" + }, + "widgets_values": [ + 2, + "left", + false, + null + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 149, + "type": "GetImageRangeFromBatch", + "pos": [ + -1441.679931640625, + -623.0253295898438 + ], + "size": [ + 280.3267517089844, + 102 + ], + "flags": { + "collapsed": true + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 279 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": 282 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 284 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d", + "Node name for S&R": "GetImageRangeFromBatch" + }, + "widgets_values": [ + -1, + 13 + ] + }, + { + "id": 139, + "type": "SetNode", + "pos": [ + -1361.23046875, + -685.0119018554688 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 284 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 260 + ] + } + ], + "title": "Set_input_frames_end", + "properties": { + "previousName": "input_frames_end" + }, + "widgets_values": [ + "input_frames_end" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 146, + "type": "GetImageRangeFromBatch", + "pos": [ + -1432.2802734375, + -475.02203369140625 + ], + "size": [ + 340.3267517089844, + 102 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 276 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": 285 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 286 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d", + "Node name for S&R": "GetImageRangeFromBatch" + }, + "widgets_values": [ + 0, + 1 + ] + }, + { + "id": 150, + "type": "SimpleMath+", + "pos": [ + -1431.6959228515625, + -418.46044921875 + ], + "size": [ + 270, + 98 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "a", + "shape": 7, + "type": "*", + "link": 280 + }, + { + "name": "b", + "shape": 7, + "type": "*", + "link": 281 + }, + { + "name": "c", + "shape": 7, + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 285 + ] + }, + { + "name": "FLOAT", + "type": "FLOAT", + "links": null + } + ], + "properties": { + "aux_id": "kijai/ComfyUI_essentials", + "ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93", + "Node name for S&R": "SimpleMath+" + }, + "widgets_values": [ + "a-b" + ] + }, + { + "id": 78, + "type": "WanVideoEmptyEmbeds", + "pos": [ + -1354.1356201171875, + -166.0693817138672 + ], + "size": [ + 272.431640625, + 126 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "control_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + }, + { + "name": "extra_latents", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 100 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 101 + }, + { + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": 315 + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 175 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "6bc53b771d5d2af316801cb69e2ee10dbf7d18b1", + "Node name for S&R": "WanVideoEmptyEmbeds" + }, + "widgets_values": [ + 832, + 480, + 81 + ] + }, + { + "id": 38, + "type": "WanVideoVAELoader", + "pos": [ + 518.566650390625, + -1417.95458984375 + ], + "size": [ + 372.7727966308594, + 82 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "name": "vae", + "type": "WANVAE", + "slot_index": 0, + "links": [ + 248 + ] + } + ], + "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": 132, + "type": "SetNode", + "pos": [ + 917.1482543945312, + -1399.41845703125 + ], + "size": [ + 211.09017944335938, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "link": 248 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_VAE", + "properties": { + "previousName": "VAE" + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 106, + "type": "WanVideoTextEncodeCached", + "pos": [ + 505.50579833984375, + -1216.821533203125 + ], + "size": [ + 418.53076171875, + 344.5120849609375 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "extender_args", + "shape": 7, + "type": "WANVIDEOPROMPTEXTENDER_ARGS", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 173, + 174 + ] + }, + { + "name": "negative_text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [] + }, + { + "name": "positive_prompt", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoTextEncodeCached" + }, + "widgets_values": [ + "umt5-xxl-enc-bf16.safetensors", + "bf16", + "a jeep is driving on a road", + "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards\"", + "disabled", + true, + "gpu" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 107, + "type": "WanVideoAddExtraLatent", + "pos": [ + -434.7816162109375, + -469.0032043457031 + ], + "size": [ + 271.8990173339844, + 78 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 175 + }, + { + "name": "extra_latents", + "type": "LATENT", + "link": 253 + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 320 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9038d575f780107d2ef907761369bf3fbcbeb2f", + "Node name for S&R": "WanVideoAddExtraLatent" + }, + "widgets_values": [ + 0 + ] + }, + { + "id": 121, + "type": "WanVideoAddPusaNoise", + "pos": [ + 1624.2816162109375, + -323.1701965332031 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 322 + }, + { + "name": "noise_multipliers", + "type": "FLOAT", + "widget": { + "name": "noise_multipliers" + }, + "link": 319 + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 219 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "493106b55551eb7db22e1d6b67023d2ed400b6d7", + "Node name for S&R": "WanVideoAddPusaNoise" + }, + "widgets_values": [ + 0, + 0 + ] + }, + { + "id": 148, + "type": "INTConstant", + "pos": [ + -1715.517822265625, + -217.83059692382812 + ], + "size": [ + 200, + 58 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 281, + 282 + ] + } + ], + "title": "input_frame_count", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d", + "Node name for S&R": "INTConstant" + }, + "widgets_values": [ + 24 + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 136, + "type": "CreateScheduleFloatList", + "pos": [ + -802.8733520507812, + -364.4529724121094 + ], + "size": [ + 318.3193054199219, + 264 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "steps", + "type": "INT", + "widget": { + "name": "steps" + }, + "link": 270 + } + ], + "outputs": [ + { + "name": "float_list", + "type": "FLOAT", + "links": [ + 255, + 317 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "02da8fed476b7d57eacd98138e2c8ba7c3140436", + "Node name for S&R": "CreateScheduleFloatList" + }, + "widgets_values": [ + 30, + 0, + 0.2, + 0, + "ease_out", + 0, + 1, + "[0.0, 0.07, 0.13, 0.17, 0.19, 0.2]" + ] + }, + { + "id": 100, + "type": "VHS_LoadVideo", + "pos": [ + -2090.029296875, + -640.4027099609375 + ], + "size": [ + 247.455078125, + 438.2285461425781 + ], + "flags": {}, + "order": 16, + "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", + "links": [ + 275 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": [ + 280 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "8e4d79471bf1952154768e8435a9300077b534fa", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "jeep.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": "jeep.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": 71, + "type": "ImageResizeKJv2", + "pos": [ + -1780.587158203125, + -634.1947021484375 + ], + "size": [ + 270, + 336 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 275 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 276, + 279 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 100 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 101 + ] + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "ad37ce656c13e9abea002b46e3a89be3dba32355", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 832, + 480, + "lanczos", + "crop", + "0, 0, 0", + "center", + 16, + "cpu", + "