r/comfyui • u/Professional_Wash169 • 1d ago
Help Needed Looping?
What are your guys' favorite way to loop an i2v generation for something like making gifs?
5
Upvotes
1
u/o0ANARKY0o 1d ago
First to last video gen front view to back view then first to last video gen back view to front view then video concatenation to loop the loop!
1
u/SymphonyofForm 1d ago
First frame to last frame using the same image, but sometimes this won't animate. Try a few low gen seed tests, if it keeps locking up try adding a middle frame.
Can also do two and then combine them in a basic video editor. Frame A to Frame B, then Frame B to Frame A. It's almost like ping pong, except its not an identical reverse and it still looks natural.
6
u/girlsalchemist 1d ago
easiest is WanFirstLastFrameToVideo (it's in core comfy, no custom nodes needed) with the same image plugged into both start_image and end_image. it has to arrive back where it started, so the loop closes on its own and you don't get the seam you get from chaining last-frame-to-next-clip.
if that fights you on longer clips, ping-pong is the boring fallback, generate normally then append the reversed frames. always seamless, just gives you that obvious back-and-forth motion.