{"id":"96995b8f-85c5-47af-b3cf-7b6a24675694","revision":0,"last_node_id":192,"last_link_id":285,"nodes":[{"id":68,"type":"CreateVideo","pos":[1370,50],"size":[270,78],"flags":{"collapsed":false},"order":36,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":139},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":null},{"localized_name":"fps","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[129]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"CreateVideo"},"widgets_values":[16]},{"id":48,"type":"ModelSamplingSD3","pos":[630,50],"size":[315,58],"flags":{},"order":22,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":276},{"localized_name":"shift","name":"shift","type":"FLOAT","widget":{"name":"shift"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[95]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"ModelSamplingSD3"},"widgets_values":[8.000000000000002]},{"id":49,"type":"WanVaceToVideo","pos":[634.6180419921875,153.07472229003906],"size":[315,254],"flags":{},"order":32,"mode":0,"inputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":96},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":97},{"localized_name":"vae","name":"vae","type":"VAE","link":260},{"localized_name":"control_video","name":"control_video","shape":7,"type":"IMAGE","link":275},{"localized_name":"control_masks","name":"control_masks","shape":7,"type":"MASK","link":204},{"localized_name":"reference_image","name":"reference_image","shape":7,"type":"IMAGE","link":null},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":215},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":217},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":209},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null},{"localized_name":"strength","name":"strength","type":"FLOAT","widget":{"name":"strength"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[98]},{"localized_name":"negative","name":"negative","type":"CONDITIONING","links":[99]},{"localized_name":"latent","name":"latent","type":"LATENT","links":[160]},{"localized_name":"trim_latent","name":"trim_latent","type":"INT","links":[115]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"WanVaceToVideo"},"widgets_values":[720,720,45,1,1]},{"id":153,"type":"MarkdownNote","pos":[646.3126220703125,455.0546569824219],"size":[310,110],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"title":"About Video Size","properties":{},"widgets_values":["| Model | 480P | 720P |\n| ------------------------------------------------------------ | ---- | ---- |\n| [VACE-1.3B](https://huggingface.co/Wan-AI/Wan2.1-VACE-1.3B) | ✅ | ❌ |\n| [VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B) | ✅ | ✅ |"],"color":"#432","bgcolor":"#653"},{"id":58,"type":"TrimVideoLatent","pos":[1000.3111572265625,359.673095703125],"size":[315,60],"flags":{"collapsed":true},"order":34,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":116},{"localized_name":"trim_amount","name":"trim_amount","type":"INT","widget":{"name":"trim_amount"},"link":115}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[117]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"TrimVideoLatent"},"widgets_values":[0]},{"id":8,"type":"VAEDecode","pos":[1172.2872314453125,361.1716003417969],"size":[315,46],"flags":{"collapsed":true},"order":35,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":117},{"localized_name":"vae","name":"vae","type":"VAE","link":261}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[139]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":154,"type":"MarkdownNote","pos":[997.2053833007812,402.0997619628906],"size":[303.90106201171875,158.5415802001953],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"title":"KSampler Setting","properties":{},"widgets_values":["## Default\n\n- steps:20\n- cfg:6.0\n\n## For CausVid LoRA\n\n- steps: 2-4\n- cfg: 1.0\n\n"],"color":"#432","bgcolor":"#653"},{"id":69,"type":"SaveVideo","pos":[1370,180],"size":[676.23095703125,835.7064985795455],"flags":{},"order":37,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":129},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"codec","name":"codec","type":"COMBO","widget":{"name":"codec"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"SaveVideo"},"widgets_values":["video/ComfyUI","auto","auto"]},{"id":135,"type":"PreviewImage","pos":[630,690],"size":[390,310],"flags":{},"order":28,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":274}],"outputs":[],"title":"Preview Image - Outpaint","properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":136,"type":"Note","pos":[1060,690],"size":[240,180],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Currently (May 18, 2025), the Comfy Core nodes lack relevant nodes for obtaining image size or video frames. Here, we can use the Preview image to indirectly obtain the image size and the total number of video frames.\n\nYou can use custom nodes such as image size acquisition to optimize the step of size modification.\n"],"color":"#432","bgcolor":"#653"},{"id":142,"type":"Note","pos":[339.02900177682017,1288.8407942058043],"size":[250,210],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Here, you need to manually set the size of the video after outpainting. Since the native nodes currently do not support the relevant functions, you can use some custom nodes to improve this step. Additionally, because the step size of the size setting for the WanVaceToVideo node is 16, the number you enter must be divisible by 16. "],"color":"#432","bgcolor":"#653"},{"id":184,"type":"MarkdownNote","pos":[-290,-190],"size":[410,140],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[],"title":"About CausVid LoRA","properties":{},"widgets_values":["We have added CausVid LoRA by default to achieve acceleration. However, in some cases, the video may shake and become blurry. You might need to test different LoRA intensities to get the best results, which should be between 0.3 and 0.7. If you don't need it, you can use the bypass mode to disable it, and then restore the settings of `KSampler` to the default ones.\n"],"color":"#432","bgcolor":"#653"},{"id":72,"type":"GetVideoComponents","pos":[-998.2888928512531,1044.7674722933407],"size":[250,66],"flags":{},"order":20,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":131}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":[272]},{"localized_name":"audio","name":"audio","type":"AUDIO","links":null},{"localized_name":"fps","name":"fps","type":"FLOAT","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"GetVideoComponents"},"widgets_values":[]},{"id":183,"type":"MarkdownNote","pos":[-1883.0919261417173,-333.39365183099625],"size":[470,780],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["[Tutorial](https://docs.comfy.org/tutorials/video/wan/vace)\n\n## 14B Support 480P 720P\n\n**Diffusion Model**\n- [wan2.1_vace_14B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_14B_T2V_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors)\n\nFYI: It takes about 40 minutes to run to completion at 81 frames per second in 720P resolution with the RTX 4090 when testing the workflow. \nAfter using Wan21_CausVid_14B_T2V_lora_rank32.safetensors, it probably only takes about 4 minutes. \n\n## 1.3B Support 480P only\n\n**Diffusion Model**\n- [wan2.1_vace_1.3B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_1.3B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors)\n\nFYI: After using Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors, it probably only takes about 2 minutes. \n## Other Models\n\n* You may already have these models if you use Wan workflow before.\n\n**VAE**\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true)\n\n**Text encoders** Chose one of following model\n- [umt5_xxl_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors?download=true)\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true)\n\n> You can choose between fp16 of fp8; I used fp16 to match what kijai's wrapper is compatible with.\n\nFile save location\n\n```\nComfyUI/\n├── models/\n│ ├── diffusion_models/\n│ │ ├-── wan2.1_vace_14B_fp16.safetensors\n│ │ └─── wan2.1_vace_1.3B_fp16.safetensors \n│ ├── text_encoders/\n│ │ └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors # or fp16\n│ ├── loras/\n│ │ ├── Wan21_CausVid_14B_T2V_lora_rank32.safetensors\n│ │ └── Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors\n│ └── vae/\n│ └── wan_2.1_vae.safetensors\n```\n"],"color":"#432","bgcolor":"#653"},{"id":143,"type":"PreviewImage","pos":[630,1070],"size":[390,270],"flags":{},"order":27,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":273}],"outputs":[],"title":"Preview Image - original","properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":7,"type":"CLIPTextEncode","pos":[151.23641846823017,145.82802769041433],"size":[420,190],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":278},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[97]}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"CLIPTextEncode"},"widgets_values":["bad quality, blurry, messy, chaotic"],"color":"#223","bgcolor":"#335"},{"id":158,"type":"UNETLoader","pos":[-1342.9612944345088,-259.4190371576928],"size":[350,82],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[235]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"UNETLoader","models":[{"name":"wan2.1_vace_1.3B_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_1.3B_fp16.safetensors","directory":"diffusion_models"}]},"widgets_values":["wan2.1_vace_1.3B_fp16.safetensors","default"]},{"id":151,"type":"UNETLoader","pos":[-777.5857847396285,-276.13702856742384],"size":[350,82],"flags":{},"order":7,"mode":4,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[241]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"UNETLoader","models":[{"name":"wan2.1_vace_14B_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors","directory":"diffusion_models"}]},"widgets_values":["wan2.1_vace_14B_fp16.safetensors","fp8_e4m3fn_fast"]},{"id":165,"type":"LoraLoader","pos":[-794.239470630351,-464.7695228879625],"size":[350,126],"flags":{},"order":19,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":241},{"localized_name":"clip","name":"clip","type":"CLIP","link":242},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null},{"localized_name":"strength_clip","name":"strength_clip","type":"FLOAT","widget":{"name":"strength_clip"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"LoraLoader","models":[{"name":"Wan21_CausVid_14B_T2V_lora_rank32.safetensors","url":"https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors","directory":"loras"}]},"widgets_values":["Wan21_CausVid_14B_T2V_lora_rank32.safetensors",0.4000000000000001,1]},{"id":160,"type":"CLIPLoader","pos":[-1374.495838849807,116.7656607779916],"size":[370,106],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":0,"links":[279]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"CLIPLoader","models":[{"name":"umt5_xxl_fp8_e4m3fn_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true","directory":"text_encoders"}]},"widgets_values":["umt5_xxl_fp16.safetensors","wan","default"]},{"id":152,"type":"VAELoader","pos":[-871.7997774318474,238.1351248827517],"size":[350,58],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":0,"links":[260,261]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"VAELoader","models":[{"name":"wan_2.1_vae.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors","directory":"vae"}]},"widgets_values":["wan_2.1_vae.safetensors"]},{"id":161,"type":"CLIPLoader","pos":[-1296.5913404459907,-485.4740481741457],"size":[350,106],"flags":{},"order":10,"mode":4,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":0,"links":[242]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"CLIPLoader","models":[{"name":"umt5_xxl_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors","directory":"text_encoders"}]},"widgets_values":["umt5_xxl_fp16.safetensors","wan","default"]},{"id":156,"type":"MarkdownNote","pos":[-1940.7228901823478,506.3743756567267],"size":[370,220],"flags":{},"order":11,"mode":0,"inputs":[],"outputs":[],"title":"Note","properties":{},"widgets_values":["The generation quality of the 14B model is better, but it takes longer to generate. If you have already downloaded the model, you can choose to directly use the nodes above, or just modify the model loaded by the loader node.\n\nThe corresponding LoRA should match the Diffusion Model. For example, the LoRA corresponding to the 14B diffusion model is the 14B LoRA. "],"color":"#432","bgcolor":"#653"},{"id":71,"type":"LoadVideo","pos":[-1368.9683472002719,909.0011923433134],"size":[274.080078125,317.6267395019531],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"file","name":"file","type":"COMBO","widget":{"name":"file"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[131]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"LoadVideo"},"widgets_values":["inpainting001.mp4","image"]},{"id":131,"type":"PrimitiveInt","pos":[-686.8386415810396,731.3676684022053],"size":[310,90],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"INT","name":"INT","type":"INT","links":[209,212]}],"title":"Length","properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"PrimitiveInt"},"widgets_values":[81,"fixed"]},{"id":6,"type":"CLIPTextEncode","pos":[155.36146656563926,-279.33952218506744],"size":[420,280],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":277},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[96]}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"CLIPTextEncode"},"widgets_values":["kitchen"],"color":"#232","bgcolor":"#353"},{"id":129,"type":"RepeatImageBatch","pos":[62.20571560628844,721.097930118429],"size":[240,60],"flags":{},"order":30,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":280},{"localized_name":"amount","name":"amount","type":"INT","widget":{"name":"amount"},"link":212}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[202]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"RepeatImageBatch"},"widgets_values":[17]},{"id":130,"type":"ImageToMask","pos":[340.0193130085604,685.7516550254835],"size":[240,60],"flags":{},"order":31,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":202},{"localized_name":"channel","name":"channel","type":"COMBO","widget":{"name":"channel"},"link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","links":[204]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"ImageToMask"},"widgets_values":["red"]},{"id":137,"type":"PrimitiveInt","pos":[109.02900177682002,1288.8407942058043],"size":[210,82],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"INT","name":"INT","type":"INT","links":[215]}],"title":"Width","properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"PrimitiveInt"},"widgets_values":[176,"fixed"]},{"id":188,"type":"ImageResize+","pos":[-581.6839914407052,1331.1058318847802],"size":[270,218],"flags":{},"order":29,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":285},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"interpolation","name":"interpolation","type":"COMBO","widget":{"name":"interpolation"},"link":null},{"localized_name":"method","name":"method","type":"COMBO","widget":{"name":"method"},"link":null},{"localized_name":"condition","name":"condition","type":"COMBO","widget":{"name":"condition"},"link":null},{"localized_name":"multiple_of","name":"multiple_of","type":"INT","widget":{"name":"multiple_of"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[280]},{"localized_name":"width","name":"width","type":"INT","links":null},{"localized_name":"height","name":"height","type":"INT","links":null}],"properties":{"cnr_id":"comfyui_essentials","ver":"1.1.0","Node name for S&R":"ImageResize+"},"widgets_values":[176,192,"nearest","stretch","always",0]},{"id":189,"type":"ImageResize+","pos":[-596.2706065681991,1027.151308627574],"size":[270,218],"flags":{},"order":25,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":272},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"interpolation","name":"interpolation","type":"COMBO","widget":{"name":"interpolation"},"link":null},{"localized_name":"method","name":"method","type":"COMBO","widget":{"name":"method"},"link":null},{"localized_name":"condition","name":"condition","type":"COMBO","widget":{"name":"condition"},"link":null},{"localized_name":"multiple_of","name":"multiple_of","type":"INT","widget":{"name":"multiple_of"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[273,274,275]},{"localized_name":"width","name":"width","type":"INT","links":null},{"localized_name":"height","name":"height","type":"INT","links":null}],"properties":{"cnr_id":"comfyui_essentials","ver":"1.1.0","Node name for S&R":"ImageResize+"},"widgets_values":[176,192,"nearest","stretch","always",0]},{"id":139,"type":"PrimitiveInt","pos":[109.02900177682002,1428.8407942058043],"size":[210,82],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"INT","name":"INT","type":"INT","links":[217]}],"title":"Height","properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"PrimitiveInt"},"widgets_values":[192,"fixed"]},{"id":159,"type":"LoraLoader","pos":[-895.290250906962,-119.39702416150718],"size":[350,126],"flags":{},"order":18,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":235},{"localized_name":"clip","name":"clip","type":"CLIP","link":279},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null},{"localized_name":"strength_clip","name":"strength_clip","type":"FLOAT","widget":{"name":"strength_clip"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[276]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[277,278]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.38","Node name for S&R":"LoraLoader","models":[{"name":"Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors","url":"https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors","directory":"loras"}]},"widgets_values":["Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors",0.7000000000000002,1]},{"id":3,"type":"KSampler","pos":[992.5,50],"size":[315,262],"flags":{},"order":33,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":95},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":98},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":99},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":160},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[116]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"KSampler"},"widgets_values":[411013865974590,"randomize",20,6,"uni_pc","simple",1]},{"id":185,"type":"LoadVideo","pos":[-1370.3554687169624,1300.3624955632586],"size":[274.080078125,317.6267395019531],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"file","name":"file","type":"COMBO","widget":{"name":"file"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[265]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"LoadVideo"},"widgets_values":["inpainting001alpha3.mp4","image"]},{"id":191,"type":"InvertMask","pos":[-1216.7837325518599,1262.4068083906875],"size":[140,26],"flags":{},"order":17,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.66","Node name for S&R":"InvertMask"}},{"id":186,"type":"GetVideoComponents","pos":[-1056.1823043784009,1314.81222804225],"size":[250,66],"flags":{},"order":21,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":265}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":[284]},{"localized_name":"audio","name":"audio","type":"AUDIO","links":null},{"localized_name":"fps","name":"fps","type":"FLOAT","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"GetVideoComponents"},"widgets_values":[]},{"id":192,"type":"ImageInvert","pos":[-766.1883248824978,1334.2233424544675],"size":[140,26],"flags":{},"order":26,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":284}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[285]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.66","Node name for S&R":"ImageInvert"}}],"links":[[95,48,0,3,0,"MODEL"],[96,6,0,49,0,"CONDITIONING"],[97,7,0,49,1,"CONDITIONING"],[98,49,0,3,1,"CONDITIONING"],[99,49,1,3,2,"CONDITIONING"],[115,49,3,58,1,"INT"],[116,3,0,58,0,"LATENT"],[117,58,0,8,0,"LATENT"],[129,68,0,69,0,"VIDEO"],[131,71,0,72,0,"VIDEO"],[139,8,0,68,0,"IMAGE"],[160,49,2,3,3,"LATENT"],[202,129,0,130,0,"IMAGE"],[204,130,0,49,4,"MASK"],[209,131,0,49,8,"INT"],[212,131,0,129,1,"INT"],[215,137,0,49,6,"INT"],[217,139,0,49,7,"INT"],[235,158,0,159,0,"MODEL"],[241,151,0,165,0,"MODEL"],[242,161,0,165,1,"CLIP"],[260,152,0,49,2,"VAE"],[261,152,0,8,1,"VAE"],[265,185,0,186,0,"VIDEO"],[272,72,0,189,0,"IMAGE"],[273,189,0,143,0,"IMAGE"],[274,189,0,135,0,"IMAGE"],[275,189,0,49,3,"IMAGE"],[276,159,0,48,0,"MODEL"],[277,159,1,6,0,"CLIP"],[278,159,1,7,0,"CLIP"],[279,160,0,159,1,"CLIP"],[280,188,0,129,0,"IMAGE"],[284,186,0,192,0,"IMAGE"],[285,192,0,188,0,"IMAGE"]],"groups":[{"id":2,"title":"Prompt","bounding":[140,-30,450,620],"color":"#3f789e","font_size":24,"flags":{}},{"id":3,"title":"Sampling & Decoding","bounding":[610,-30,720,620],"color":"#3f789e","font_size":24,"flags":{}},{"id":4,"title":"Save Video(Mp4)","bounding":[1350,-30,720,1010],"color":"#3f789e","font_size":24,"flags":{}},{"id":6,"title":"Load Video for Outpainting","bounding":[-290,610,580,410],"color":"#3f789e","font_size":24,"flags":{}},{"id":9,"title":"Length - 1 should be divisible by 4","bounding":[-290,1040,370,330],"color":"#3f789e","font_size":24,"flags":{}},{"id":10,"title":"Repeat Mask Batch","bounding":[310,610,280,410],"color":"#3f789e","font_size":24,"flags":{}},{"id":12,"title":"Get video size & frame counts","bounding":[610,610,720,760],"color":"#3f789e","font_size":24,"flags":{}},{"id":14,"title":"Video size - Must be divisble by 16","bounding":[99.02900177682002,1208.8407942058043,500,330],"color":"#3f789e","font_size":24,"flags":{}},{"id":21,"title":"Load models here","bounding":[-290,-30,410,620],"color":"#3f789e","font_size":24,"flags":{}},{"id":22,"title":"14B","bounding":[-270,10,370,330],"color":"#3f789e","font_size":24,"flags":{}},{"id":23,"title":"1.3B","bounding":[-1352.961294434509,-403.5243606167416,370,330],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":1.116781577942479,"offset":[2482.3400668566474,-600.624163275518]},"frontendVersion":"1.29.2","node_versions":{"comfy-core":"0.3.34"},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}