MiniMax H3 Chain Preflight
The node that argues with your MiniMax H3 Plan before the GPU does
- plan
- source_timeline
- source_audio
- tagged_references
- reference_schedule
- plan
- preflight
- ready
- status
- report_json
Preflight is the cheapest node in the Contex Loop pack, which is exactly why it's the most useful. MiniMax H3 renders are minutes long and a 33B omni-modal model doesn't load in a blink; a Plan that's silently wrong - a scene duration that rounds to an invalid frame count, a reference timestamp off the canvas, a source track that won't line up, a resume whose predecessor dependencies changed - will eat all of that before you ever see a frame. This node catches it before the model loads. It is deliberately model-free: no weights, no VRAM, no waiting.
The README calls this "preflight checks timing, media, references, compatibility, and resume state before H3 loads," and that's the whole job in one sentence. Wire it between your Plan and Loop Start, and it validates Plan timing, the Source Timeline, reference registries, runtime compatibility, and any resume artifacts. Nothing about generation is touched - it's a report, not a render.
What it checks
- Plan timing - durations, context lengths, the AV clock math. H3 can't generate every frame count, so lengths round up to valid 17k+5 raw values; Preflight knows this and flags scenes that came out wrong.
- Media - the optional
source_timelineand (legacy)source_audioroutes: do the streams exist, do they decode, do their 24-fps extents match what the Plan expects. - References - the optional
tagged_referencesandreference_scheduleregistries, so a dangling@tagor an anchor off the canvas shows up before you queue. - Resume state -
start_clipabove 1 means "resume here," and Preflight compares every saved predecessor dependency against the active Plan.verify_resume_history(on by default) is the strictness switch; only turn it off for an intentional advanced recovery from known artifacts.
There's also scene_range, a contiguous scene selection string if you only want to preflight part of a production.
Outputs
The socket set is the same as Plan Studio's preflight half: preflight (structured report), ready (boolean - true only when no blocking error remains), status (a concise error/warning count for a Text node), and report_json. The plan output passes the connected Plan through unchanged, so you can insert Preflight inline between Plan and Loop Start without re-routing anything.
A useful trick: put a Text node on status and glance at it before every queue, and wire ready into your own sanity switch if you want the graph to refuse to proceed on a red flag.
Install
This is a node from the ComfyUI-MiniMaxH3-Contex-Loop pack. Install once via ComfyUI Manager (search "ComfyUI-MiniMaxH3-Contex-Loop") or:
cd ComfyUI/custom_nodes
git clone https://github.com/ethanfel/ComfyUI-MiniMaxH3-Contex-Loop.git
Restart. No extra pip packages - the pack uses ComfyUI's built-ins. It does expect a current ComfyUI with native Add Guide for MiniMax H3 (PR #15439) for the generation half of the graph, and remember the H3 weights themselves are not bundled and are geofenced out of the US, EU, UK and South Korea by the MiniMax H3 Community License.
The honest caveat
Preflight is thorough, but it validates what the Plan declares against what's on disk - it can't predict the model deciding to melt a face. Treat a green ready as "your production is internally consistent," not "this render will be good." The point of the node is to kill the boring failures for free so your GPU time is spent on taste, not typos.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| plan | H3_CHAIN_PLAN | Connect the validated H3 Chain Plan to inspect. | |
| source_timelineopt | H3_SOURCE_TIMELINE | Optional source media for the shared model-free preflight. | |
| source_audioopt | AUDIO | Legacy source route; do not connect with Source Timeline. | |
| start_clipopt | INT | 11–128 | Resume scene to preflight. |
| scene_rangeopt | STRING | Optional contiguous scene selection to preflight. | |
| verify_resume_historyopt | BOOLEAN | true | When resuming after scene 1, compare every saved predecessor dependency with the active Plan. Disable only for an intentional advanced recovery from known artifacts. |
| tagged_referencesopt | H3_TAGGED_REFERENCES | Optional active prompt-driven reference registry. | |
| reference_scheduleopt | H3_REFERENCE_SCHEDULE | Optional legacy scheduled reference registry. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| plan | H3_CHAIN_PLAN | The connected Plan unchanged, or the complete validated standalone Plan authored by Studio. |
| preflight | H3_PREFLIGHT_REPORT | Structured model-free preflight report. |
| ready | BOOLEAN | True when no blocking preflight error remains. |
| status | STRING | Concise error/warning count. |
| report_json | STRING | JSON serialization of the structured report. |