Repolode
knoic

knoic/ComfyUI-MiniMaxH3-PrefixStream

A ComfyUI node suite for chaining short MiniMax H3 video clips into long videos with prefix-based continuation, clip archiving and stitching.

Stars
211
Forks
25
Open issues
1
Last commit
5 days ago

What is it?

ComfyUI-MiniMaxH3-PrefixStream is a set of ComfyUI custom nodes for generating long videos with MiniMax H3 by chaining short clips. Each generated segment serves as the context for the next one: the tail of the previous clip's audio-video latent is written into the start of the next segment and protected with ComfyUI's native noise mask, so the native H3 workflow, prompts, sampler and decoder stay in place.

The suite also manages the clips themselves. A clip bin saves previews, ratings, shot tags, prompts and parent-child lineage, and a gallery or tree picker lets you select any earlier clip as the continuation source. Overlapping opening frames are trimmed in pixel and audio space, and a stitcher joins segments with crossfades and brightness matching. Helper nodes slice existing long videos into reference frames and reassemble edited patches back into a master timeline.

The project supports Windows and Linux and is licensed under MIT. Installation consists of cloning the repository into ComfyUI's custom_nodes folder and installing its requirements.

Key features

  • 01Continues a video from the clean tail of the previous segment using ComfyUI's native masked latent.
  • 02Controls video and audio context independently, with Safe Native as a compatibility fallback.
  • 03Archives clips with previews, ratings, tags, prompts and lineage for gallery-based selection.
  • 04Trims overlapping opening frames and stitches segments with crossfades and brightness matching.
  • 05Slices existing long videos into reference frames and reassembles edited patches into a master timeline.

Use cases

  • Generating a multi-segment long video with MiniMax H3 inside an existing ComfyUI workflow.
  • Branching a story by continuing from any earlier clip in a saved library.
  • Re-editing a section of a long video and merging the new segment back in.
  • Feeding the last frame or tail of a clip into an image-to-video or video continuation step.

Quick start

  1. 1

    Clone the repository into ComfyUI's custom_nodes folder

    git clone https://github.com/knoic/ComfyUI-MiniMaxH3-PrefixStream.git
  2. 2

    Install the Python requirements from inside the repository folder

    pip install -r requirements.txt
  3. 3

    Restart ComfyUI; the nodes appear under MiniMaxH3/PrefixStream and MiniMaxH3/VideoEdit

Things to know

  • The README lists support for Windows and Linux only.
  • It is built for the MiniMax H3 model and works alongside an existing native H3 ComfyUI workflow.
  • The optional low-memory disk video stream requires FFmpeg.

In collections

Topics

FAQ

What is ComfyUI-MiniMaxH3-PrefixStream?
A ComfyUI node suite for chaining short MiniMax H3 video clips into long videos with prefix-based continuation, clip archiving and stitching. ComfyUI-MiniMaxH3-PrefixStream is a set of ComfyUI custom nodes for generating long videos with MiniMax H3 by chaining short clips. Each generated segment serves as the context for the next one: the tail of the previous clip's audio-video latent is written into the start of the next segment and protected with ComfyUI's native noise mask, so the native H3 workflow, prompts, sampler and decoder stay in place.
Is ComfyUI-MiniMaxH3-PrefixStream free to use? What license does it have?
ComfyUI-MiniMaxH3-PrefixStream is open source under the MIT license. Check the license terms before using it in commercial products.
Is ComfyUI-MiniMaxH3-PrefixStream still maintained?
Actively maintained. The last commit to ComfyUI-MiniMaxH3-PrefixStream was on Nov 3, 2026.
What can I use ComfyUI-MiniMaxH3-PrefixStream for?
Generating a multi-segment long video with MiniMax H3 inside an existing ComfyUI workflow. Branching a story by continuing from any earlier clip in a saved library. Re-editing a section of a long video and merging the new segment back in. Feeding the last frame or tail of a clip into an image-to-video or video continuation step.
How do I install ComfyUI-MiniMaxH3-PrefixStream?
Clone the repository into ComfyUI's custom_nodes folder: git clone https://github.com/knoic/ComfyUI-MiniMaxH3-PrefixStream.git Install the Python requirements from inside the repository folder: pip install -r requirements.txt Restart ComfyUI; the nodes appear under MiniMaxH3/PrefixStream and MiniMaxH3/VideoEdit
Where can I get ComfyUI-MiniMaxH3-PrefixStream?
The source code and installation instructions are on GitHub: https://github.com/knoic/ComfyUI-MiniMaxH3-PrefixStream

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects