Sign In

Minimax H3 Context node use to extend video generations. A simple explanation (as possible)

4

Minimax H3 Context node use to extend video generations. A simple explanation (as possible)

TL;DR - Check attachments for workflows, this is for learning how to extend videos with Minimax H3 without custom nodes or complex director nodes

Minimax H3 Context node use to extend video generations. A simple explanation (as possible)

Why: Because everyone who has posted (that I have found) a workflow to extend minimax videos are using a bunch of extra nodes and stuff that does not clearly explain how to use this H3 motion context node. Lots of hiding of wires, custom interfaces, etc. Most of them are the ‘Minimax Director’ nodes that hide a lot of what is going on in the background and complicate things for the sake of control. This isn’t a bad thing at all if that’s what you want to do, but some people just want to extend their generations. This is for explaining how to use the node, and how to do it with minimal extra node use. Technically you shouldn’t need any extra nodes to use this (mine uses ComfyUI-Easy-Use for a few things but this could be modified to not use this node pack).

Workflow included? Duh.. Yes I am giving my own workflow for using this node (no patreon crap, just a post on civit). This workflow uses the FL2vid minimax model (stock), but removed from being a subgraph so you can actually see what is going on and understand how the node extends videos (semi) seamlessly. It’s not perfect, but it works pretty well in my test cases.

Can you extend/add on to it? Yes. That’s the point. Once you understand the structure of the workflow, you can extend it to make videos an hour long if you so choose.

Is this built specifically for low vram cards? No. It’s not specifically setup for any low vram use, but if you can run the standard fl2vid minimax workflow, you can run this one. It’s the exact same workflow but with H3 motion context nodes to work the next gen into the previous gen.

What did I test this on? I tested this workflow on my own machine. A 64gb DDR4 AMD 5600x 5080 16gb fe card machine. I know that’s not what a lot of people have, but 32gb + a 3060 8gb should work just like if you can use it for standard i2v or fl2vid.

Simple explanation of what is going on:

The first video generation is literally a standard fl2vid generation. Once that completes, the H3 Motion Context node pulls the last x amount of frames (configurable in context_length and audio_context_length input boxes on the node), it uses that data as the new latent to create the next video generation. You DO have to use a trim video node to cut off the first x amount of latent video from the new generation (if not it will have a stutter effect), Then a video concatenate node puts them together.

Afterward, you can just keep pulling the previous video into another H3 Motion Context Node and generate the next x amount of video. This doesn’t take any extra vram, to the system it’s just like hitting the generate button 2 or 3 times.

Screenshot_20261110_102636.png

Detailed inputs for the H3 Context node:

Screenshot_20261110_111600.png

The rest of the workflow/H3 Context node output:

Screenshot_20261110_111758.png

The trim frame/video section detailed:

Screenshot_20261110_111952.png

Putting it all together. Give it a shot and let me know what you think!

I put three workflows together. The first one is simply one main generation, and then one video extention generation. I made this workflow first to show just the idea of extending a video via the context latent. The Second workflow is a generate and two extention generations that you can use to create up to a 45 second video with context kept between each generation. The 3rd workflow is a conceptual workflow to show how the H3 Motion Context node should connect to things within the workflow and is NOT runnable, as it is for visual use only. With the first two workflows, you can certainly play with these and find out if there’s anything else you would like to do with it. You could use an empty video latent that can resize the extention if you have a 15 second primary generation and only want to extend it a few seconds, or you could play with the prompts to make each generation do something different (essentially what the minimax producer nodes do), OR you could axe the first generation in leu of vae encoding a video’s last frames,then you could just extend any video you add instead of generating a new one!

See the video example from my reddit post here:
https://www.reddit.com/r/comfyui/comments/1xstqda/minimax_h3_context_node_use_to_extend_video/

4

Comments