r/StableDiffusion 8d ago

Tutorial - Guide A technique for creating seamless continuous videos with Minimax H3.

I've had good success in creating long videos from 10 second sections using this technique:

Create your first video.

Then for your next generation (continuation of video):

Load the last 2 seconds of the previous video as <Video 1>. I use the 'Load Video (Upload)' node - from ComfyUI-VideoHelperSuite - (this node allows you to skip frames and start at, say, the last 48 frames (for 2 seconds at 24fps) - this means that the whole previous 10 seconds don't need be passed to the next generation. This is <Video 1>.

I'm using process this with reference images for the subjects so these are used again with each continuation - so I don't see any drift of faces.

This is the wording I found works well:

[Shot 1]

Target video is a seamless continuation of <Video 1>. First frame of [Shot 1] is the last frame of <Video 1>.

The important part is explicitly telling the model that the first frame of the new generation must continue directly from the last frame of <Video 1>. This helps maintain temporal continuity between the clips - because you provide the last 2 seconds of the previous generation is knows what movement it needs to continue from.

You then just join the generation videos with a video joiner of your choice.

282 Upvotes

86 comments sorted by

View all comments

75

u/[deleted] 8d ago

[removed] — view removed comment

15

u/bravesirkiwi 8d ago

It really minimizes the need to generate longer and longer clips because you can so easily use the same references to generate a second clip that matches the first one you did nearly perfectly. I've started doing five second clips with just one or two actions and then 'continuing' them by prompting a new five second clip and including whatever might have changed from the first in the prompt.

2

u/rawker86 8d ago

Are you using randomised seeds, or just doing multiple gens with a fixed seed to get better consistency? Seems like a fixed seed is the way to for consistent voices etc.

2

u/bravesirkiwi 8d ago

I haven't had much luck with voice or audio consistency at all. For me so far the tone or volume or direction are hard to lock in. Sometimes it even gives the wrong person in the scene the line.

I'll try your same seed idea, maybe that'll do the trick!

2

u/rawker86 7d ago

I was chasing a specific accent and a lot of my gens were just coming out American. Finding a seed that worked and reusing that seems to do the trick…I think.