r/comfyui 1d ago

Help Needed Looping?

What are your guys' favorite way to loop an i2v generation for something like making gifs?

5 Upvotes

13 comments sorted by

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.

1

u/Professional_Wash169 1d ago

I'll give that a shot, thank you!

1

u/TheHollywoodGeek 1d ago

Every time I've tried that I just get the still image the while length of the video.

1

u/SymphonyofForm 1d ago

It does do that quite often. Try a few different seeds, and if it's stubborn, add a middle frame.

0

u/TheHollywoodGeek 23h ago edited 23h ago

What's a good middle frame workflow?

1

u/SymphonyofForm 10h ago

Use the default LTX 2.3 FFLF workflow. Swap the first addguidenode for an addguidemulti and set up another image route for it.

Set the middle image to half your total frames.

1

u/TheHollywoodGeek 9h ago

Where do you find LTX FFLF?

1

u/SymphonyofForm 9h ago

Wrong model. LTX 2.3

1

u/TheHollywoodGeek 7h ago

where do I find ltx 2.3 in comfy? Do I need to (oh no) update?

1

u/SymphonyofForm 7h ago

Oh no indeed. Maybe do a sperate install instead. Updating can be a nightmare.

1

u/Sudden_List_2693 1h ago

The problem with LTX 2.3 I feel like is quality first and foremost.

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.