Home Creators Posts Import Register Favorites Logout

Downloads

Content

Last time, I posted the Long length video V2V gen., based on some math and indexing point to gen each chuck of video. https://www.patreon.com/posts/comfyui-wan-2-1-133333679From the long freaking list of groups after groups... workflow. In programming, it's like hard coding a software conditions...And I throw that garbage out and recreate the extension part.I cut all those extra stuff, but the good thing is....Now , we are all able to generate as long as you want. And no limited to how many samplers , groups, whatever shit that is.Thank you @Usako_USA in Youtube who asked me this , and I was thinking, yes, there should be some Custom Nodes for Looping in ComfyUI? Tech background people built this tool, there should have something like this , just like in programming!I sit down shut my door, no interruption. And I find what I need in ComfyUI Easy Use node pack.I don't know why in Youtube or any place that I learn Comfyui before, no one have teaching this, and the IF statement.These nodes should be the fundamental stuff for a node base software like a programming logic apply into workflow!!!So right now, everyone , no more Video Index Out Of Range error message, if you didn't know how to calculate those frame numbers game. Or after 3, 4, 5, 6, sampling groups, how can I extend more.... etc..None of it happen anymore! Cause I did the math here.And now it's dynamic based on how many extend length you have, it will loop how many times.I decide to roll out this version for all people. Patreon supporters, people who followed here. who cares, just use it!gogogo!!!update: (2025-07-08) img2vid workflow added here.

Files

Comments

Hayden Martin

I got very close to solving color shift by sending in my reference image alongside all my FFLF controlnet frames and masks. I’ll probably make a video about it - you just need to manually trim the first 4 frames of the output - Trim Latents node makes for ugly start frames

AiInfluence

Can i use this workflow to give body movements to a lip synced video?

Intellectz Productions

This looks incredible. I want to see how this works later on when I can try it. This is how you move things forward. Great work. I have been working on a V2V custom temporal fix for Wan 2.1. it's a very meticulous set up but it produces really good results with Low Quality videos. I'm still working on it but I am very happy with how it's turning out.

Temp Mail

Hey benji.. You are such a gem always comes with something exciting ❤️❤️. I'm also keep working on your last long length workflow it was working fucking good and I ma damn sure this one gonna boom the whole journey. I have a question can you do something with eyes moment this is something which isn't getting controlled. I have generated more than 20 videos on different settings and value but everything it gives robotic eyes moment. Can you look into? Because this is something I'm not able to control and it's obviously differentiate between real video and AI generated videos.

Lionel Vinuales

Benji, you are truly amazing ma man. Thanks a lot.

Al Go

Thank you Benji. Constantly hitting "start index is out of range" from "Get Image or Mask Range From Batch" node (one, connected to the "DWPose Estimator")... it calculates start index as 152, while num_frames is 81... any suggestion?

A Syed

how do you set the # of loops, or the length of the video?

Rahul Kumar

You got an amazing piece of brain Benji. Thank you so much!

Rahul Kumar

I am getting this issue The shape of the mask [81] at index 0 does not match the shape of the indexed tensor [37, 832, 480, 3] at index 0 my video is 300+ fps

Clayfacer

Wow much better. Thank you

PeterFuchs

I get this error when I process a video thats 201 frames long and the frame length is 81: IndexError: The shape of the mask [81] at index 0 does not match the shape of the indexed tensor [49, 480, 832, 3] at index 0

Al Go

Hi. Could you please elaborate the difference between the v2v and i2v of yor latest iterations? The only difference I spotted id that v2v of them has prompt (which is completely ignored) and throws loopEnd exception after first batch of 81 frames (for the same input video/image as i2v)... The exception is: easy forLoopEnd '626.0.0.3.0.0.655'

Yih-Jia Tan

this is so good! thanks for all the math work behind!!! would like to ask, using the i2v workflow, does lora work for native Wan Vace? I experience lora key not loaded mainly like motion driven Lora. enhancement Lora (example: detailenhancement) sometimes loaded ok, and if there is the lora key not loaded error, i close and restart my comfyUI fresh then the error seems to go away. Most motion driven lora i use is for i2v, some t2v, using on kjwanvideowrapper is working fine. Model wise i use T2V or I2V model. i tried to test on VACE but due to Vace module and T2V model load separately in WanVideoWrapper, i get OOM once I add in Lora. Not sure what is causing it, maybe you can shine some light for me :D i am using this setup Wan2.1_T2V_14B_FusionX_VACE-Q6_K.gguf umt5_xxl_fp16.safetensors

DomDom13

all video outputs are blurred

Fun, Scripted

This has been really cool. It seems RAM ends up being the limiting factor. With a long video I eventually run out of ram and comfy crashes.

DBJ19

Hi Benji, is there a way to contact you directly? we are working on a project and might want to hire you to consult. Thank you!

Vicente

I think this is your first workflow that works for me, almost all i had tried before gave me some form of OOM or other error. This one gave it too, but lowering resize_to HD instead of defeault 2k fixed it. Amazing tech here, 12 sec vid in 11min with great motion and okish image quality, which is probably related to the lora selection i have used which could be better, so i'll tweak some of this stuff now that this works. Overall amazing job, thanks a lot for this amazing piece of AI tech.

Vicente

I'm getting better results each time depending the lora combination, very impressive! There's something i don't underdstand though, on the far right of the workflow there're 2 nodes, the first "video combine" node that produces a video, and if i understand correctly, the final one at the end on the right that connects the upscale node and should produce the final, upscaled video. However i'm only getting a still image in that final "video combine" node, is that normal?

Jim

hello. i am new to this. i saw your vid and downloaded the workflow. but i get this error when i try to run. the only change i made was the upscaler. i used the simple one since for some reason i couldn't install it properly. (Prompt execution failed TypeError: Cannot read properties of null (reading 'length')

AARON SOF

If I join-up is there any kind of faceswap vid2vid you can show me??

Кьюбит Шоу (edited)

Comment edits

2026-09-12 08:00 every time I create a video and set the "Overlap frames" to 20, for example, I get a video in which these 20 frames are cut after each iteration.
2025-08-07 13:51

hf21

The long video Gen works perfectly (i did one with 11 parts) but this one with loop does not work, after the first video part there is a big glitch and the video result after that is ugly

Pedoneit

I feel like the controlnet nodes that we use in our workflows are pretty basic (I also use these nodes thanks to your idea). I would like to find a way to be able, not only to replicate movements but also replicate much more detailed expressions. Sometimes I get the eyes look at somewhere in a weird way, or get non-human gestures, etc. I am looking for a more advanced controlnet technique or whatever it's called

Franco Aiello

Hey! Great workflows. Love your work. v2v worked perfect for me. Now when using i2v. It seems like it's not working with the reference image and giving me a prompt base output only. I'm using the Wan2.1_T2V_14B_FusionX_Vace-Q8.gguf just like you. Haven't modified the workflow at all. Any ideas what might be happening? Thanks!!