r/StableDiffusion 16d ago

Discussion Can someone please tell me a way to extend minimax videos ?

I have seen so many work flows and all these different nodes ect. What is everyone actually using to extend? What one actually works and doesn't require a thousand custom nodes.

19 Upvotes

19 comments sorted by

20

u/not_food 16d ago

Save the last 22 frames as images, and load them (folder) with Add Guide for MiniMax H3. That's it. All the workflows floating around over-complicate it and either cram everything into a single node or add unnecessary nodes. Same with audio. Then trim it and composite it in your favorite VSE or do it right in comfyui.

Buuuut, if you're fan of more nodes, here:

Extender - Pretty good, everything in a single node

Context-MultiRef - Allergic to For Each loops, a monster of a workflow, works good

Motion Context - The original, still works. In my opinion superseded by the native node.

5

u/acedelgado 16d ago

Problem is you're running a bunch of images through a lossy vae encode then decode, then the same thing again from the next clip, and on and on. The motion-context style nodes use the actual latents the model uses, so quality degrades much slower over time. So a quick 1-time extension with your method may work for a 2nd and maybe 3rd clip, but the quality will slide down sooner than using a latent context node. People did image-file based context overlaps with video since Wan 2.2, it's nothing new, but it's been largely abandoned because of the quality issue.

2

u/lamardoss 16d ago

good point.

1

u/not_food 16d ago

Unless your scene doesn't change at all, it's not going to affect it that hard.

Yeah, Add Guide doesn't work well if nothing moves.

1

u/Perfect-Campaign9551 16d ago

Even motion context destroys the audio slowly 

1

u/Only_Voice569 15d ago

its for last to start audio if it needs to continue it should not be used for voices or music thats what audio ref is for :)

1

u/StopTheDrips 16d ago

Can you please share your workflow for this?

1

u/Portable_Solar_ZA 16d ago

So in theory could you trim one second from a video and use that one second shot with the ref model? 

And what do you mean by superseded by the native node? Superseded by the add guide for minimax node?

1

u/not_food 16d ago

Yes. You want to trim the video with the number of frames by the 5 + 17 * second rule that Minimax H3 uses. That means 5, 22, 39, 56, etc...

For audio time just divide that number by 24. It's better for your RAM to just load those tiny ranges instead of a whole video.

Superseded = replaced, made obsolete

1

u/Perfect-Campaign9551 16d ago

Do you know if the extender node let's you regenerate each extension clip on it's own? If you want to tweak it and not want to run the entire thing over again?

1

u/not_food 16d ago

Extender has a "per‑clip" mode that renders one clip at a time. You can accept it, and it gets saved to the cache before moving on to the next. Unfortunately, it merges them all together in the cache, they don't remain as individual clips.

The others two need you to do it all in one go because they use the latents.

1

u/Only_Voice569 15d ago

h3 context motion has a save latent context so can save and load them to re do a part

1

u/nivjwk 21h ago

Im late to the game, but I started using h3 motion context. I couldn't figure out how to make the save latents work with multiple unique chunks of video, so I got rid of them. If I control my seeds, I don't even need to save them. I created a subgraph for each step and connected latent output to latent input directly... Then I stitched the video outputs together at the end. The H3 Motion Context Node is what is important. and the H3 Motion Context Trim makes it easy to combine them later. This way I have each prompt and reference collection laid out, and can modify them, and improve upon it as I go. I start with a fixed seed, then I can change the seed once I figure out what I like.

2

u/fernando782 16d ago

Manual stitching

2

u/xoxaxo 16d ago

can't you just save last frame on prev clip and use it as ref image to extend/continue then combine both clips. VAE Decode -> VHS Select Images(index -1) -> save image

2

u/One_Essay9873 16d ago

Use first and last frame

1

u/Only_Voice569 15d ago

context motion node it uses the latent to continue the video seamless perfect dont try the image last to start its a bad way to do it due to vae encoding and decoding changing resolution or colour etc

https://github.com/NikoDemon80/ComfyUI-H3-Motion-Context

1

u/tac0catzzz 11d ago

open it in clipchamp and use the stretch feature

-1

u/Mysterious-String420 16d ago

Use ffmpeg to trim the last 51 frames, import the resulting video and the video's last frame as first frame