Nodes/H3 Continuum/H3 Continuum Sampler V3.6
ComfyUI Node

H3 Continuum Sampler V3.6

H3 Continuum Sampler V3.6

By ukr8b3g-cmyk·Created 29 days ago·Updated a day ago· 73
H3 Continuum Sampler V3.6
  • model
  • clip
  • video_vae
  • sampler
  • sigmas
  • first_frame
  • last_frame
  • reference_image_1
  • reference_image_2
  • reference_image_3
  • reference_video_1
  • driving_audio
  • audio_vae
  • reference_audio_1
  • reference_audio_vae
  • video_latents
  • audio_latents
  • assembly_plan
  • status
  • driving_audio
  • refine_context
sequence_prompt
prompt_modeAuto
chunks3
chunk_seconds5.0
width1344
height768
continuityBalanced — 22 frames
base_seed0
audio_continuitytrue
diagnosticsBasic
reroll_from_chunkAuto
reroll_nonce0
strict_compatibilitytrue
debugfalse
show_previewtrue
run_storageOff
run_name
reference_sizeMatch Output
project_id
video_reference_sizeEfficient - 0.4 MP
continuation_backendStandard

The one node that makes H3 feel like more than a 5-second toy

MiniMax H3 is genuinely good - 33B omni-modal, native stereo audio, day-zero ComfyUI support - but out of the box it gives you short clips that hard-cut at the chunk boundary. If you've run a few H3 workflows you know the pain: five seconds of glorious motion, then a hard cut to something that doesn't continue it. H3 Continuum Sampler V3.6 is the pack's current production answer: it generates long-form video as a chain of chunks while carrying the previous video and audio forward, so your 15-second piece actually behaves like one continuous take.

The idea is simple - generate chunk 1, then chunk 2 knowing chunk 1, and so on up to 16 chunks. Everything interesting is how well the next chunk knows the last.

How the continuation actually works

Older H3 continuation in this pack appended the prior frames as a separate "Reference Context" block alongside the new target. V3.6's Standard backend does something different: it places the finalized video and audio latent prefixes inside the next H3 target and protects them with Core noise masks. That's the "Masked AV" path - the protected prefix can't be resampled, so the prior chunk's ending survives bit-exact while the new region is generated around it.

This is both cheaper and better behaved - in the pack's gates, Standard removed about 8% of the packed rows versus Compatibility and shaved a few percent off median sampling time.

One catch trips people: Masked AV only activates for Balanced - 22 frames when Audio Continuity is on. Pick Fast - 5 frames, Strong - 39 frames, or Auto and Standard safely falls back to the older Reference Context transport. The status output tells you which transport resolved - read it.

The inputs that actually matter

Most defaults are sane. The ones you'll actually set:

  • sequence_prompt - connect one multiline text node for the whole sequence. Use the Timeline format: each [0-5s]-style header on its own line, description on the following lines. Do not put the prompt on the same line as the header - it silently gets treated as a Fixed prompt and every chunk reuses it.
  • chunks and chunk_seconds - 3 chunks × 5 seconds is the natural start. chunk_seconds accepts up to 30, but 5–15 is the validated range; above 15, VRAM and runtime climb fast.
  • width/height - defaults 1344×768, keep multiples of 32.
  • continuity - Balanced - 22 frames is the default and the one that unlocks Masked AV. Leave it there.
  • run_storage + run_name + reroll_from_chunk - the killer feature. Save the run, then set reroll_from_chunk to "Chunk 2" and only the second chunk regenerates; the first part stays byte-identical.

Optional inputs worth knowing: first_frame/last_frame (leave disconnected for T2VA), reference_image_1–3 for persistent identity, reference_video_1 (Video Guide Frames, from a video loader at 24 fps), and driving_audio + audio_vae when an existing track should be the final audio.

Outputs wire like this: video_latents and audio_latents go to Core Video/VAE Decode nodes, assembly_plan (plus the decoded images/audio) into H3 Continuum Assemble + Seam, and refine_context into the pack's Second Pass or Hi-Res Fix nodes. status is a string - read it, it reports the resolved transport and chunk reuse.

Install

ComfyUI 0.32.0 or later. Easiest via ComfyUI Manager - search "H3 Continuum". Or:

cd ComfyUI/custom_nodes
git clone https://github.com/ukr8b3g-cmyk/ComfyUI-H3-Continuum.git

Restart after. The pack's requirements.txt is empty - no pip packages, just the PyTorch and safetensors ComfyUI already has. You still need the MiniMax H3 weights, which is where people actually get stuck: the H3 Community License excludes the US, EU, UK and South Korea from running the local weights at all, so check that before you go further.

Where people get burned

  • Wrong prompt formatting is the #1 silent failure. Header on its own line, always.
  • Audio in the wrong socket. For a video with sound, route the loader's IMAGE to reference_video_1 and its AUDIO to driving_audio. Don't feed that audio into reference_audio_1 unless you want conditioning-only behavior - that one does not replace the final audio.
  • Video Guide Frames at the wrong frame rate. Feed it a 24 fps source or set force_rate: 24 on the loader.
  • Long, high-res runs can OOM. The pack's own 16 GB GPU test died on a 3×5s 1152×1152 Hi-Res Fix run, so start at 576–640px for anything multi-chunk. If a run dies mid-way, that's what run_storage is for.
CategoryMiniMax H3/Continuum

Inputs (36)

NameTypeDefaultDescription
modelMODEL
clipCLIP
video_vaeVAEUsed only to encode image conditioning. T2VA does not use it; Continuum never decodes with it.
samplerSAMPLER
sigmasSIGMAS
sequence_promptSTRINGConnect one Text (Multiline) for the complete sequence.
prompt_modeCOMBOAutoAuto accepts Fixed, list-separated, and timeline prompt styles.
chunksINT31–16Number of sequential Continuum chunks to generate.
chunk_secondsFLOAT5.04–30Target duration shared by every chunk. 5–15 seconds is the recommended and validated range. Values above 15 seconds are supported, but VRAM use and processing time can increase substantially, especially at high resolution.
widthINT134432–16384Output width. Use a multiple of 32.
heightINT76832–16384Output height. Use a multiple of 32.
continuityCOMBOBalanced — 22 framesAmount of prior video context retained at each chunk boundary.
base_seedINT00–18446744073709550000Base seed used to derive deterministic per-chunk seeds.
audio_continuityBOOLEANtrueOn passes prior audio context into continuation chunks. Turn it off only to isolate or replace generated audio.
diagnosticsCOMBOBasic3 options: Basic, Detailed Report, Off
reroll_from_chunkCOMBOAutoAuto resumes the longest compatible saved prefix. Choosing a chunk reuses earlier chunks and regenerates that chunk and everything after it.
reroll_nonceINT00–4294967295Change only when regenerating an explicit chunk and you want a new variation with otherwise identical settings.
strict_compatibilityBOOLEANtrue
debugBOOLEANfalse
show_previewBOOLEANtrue
run_storageCOMBOOffAtomically save raw AV chunks and resume a compatible saved run.
run_nameSTRINGEnter a stable name for this saved run. Compatible chunks are selected automatically.
reference_sizeCOMBOMatch OutputMatch Output is the practical default; Max Identity preserves more reference detail.
project_idSTRINGOptional. Leave blank to derive a stable ID from this sampler node. Run Name remains the explicit override.
video_reference_sizeCOMBOEfficient - 0.4 MPEfficient limits Video Guide Frames to about 0.4 MP; Balanced uses about 0.6 MP; Match Output uses the output pixel area. Source aspect ratio is preserved and smaller sources are not enlarged.
continuation_backendCOMBOStandardStandard uses the V3.6 target-preserving continuation path. With Audio Continuity enabled, Masked AV currently uses Balanced 22; Fast 5, Strong 39, and Auto safely use Reference Context. Compatibility restores the V3.5 Reference Context path for older workflows or comparison. Run Storage identity follows the resolved transport before execution begins.
first_frameoptIMAGEOptional. Leave all image inputs disconnected for T2VA.
last_frameoptIMAGE
reference_image_1optIMAGE
reference_image_2optIMAGE
reference_image_3optIMAGE
reference_video_1optIMAGEOptional video guide. Connect the IMAGE frame batch from a video loader; source-video audio is not included. Frames are interpreted at 24 fps and applied to every chunk. Non-native frame counts are padded by repeating the final frame to the next H3 17k+5 count, up to the one-chunk limit.
driving_audiooptAUDIOOptional original audio timeline. It is used as native H3 guide conditioning and selected unchanged for final output.
audio_vaeoptVAERequired only when Driving Audio is connected. Uses the same Audio VAE encode path as ComfyUI Core MiniMax H3 Add Guide.
reference_audio_1optAUDIOOptional standalone audio reference for H3 conditioning. It is not the audio track of Video Guide Frames. Unlike Driving Audio, it does not replace the generated final audio.
reference_audio_vaeoptVAERequired only when Reference Audio is connected. It encodes the reference for H3 conditioning; generated audio remains the output.

Outputs (6)

NameTypeDescription
video_latentsLATENT
audio_latentsLATENT
assembly_planH3_CONTINUUM_ASSEMBLY_PLAN
statusSTRING
driving_audioAUDIO
refine_contextH3_CONTINUUM_REFINE_CONTEXT