Skip to content
Projects

vizart-vj/ComfyUI-MiniMax-H3-LongMedia

View on GitHub

About

ComfyUI custom nodes for MiniMax H3 long-form video/audio generation with streamed Sol attention, compressed KV, adaptive VRAM guards, chunked MLP/final output, and SAFE long-sequence optimizations for limited VRAM.

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
+4
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

ComfyUI-MiniMax-H3-LongMedia

Production-oriented ComfyUI nodes for MiniMax H3 long-form video/audio generation, native reference editing, Director timeline authoring, MultiClip planning, camera direction, segmentation, lip-sync/redubbing, latent hi-res refinement, reconstruction and adaptive low-VRAM execution.

screenshot

Current release: 0.6.69.

What changed since public v0.6.63

  • Incremental MultiClip: keep completed clips frozen and append new enabled clips without requiring old TAKEs for the new targets. Cache failures stop the run instead of triggering an implicit full render.
  • Range and Bridge: rerender a CUT-marked range of a generated clip, or render a bridge between compatible generated neighbors. A bridge remains pending until accepted or discarded.
  • ComfyUI compatibility: frames-aware H3 VAE versions retain their native tiling and frame slicing; the streamed H3 output head is restored after the LongMedia forward.
  • Audio and cleanup: Director lip sync retains the full Audio 1 timeline, including silent openings. Sampler cleanup handles the models acquired for the run and preserves render errors.
  • Sampler and canvas: View stays above the inputs, presets have separate New, Overwrite and Delete buttons, and Director canvas updates are coalesced to reduce editor work.

See the cumulative 0.6.69 Release Notes for details and verification limits.

Documentation

Main nodes

  • MiniMax H3 • Long Media Setup
  • MiniMax H3 • Long Media Planner
  • MiniMax H3 • LongMedia Director
  • MiniMax H3 • Long Media Cameras
  • MiniMax H3 • Long Media Sampler
  • MiniMax H3 • Long Media Decode
  • MiniMax H3 • Long Media Video Reconstructor

Legacy internal MiniMaxH3LatentLab... class identifiers remain registered for workflow compatibility.

Installation

Install into:

ComfyUI/custom_nodes/ComfyUI-MiniMax-H3-LongMedia

or install from the Comfy Registry.

Package identity:

GitHub:             vizart-vj/ComfyUI-MiniMax-H3-LongMedia
Comfy PublisherId:  noise

Restart ComfyUI after installation/update.

Current semantic Setup model

New workflows use independent controls:

control_mode
h3_mode
timeline_mode
duration_source
audio_mode
motion_repair

H3 conditioning families:

t2va
fl2va
ref2va
hybrid
video_ref_edit

Timeline modes:

single
segmented
multiclip

Duration ownership:

auto
video
audio
manual
longest_input

See Operating Modes.

LongMedia Director 0.6.69

Director is the unified authoring surface for MAIN timing, prompts, WHO & WHAT media, REF/FIRST/LAST roles, cameras, temporal embeddings, audio policy, resolution policy, Program Monitor review and TAKE management.

LongMedia Director
        ↓ director
Long Media Setup  (control_mode=director)

Current TAKE storage is TAKE-centric. CREATE makes an active empty workspace; the next successful render fills that same TAKE. Restore applies the complete saved Director state atomically.

Since 0.6.54 continuation formally separates GENERATED and MEDIA: GENERATED → GENERATED reuses the saved native TAKE latent, while MEDIA → GENERATED creates a fresh H3 target and pins only the VAE-encoded external tail as a native frame-0 minimax_keyframes guide. The imported full video never becomes a diffusion target and never takes a full-video VAE roundtrip.

0.6.55 adds Director-integrated RefMods: reusable native H3 visual/audio references created from Director media, the selected timeline clip or a TAKE. RefMods remain independent from learned text embeddings and physical TAKE continuation; authored intervals gate native reference keys on the target frame lattice. Audio RefMods are audio references, not a voice-cloning guarantee.

See Director Complete Guide.

Integrated Refine / Latent Hi-Res

One Long Media Sampler contains the MAIN stage and an optional internal Stage 2 controlled by refine_enabled. When Refine is enabled, windowed_refine can be turned off to force a single full-latent Stage 2 pass for maximum temporal/lighting continuity.

Stage 1 MAIN x0
    ↓
(optional) learned video-latent upscale
    ↓
Stage 2 Refine using Refine Sigmas
    ↓
final video + exact Stage-1 audio

Long/high-resolution Stage 2 can use bounded temporal windows when windowed_refine is enabled. Refine is video-authoritative: Stage-1 audio is preserved exactly and is not re-denoised as an audio refiner.

See Integrated Refine and Latent Hi-Res.

Sampler / memory

Recommended starting point:

sampler_mode   = auto
memory_mode    = auto
attention_mode = auto

Keep ComfyUI Dynamic VRAM enabled. Current runtime includes repeat-Queue transient CUDA reference cleanup, packed-storage-aware quantized AUTO routing, guarded native INT8 residency, exact Existing/Kitchen fallback paths, file-backed Windows large-safetensors loading and safe Latent Hi-Res model offload. Explicit manual Sampler values remain authoritative in NORMAL/AUTO-normal profiles.

See Sampler, VRAM and Performance.

Explore related projects

Loading…