AGEofLLMs.com
Search

FramePack Hack: Start and End Frames Now Work If You Follow This Trick

Calculating... Comments
  • Start and end frames in FramePack possible with a community tweak

  • You need to swap the demo_gradio.py file and edit run.bat

  • Running update.bat first is crucial before swapping files

  • Some users still faced bugs but found workarounds

  • First impressions say FramePack shines for people-focused scenes

FramePack's Gradio interface with 1st and last frames
FramePack's Gradio interface with 1st and last frames

FramePack Frames Good Example

I've tested this prompt which Framepack failed to animate for me before, and now tih start and end frames - it can! The hand does appear and grab the bag and takes it away. Supplied empty shelf as an end frame.

How to Use FramePack With Start & End Frames

Here's the deal. Framepack can now unofficially do start and end frames thanks to some smart folks over on Reddit's StableDiffusion forum. It's not part of the main repo yet though. If you wanna try it yourself here's how.

A user named @ascot_major shared his way. You grab the updated “demo-gradio.py” file from here. Then you:

  • Rename it to something new, like "frame-to-frame-demo.py"

  • Toss it into the Framepack folder right where "demo_gradio.py" lives

  • Change run.bat to launch whichever file you wanna use

And don't forget. There's a small fix needed. Add a line to deal with an --inbrowser option bug or just delete that option from your run.bat file.

That’s it. On my Linux machine it worked straight out the box. No other changes needed.

Watch Out for Update.bat

Now here's where a lot of people stumbled. In the forum comments users kept saying you gotta run update.bat first before swapping the files. Otherwise Framepack might just spit out two resized images and call it a day.

One user said:

"Maybe try clicking update.bat in the root folder. I did that before putting in the new demo_gradio.py file so perhaps updating played a factor."

Another user agreed:

"Running update.bat before replacing the demo_gradio.py got it running for me."

So the safe path?
Run update.bat. THEN swap in the new file.

If you do it backward you might end up with the old file overwriting your fix.

FramePack: My First Take

My early tests show Framepack can handle stuff like landscape pans and aerial flythroughs when there's no people around.

It seems like it's mainly built for scenes with dancing folks or humanoid animals posing and moving. The camera does better staying still while the subject changes pose or expression. (Hey, many people were crying for static camera shots!)

The best part? It runs smoothly on my 16GB VRAM setup. Quality's pretty solid for something that's free. Can't complain.

I'll keep digging into it and see what else it can pull off. Maybe it'll surprise us huh?

Sharing My First FramePack Tests

Bad Animation Example

So here we have two images that have no visual connection except for the style, and if you just supply 2 frames like that the result will likely disappont you: it's just simple fading of one image into another.

Better Animation Example

Here I've supplied an end frame which is an image containing a similar bunny in the new environment and prompted 'camera tracking black bunny hopping about' - much better result.
Related Posts

Visitor Comments

Please prove you are human by selecting the tree.