2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:49:52 +09:00
2026-08-16 20:32:47 +09:00
2026-08-10 16:59:48 +09:00
2026-08-10 16:28:20 +09:00
2026-08-10 16:28:20 +09:00
2026-08-16 20:32:47 +09:00
2026-08-13 20:59:18 +09:00
2026-08-16 20:32:47 +09:00
2026-08-12 15:36:01 +09:00
2026-08-13 21:55:51 +09:00
2026-08-14 01:18:38 +09:00
2026-08-10 16:28:20 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00
2026-08-10 16:28:20 +09:00
2026-08-16 20:32:47 +09:00
2026-08-10 16:28:20 +09:00
2026-08-16 20:49:52 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00
2026-08-10 16:28:20 +09:00
2026-08-10 22:55:36 +09:00
2026-08-10 22:55:36 +09:00
2026-08-16 20:32:47 +09:00
2026-08-16 20:32:47 +09:00

ComfyUI-H3-Continuum 3.3.0

workflow (8)

Native long-form MiniMax H3 video and audio continuation for ComfyUI.

Stable release: V3.3.0. It adds chunk-local Timeline Video and guarded decoded-video seam correction while preserving the stable sampler, Run Storage contracts, and Spectrum Interop API v1.

https://github.com/user-attachments/assets/bfa8c683-fc9d-48f1-9cdb-477ca110cdf2

H3 Continuum Sampler V3.3 generates 1 to 16 linked H3 chunks, carries raw video/audio latent context between chunks, supports T2VA, I2VA, FL2VA and multi-image Reference conditioning, and can resume completed chunks from disk.

V3 delegates video and audio decoding to normal ComfyUI Core VAE Decode nodes. No model weights or third-party accelerator code are bundled.

Sample workflows

Download a JSON file and drag it onto the ComfyUI canvas. The examples use optional external custom nodes and local image/audio inputs; replace or bypass unavailable assets for your environment.

Turbo weights are available from LightX2V MiniMax H3 Turbo.

Key features

  • Raw paired video/audio latent continuation without decode/re-encode between chunks.
  • One production sampler UI with normal controls first and infrequent controls marked Advanced.
  • T2VA, First Frame, Last Frame, First + Last Frame, and Reference conditioning.
  • Up to three active Reference images across every chunk, compacted in Core connection order.
  • One native Reference Audio item across every chunk.
  • Disk-backed Run Storage with automatic resume and compatible Revision reuse.
  • Fixed, List, and Timeline prompts through one Sequence Prompt input.
  • ComfyUI Core Video/Audio VAE Decode and a separate Continuum Assemble stage.
  • Chunk-local Timeline Video conditioning with an efficient 0.4 MP default.
  • Guarded Audio Seam and Video Seam correction after Core decode.
  • Optional Spectrum Actual Prefix 2 interoperability.
  • External SageAttention, LoRA, Turbo, and Spectrum MODEL chains remain composable.
  • Existing legacy node identifiers remain registered for saved-workflow compatibility.

Installation

ComfyUI Manager

Open ComfyUI Manager, search for H3 Continuum or Continuum, and select Install.

H3 Continuum in ComfyUI Manager

Restart ComfyUI after installation, then search for H3 Continuum Sampler V3.3 in the node menu.

Manual installation

From ComfyUI/custom_nodes/:

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

Restart ComfyUI and search for H3 Continuum Sampler V3.3.

For ZIP installation, extract the repository as ComfyUI-H3-Continuum under ComfyUI/custom_nodes/, then restart ComfyUI.

Use an up-to-date ComfyUI. ComfyUI v0.32.0 or later is recommended for the current MiniMax H3 Core VAE fixes and memory improvements.

No additional Python package is required beyond a working ComfyUI MiniMax H3 environment.

Standard connection

H3 MODEL Loader
  -> optional SageAttention
  -> optional Turbo/LoRA
  -> optional Spectrum
  -> H3 Continuum Sampler V3.3.model

MiniMax H3 CLIP/Text Encoder ------> clip
MiniMax H3 Video VAE -------------> video_vae
Sampler --------------------------> sampler
Sigmas ---------------------------> sigmas
Text (Multiline) -----------------> Sequence Prompt
Optional images ------------------> first_frame / last_frame / reference_image_1/2/3

video_latents --> Core VAE Decode -----------+
audio_latents --> Core VAE Decode Audio -----+--> H3 Continuum Assemble V3
assembly_plan -------------------------------+

H3 Continuum Assemble V3.images/audio --> Create Video

The square grid icon on video_latents and audio_latents means a list of chunk latents. Connect each output to one normal Core decode node; ComfyUI maps the decoder across the chunk list.

The video_vae input is used for image conditioning when needed. Continuum does not perform final Video VAE decoding internally.

Conditioning modes

The sampler selects the mode from connected image inputs.

Connected images Mode
None T2VA + Continuation
First Frame I2VA + Continuation
Last Frame Last-frame-conditioned + Continuation
First + Last Frame FL2VA + Continuation
Reference 1, optionally Reference 2 and 3 Reference + Continuation

Reference images and First/Last Frame are mutually exclusive. Active Reference inputs are compacted in Core connection order; bypassed sockets are ignored.

Reference Image 1, 1+2, or 1+2+3 may be connected. A single active image is treated as Picture 1, and active images are numbered without gaps. Ref2VA is the reference-specialized checkpoint and may provide stronger reference fidelity, while FL2VA + Reference is also allowed. Checkpoint classification is diagnostic only; the sampler never switches MODELs automatically. Strict Compatibility remains reserved for H3 contracts that are actually unsafe or unsupported.

Reference prompts should identify the images explicitly:

<Picture 1> defines the subject's face and identity.
<Picture 2> defines the subject's clothing, body design, and skateboard.
<Picture 3> optionally defines another ordered identity, object, or environment reference.

Reference images persist across all Continuum chunks.

Reference Size

  • Match Output: preserve aspect ratio and downscale toward the output pixel area.
  • Max Identity: retain a larger identity reference, downscaling only when necessary.

Both modes avoid stretching and use crop-free Reference preprocessing.

Quick start

  1. Add H3 Continuum Sampler V3.3.
  2. Connect MODEL, CLIP, Video VAE, sampler, sigmas, and one Text (Multiline) node.
  3. Set Prompt Format = Auto.
  4. Start with chunks = 3, chunk_seconds = 5.0, and Balanced - 22 frames.
  5. Connect the raw latent outputs to Core VAE Decode and Core VAE Decode Audio.
  6. Connect decoded outputs and assembly_plan to H3 Continuum Assemble V3.
  7. Connect Assemble images/audio to Create Video.

Recommended safe defaults:

Setting Starting value
Prompt Format Auto
Continuity Balanced - 22 frames
Audio Continuity On
Audio Seam Auto
Report Detail Basic
Regenerate From Auto
Run Storage Off for short tests; Save + Auto Resume for long runs
SageAttention Auto when backend compatibility is unknown

H3 Continuum Sampler UI

The production node keeps normal generation controls visible and marks infrequent controls as native ComfyUI Advanced widgets. Most users only need the main controls.

Main inputs and controls

Group Input or control Purpose
H3 pipeline model, clip, video_vae, sampler, sigmas Connect the normal MiniMax H3 MODEL, text encoder, Video VAE, sampler, and sigma schedule.
Prompt Sequence Prompt Fixed, List, or Timeline text for the complete Continuum run.
Keyframes first_frame, last_frame Optional I2VA, last-frame-conditioned, or FL2VA keyframes.
Reference images reference_image_1, reference_image_2, reference_image_3 Up to three ordered Picture references. Bypassed inputs are ignored.
Reference audio reference_audio_1, reference_audio_vae Optional native H3 Reference Audio. Connect the Audio VAE only when Reference Audio is used.
Duration chunks, chunk_seconds Number of linked chunks and duration of each chunk. Start with 3 x 5.0 seconds.
Canvas width, height Output dimensions. Use values compatible with the current H3 Core path, normally multiples of 32.
Continuity continuity Number of previous raw frames carried into the next chunk. Balanced - 22 frames is the practical default.
Seed base_seed Base seed used to derive deterministic per-chunk seeds.

Reference images and First/Last Frame are mutually exclusive. Reference Audio can be combined with either keyframe conditioning or Reference Image conditioning.

Advanced controls

Control Default Use
Prompt Format Auto Detect Fixed, List, or Timeline prompts.
Audio Continuity On Carry raw audio context between chunks.
Report Detail Basic Select the amount of status and diagnostic text.
Regenerate From Auto Resume normally, or regenerate from a selected saved chunk.
reroll_nonce 0 Automatic Revision behavior. Positive values provide explicit legacy branch selection.
Strict Compatibility On Stop only on H3 contracts that are actually unsafe or unsupported.
Debug Off Enable additional troubleshooting output.
Show Preview On Show normal progress and preview information.
Run Storage Off Use Save + Auto Resume for long or interruptible runs.
Run Name blank Optional manual storage-name override. Automatic identification is used when blank.
Reference Size Match Output Choose practical output-area matching or larger identity preservation.

Outputs

Output Connect to
video_latents One normal ComfyUI Core Video VAE Decode node.
audio_latents One normal ComfyUI Core Audio VAE Decode node.
assembly_plan H3 Continuum Assemble V3.
status Core Preview as Text when a readable run report is needed.

Sequence Prompt

Fixed

One prompt is reused for all chunks.

A continuous cinematic shot. Preserve the same subject, camera direction,
lighting, movement, voice, soundscape, and music across every continuation.

List

Separate one prompt per chunk with a line containing three hyphens.

Opening action.
---
Continue seamlessly from the exact previous movement.
---
Complete the action naturally without a cut or pose reset.

If fewer sections are provided than chunks, the last section is repeated.

Timeline

[0-5s]
Opening action.

[5-10s]
Continuous middle action.

[10-15s]
Natural ending.

Prompt Format = Auto detects Fixed, List, or Timeline syntax.

Run Storage and automatic resume

For long generations:

Run Storage      = Save + Auto Resume
Regenerate From  = Auto
reroll_nonce      = 0

H3 Continuum chunk auto-resume settings

Each completed raw AV chunk is atomically saved. If generation stops, Queue the same compatible workflow again:

Chunk 1 saved
Chunk 2 saved
Chunk 3 interrupted

Next Queue:
Chunk 1 reused
Chunk 2 reused
Chunk 3 generated

Run Storage creates deterministic Revisions from the sampling contract. When Run Name and Auto Resume ID are blank, a stable storage ID is derived from the sampler node. It tracks observable inputs including:

  • H3 MODEL loader and ordered MODEL patch/wrapper chain.
  • LoRA/Turbo enabled state, filename, and strength.
  • CLIP/Qwen encoder and Video VAE loaders.
  • Sampler, exact sigma schedule, resolution, duration, continuity, seed, and prompts.
  • Conditioning mode, First/Last Frame hashes, and Reference image hashes/settings.

Changing FL2VA to Ref2VA, changing LoRA strength, or changing another tracked setting creates or selects a different Revision. Returning to an earlier compatible configuration reuses its earlier Revision.

The upstream graph and runtime MODEL/CLIP/VAE weight probes are both retained. Unknown wrappers or incomplete runtime probes fail safe: chunks may still be saved, but automatic reuse is disabled when identity cannot be established reliably.

Saved chunk files are verified by size and SHA-256 before reuse. Storage schema changes preserve old files but do not automatically reuse unverifiable older chunks.

Even when all sampling chunks are reused, Core VAE Decode and final assembly run again. A reused 15-second test can therefore still take roughly one minute.

Regenerate from a chunk

Select Chunk N in Regenerate From to reuse chunks before N and regenerate N onward. Keep Auto for normal resume. Chunk regeneration requires Run Storage = Save + Auto Resume.

reroll_nonce = 0 uses automatic Revision behavior. A positive nonce is retained for compatibility and explicit branch selection.

Spectrum-aware continuation

With a compatible ComfyUI Spectrum MiniMax H3, Continuum requests Actual Prefix 2 for continuation chunks through Interop API v1. Upstream integration is currently pending in PR #52; until it is merged, use the validated PR/Fork receiver and confirm the acceptance log below.

Chunk 1: normal path
Chunk 2+: inherited raw AV Context
          -> at least two Actual Transformer steps
          -> normal Spectrum forecast schedule

This does not add solver steps. It protects the first evaluations after a new continuation Context before forecasting begins.

A compatible receiver logs:

Spectrum H3: accepted H3 Continuum API v1, actual prefix=2

Actual Prefix 2 is active only when the Spectrum log reports that the Continuum API request was accepted. Older or incompatible Spectrum versions continue without that receiver behavior.

Benefits after the Spectrum upstream merge

Once the Continuum receiver is included in an official Spectrum release, users no longer need a Continuum-specific Spectrum fork or local patch. Installing or updating Spectrum through its normal distribution path will preserve the integration.

  • Automatic handshake: Continuum emits the request only for continuation chunks, and Spectrum applies Actual Prefix 2 when it recognizes Interop API v1.
  • Safer chunk transitions: the first two Transformer evaluations after a new raw AV Context are evaluated normally before Spectrum forecasting resumes. This is intended to reduce forecast instability immediately after a chunk boundary; it does not guarantee that every visible seam or flicker will disappear.
  • No additional solver steps: Actual Prefix 2 changes which existing evaluations are calculated as Actual steps; it does not increase the configured step count.
  • Update-friendly operation: the receiver becomes part of upstream Spectrum, so a normal Spectrum update does not overwrite a separate local interoperability patch.
  • Optional composition: Continuum still works without Spectrum. MODEL selection, Turbo/LoRA, SageAttention, and Spectrum remain external workflow choices, and Continuum does not install or switch them automatically.

After updating Spectrum, confirm that Chunk 2 and later print the acceptance log shown above. Its presence is the runtime proof that the upstream receiver is active.

Standard and Turbo profiles

Quality
  standard approximately 20-step H3 sampling
  Spectrum ON
  Actual Prefix 2 automatic

Fast
  Turbo / 8-step profile
  Spectrum OFF

Experimental
  Turbo + Spectrum

Turbo + Spectrum is not the recommended default because local testing showed a higher risk of artifacts. Sol-Attn is also not part of the current recommended continuity profile.

Turbo LoRA files are available from LightX2V MiniMax H3 Turbo. The ComfyUI-specific FL2VA and Ref2VA variants can be selected in the upstream MODEL/LoRA chain; Continuum does not bundle or switch them automatically.

Timeline Video

H3 Continuum Timeline Video adds an optional VIDEO source to the existing continuation pipeline. The source is sliced per 5-second chunk, resized independently from the output, encoded only for chunks that must be generated, and released after use.

  • Efficient - 0.4 MP is the default and recommended starting point.
  • Match Output preserves more source detail but can be substantially slower and heavier.
  • Timeline-video audio is not used; connect Reference Audio separately when needed.
  • Results still depend on the checkpoint, prompt, source motion, and reference compatibility.

Assemble + Seam

Connect decoded chunk images, audio, and assembly_plan to H3 Continuum Assemble + Seam.

  • Default: Audio Seam = Auto, Video Seam = Auto, Report Detail = Basic.
  • Video modes: Auto, Auto 2, Analyze Only, Off.
  • Auto applies guarded transient and micro-flash correction without frame deletion.
  • Auto 2 additionally enables guarded exposure-ramp correction and remains experimental.
  • Analyze Only reports the boundary classification without changing images or audio.

Why Core Decode is external

Continuum owns sampling, continuation planning, chunk metadata, context trimming, audio alignment, exact duration, and final assembly.

ComfyUI Core owns Video/Audio VAE execution, tiled decode behavior, memory strategy, and future H3 VAE improvements.

This allows the normal Core VAE Decode to benefit from ComfyUI updates without copying H3 VAE implementation code into Continuum. Use Core VAE Decode (Tiled) when the normal decode path is unsuitable for the selected resolution or available memory.

Full raw chunks are decoded before Continuum trims repeated context. Trimming latents before decode would change temporal VAE conditioning.

Validation summary

V3.3.0 passed the automated suite and Windows runtime checks for the production sampler, Reference Image/Audio, Run Storage, Timeline Video, Spectrum Actual Prefix 2, Audio Seam Auto, and guarded Video Seam Auto.

Auto 2 is included as an experimental fallback when Auto does not sufficiently reduce a boundary exposure ramp. Detailed test conditions, results, and remaining limits are recorded in docs/VALIDATION_RESULTS.md.

Diagnostics

status is a normal STRING output. Connect it to Core Preview as Text when you need the sampling and Run Storage report.

Useful lines include:

Conditioning mode: Reference + Continuation.
interop=emitted actual_prefix=2
3 reused, 0 generated
resume=complete

accelerator markers not detected (informational only) is not an error. It only means the optional accelerator marker was not observable.

Use Report Detail = Basic normally. Enable detailed diagnostics and debug only when troubleshooting.

Compatibility and scope

  • Native MiniMax H3 PackedLayout is preserved.
  • Video and audio VAEs are not run between sampling chunks.
  • Accepted raw chunk latents are retained on CPU.
  • MODEL input is cloned once per chunk; the workflow MODEL is not mutated.
  • SageAttention, LoRA/Turbo, Spectrum, and model weights remain external.
  • Unknown H3 layout contracts fail clearly.
  • Legacy V1/V2/V3 node identifiers remain registered for older workflows but are not the recommended starting point.

Continuum is independently implemented. It does not copy or bundle source code from Spectrum or H3 Motion Context.

Development checks

python -m compileall -q .
python -m pytest -q

The GitHub Actions workflow runs compileall and the full pytest suite with its explicit test dependencies.

License

MIT. Model files and third-party custom nodes retain their own licenses. MiniMax H3 weights are not redistributed.

S
Description
Dumas fork of H3 Continuum with per-clip tiled latent upscaling
Readme MIT
22 MiB
Languages
Python 91.6%
JavaScript 8.2%
PowerShell 0.2%