Nodes/Herrgotts-H3-Infinite-Continuation-Suite/H3 Infinite - Auto Handover v1.2
ComfyUI Node

H3 Infinite - Auto Handover v1.2

H3 Auto Handover v1.2 — The Freeze Detector Gets Tighter

By HerrgottMargott·Created 14 days ago·Updated 3 days ago· 51
H3 Infinite - Auto Handover v1.2
  • images
  • handover
  • analysis_info
  • freeze_detected
  • freeze_start_frame
  • ideal_handover_end_frame
  • phase_aligned_handover_end_frame
  • ignored_tail_frames
  • confidence
presetBalanced
analysis_window72
freeze_hold8
safety_margin3
context_frames22
analysis_size192
final_mean_diff_threshold0.0120
final_active_pixel_threshold0.025
max_final_active_area_percent3.00
transition_mean_diff_threshold0.0020
transition_active_pixel_threshold0.010
max_transition_active_area_percent1.00
min_static_transition_percent70
max_consecutive_motion_outliers2
final_reference_frames15
min_final_match_percent75
max_consecutive_final_outliers3
safety_modefixed

H3 Infinite's Auto Handover v1.2 (class H3ContinuousAnalyzeHandoverV11) is where the freeze detector stopped being a research knob and started being a tool you can trust by default. The headline change from v1.0: Balanced and Motion Safe now use a freeze_hold of 8 instead of 12. That's a real behavioral difference - it means the detector is willing to call a freeze after 8 locked ending frames instead of waiting for 12, which matters because FL2VA landing tails can be short and you don't want to keep the tail just because it didn't freeze long enough.

It's the analyzer paired with the v1.2 "H3 Infinite" generation nodes, in the pack's second-generation workflow. If you've got a v1.2 chain loaded, this is the class it expects.

What actually changed under the hood

The Stable-Tail Consensus detector itself is the same idea as before: build a median final-state reference from the last final_reference_frames, walk backward, require both a primary lock test (mean RGB diff + active-area-percent) and a secondary transition test, gate on min_final_match_percent and tolerated outliers.

The new piece is the no-lock fallback. When the detector can't confidently find a freeze at all, v1.2 doesn't just shrug - it excludes freeze_hold - 1 ending frames (7 with Balanced defaults) before selecting the phase-aligned latent cutoff. That's the conservative safety behavior that fixed the "video is still moving but the next clip starts mid-motion" class of seams in earlier versions. The logic: if you can't prove the tail is safe to reuse, cut it.

The inputs

preset is the only input a beginner should touch: Balanced (validated detector, freeze_hold 8, 3-frame fixed safety), Motion Safe (same detector, 6-frame safety), or Custom, which reveals the full advanced set - analysis_window, freeze_hold, safety_margin, context_frames, analysis_size, the primary/secondary thresholds, and the robust gates. context_frames (default 22) remains the minimum motion/audio history; the analyzer can extend backward to restore phase-0 alignment.

Outputs are the standard handover family: handover (the struct that feeds Continue), plus analysis_info, freeze_detected, freeze_start_frame, ideal_handover_end_frame, phase_aligned_handover_end_frame, ignored_tail_frames, and confidence.

Install and requirements

Same pack, same steps:

cd ComfyUI/custom_nodes
git clone https://github.com/HerrgottMargott/Herrgotts-H3-Infinite-Continuation-Suite.git

Restart ComfyUI and reload the browser. The pack has no heavy pip deps - it extends ComfyUI's native MiniMax H3 support - and ships no weights. H3 checkpoints, the video/audio VAEs, and Qwen 3 VL all come from Comfy-Org's MiniMax-H3 repo, and that download is the big one (roughly tens of GB for the pruned FL2VA transformer plus the Qwen 3 VL encoder).

Gotchas

This is the v1.2 analyzer - solid, still registered, and the fallback behavior is genuinely useful for older workflows. But if you're starting a new project in 2026, the v1.4 Masked AV path is the one the author recommends; it changes the whole continuation mechanism (native masks instead of reconstructed context) and this analyzer's phase-aligned latent cutoff is the older approach. Keep v1.2 around for reproducing existing chains and A/B comparisons - that's exactly what it's for.

CategoryHerrgotts H3 Infinite Continuation Suite

Inputs (19)

NameTypeDefaultDescription
imagesIMAGEDecoded FULL rendered frames from the accepted H3 clip.
presetCOMBOBalancedBalanced = validated detector with freeze_hold 8 and fixed 3-frame safety. Motion Safe = same detector with 6-frame safety. Custom reveals the advanced controls.
analysis_windowINT7212–480Custom only. Inspect this many final frames first. If the whole window is already locked, analysis automatically expands backward.
freeze_holdINT82–60Custom only. Minimum trailing lock length. Stable-tail consensus must persist for at least this many ending frames.
safety_marginINT30–12Custom only. Pixel-frame safety before the detected lock. With safety_mode=fixed (recommended), this configured margin is always respected; adaptive preserves the older confidence-based behavior.
context_framesCOMBO22Custom only. Minimum motion/audio history. phase_aligned_extended may extend backward beyond this value to restore canonical phase-0 alignment.
analysis_sizeINT19264–512Custom only. Max edge used only for analysis. The rendered video is never resized or modified.
final_mean_diff_thresholdFLOAT0.01200.0001–0.03Custom only. PRIMARY lock test: maximum mean blurred RGB difference between a candidate frame and the median stable-tail reference. Lower = stricter/later lock.
final_active_pixel_thresholdFLOAT0.0250.001–0.2Custom only. PRIMARY lock test: per-pixel RGB-difference level used to decide which image areas differ from the median stable-tail reference.
max_final_active_area_percentFLOAT3.000.05–20Custom only. PRIMARY lock test: at most this percentage of the image may differ materially from the median stable-tail reference.
transition_mean_diff_thresholdFLOAT0.00200.0001–0.03Custom only. SECONDARY safety test: maximum mean luminance change between consecutive frames inside the detected final-frame lock.
transition_active_pixel_thresholdFLOAT0.0100.001–0.2Custom only. SECONDARY safety test: per-pixel luminance change that counts as residual motion.
max_transition_active_area_percentFLOAT1.000.05–20Custom only. SECONDARY safety test: maximum visibly changing area allowed for an individual transition.
min_static_transition_percentFLOAT7050–100Custom only. ROBUST secondary gate: minimum percentage of transitions inside the final-frame-matching suffix that must be near-static. Isolated shimmer/outliers are allowed.
max_consecutive_motion_outliersINT20–12Custom only. ROBUST secondary gate: maximum consecutive non-static transitions allowed inside an otherwise locked suffix. Prevents sustained real motion from being accepted.
final_reference_framesINT153–31Custom only. STABLE-TAIL reference: build the final-state image from the pixel-wise median of this many ending frames instead of trusting one possibly shimmering last frame.
min_final_match_percentFLOAT7550–100Custom only. ROBUST primary gate: minimum percentage of frames in the candidate locked suffix that must match the median final-state reference.
max_consecutive_final_outliersINT30–12Custom only. ROBUST primary gate: maximum consecutive final-state mismatches allowed inside the locked suffix. Candidate start itself must always match.
safety_modeCOMBOfixedCustom only. fixed is recommended; adaptive (Legacy) can reduce safety at high confidence.

Outputs (8)

NameTypeDescription
handoverH3_CONTINUOUS_HANDOVER
analysis_infoSTRING
freeze_detectedBOOLEAN
freeze_start_frameINT
ideal_handover_end_frameINT
phase_aligned_handover_end_frameINT
ignored_tail_framesINT
confidenceFLOAT