Nodes/MiniMax H3 Audio T8/MiniMax H3 Prompt Relay Long Video Conditioning / 长视频分段路由条件 (Advanced)
ComfyUI Node

MiniMax H3 Prompt Relay Long Video Conditioning / 长视频分段路由条件 (Advanced)

Segment-level relay conditioning that keeps Long Video's motion context intact

By T8mars·Created 20 days ago·Updated a day ago· 807
MiniMax H3 Prompt Relay Long Video Conditioning / 长视频分段路由条件 (Advanced)
  • model
  • clip
  • video_vae
  • audio_vae
  • context
  • prompt_relay_plan
  • drive_audio
  • final_audio
  • first_frame
  • last_frame
  • ref_images
  • ref_videos
  • ref_video_audios
  • ref_audios
  • persistent_identity_image
  • model
  • positive
  • av_latent
  • mux_audio
  • conditioned_prompt
  • media_map_json
  • report_json
segment_index0
context_frames0
context_audiovideo_and_audio
width1056
height608
length124
task_typeauto
audio_modenative
audio_denoise_strength0.35
add_source_as_referencetrue
prompt_primary_audio_ordinal0
strict_prompt_tagstrue
ref_image_sizematch
reference_video_policyofficial_2_to_15s
execution_modereport_only
query_chunk_rows256
first_frame_reusesegment0_only
persistent_identity_strategysingle_reference
persistent_identity_interval1

Putting Prompt Relay into a Long Video pipeline is a composition problem: Long Video already does its own thing - re-injecting the previous segment's tail as motion context - and relay wants to patch the model's attention with timed event windows. Do them naively and the two mechanisms fight over the same attention entry point. MiniMaxH3PromptRelayLongVideoConditioningT8Advanced is the node that composes them: it takes the existing Long Video motion-context payload repair and the Prompt Relay attention routing, and isolates them so each does its job without clobbering the other. The description's phrase is "isolated composition" - and the promise is that the old Long Video Conditioning schema is never changed.

This is the per-segment workhorse. Where MiniMaxH3PromptRelayLongVideoPlanT8Advanced projects the global timeline into a segment's window, this node consumes that projected plan, encodes it through the H3 Qwen chain, and produces the same downstream bundle the plain relay Conditioning node does - model, positive, av_latent, mux_audio - but with Long Video's context handling layered in.

The inputs that matter

  • model, clip, video_vae, audio_vae - native H3 components, unpatched (the tooltip on model says "not connected to other patches").
  • context (H3_T8_CONTEXT) - the Long Video context handle, wired from the Planner.
  • prompt_relay_plan - must come from the paired Long Video Window node (MiniMaxH3PromptRelayLongVideoPlanT8Advanced). Not the plain relay Plan - that's a hard requirement.
  • segment_index and context_frames (0–39, the 5/22/39 overlap) - which segment this is and how much past it re-renders.
  • length - 124 default, steps of 17, on H3's native frame grid.
  • context_audio - video_and_audio by default; the audio side of the context tail is a real choice here.
  • The familiar relay/audio bundle: task_type, audio_mode (native default), audio_denoise_strength (0.35), add_source_as_reference (true), execution_mode (report_onlyapply_exp), query_chunk_rows (256).
  • Long Video extras: first_frame_reuse (segment0_only), plus persistent_identity_image / persistent_identity_strategy / persistent_identity_interval - the identity-through-segments levers.

Outputs: model, positive, av_latent, mux_audio, conditioned_prompt, media_map_json, report_json.

The wiring rules that matter

The same discipline applies as the plain relay Conditioning node - report_only first, then apply_exp; lock_source + mux_audio to the save node if you need the original voice; and the README's reminder that drive_audio is a generation condition, not deterministic lip-sync. The real chain the author ran - segment 0→1 with 22-frame context, events that didn't restart at the head, 124+102 frames, three rounds of strict decode on video and audio - validates the mechanics, not universal quality. Audio seams still need your ears.

Install

Part of the MiniMax H3 Audio T8 pack:

cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/comfyui-minimax-h3-audio-T8

or search "MiniMax H3 Audio T8" in ComfyUI Manager and restart. No pip deps; supply H3 weights and VAEs; ffmpeg on PATH for final Long Video concat. The template is examples/workflows/04-long-video/2026-08-20_H3_Prompt_Relay_Long_Video_Turbo8_Advanced_EXP.json - follow its canvas notes for the exact ordering.

CategoryT8/MiniMax H3/Long Video/Experimental

Inputs (34)

NameTypeDefaultDescription
modelMODEL未接其他补丁的原生 MiniMax H3 MODEL。
clipCLIP原生 MiniMax H3 Qwen3-VL CLIP。
video_vaeVAE
audio_vaeVAE
contextH3_T8_CONTEXT
prompt_relay_planH3_T8_PROMPT_RELAY_PLAN必须来自同段 Long Video Window 节点。
segment_indexINT00–99999
context_framesINT00–39
context_audioCOMBOvideo_and_audio2 options: video_and_audio, video_only
widthINT105632–16384
heightINT60832–16384
lengthINT1245–3600
task_typeCOMBOauto7 options: auto, T2VA, I2VA, FL2VA, L2VA, Ref2VA, +1
audio_modeCOMBOnative4 options: native, lock_source, remix_source, reference_only
audio_denoise_strengthFLOAT0.350–1
add_source_as_referenceBOOLEANtrue
prompt_primary_audio_ordinalINT00–9
strict_prompt_tagsBOOLEANtrue
ref_image_sizeCOMBOmatch2 options: match, max
reference_video_policyCOMBOofficial_2_to_15s2 options: official_2_to_15s, model_minimum
execution_modeCOMBOreport_only先 report_only;确认报告后再显式切到 apply_exp。
query_chunk_rowsINT25632–2048
drive_audiooptAUDIO
final_audiooptAUDIO
first_frameoptIMAGE
last_frameoptIMAGE
ref_imagesoptCOMFY_AUTOGROW_V3
ref_videosoptCOMFY_AUTOGROW_V3
ref_video_audiosoptCOMFY_AUTOGROW_V3
ref_audiosoptCOMFY_AUTOGROW_V3
first_frame_reuseoptCOMBOsegment0_only2 options: segment0_only, persistent_identity_reference
persistent_identity_imageoptIMAGE
persistent_identity_strategyoptCOMBOsingle_reference2 options: single_reference, scene_plus_identity
persistent_identity_intervaloptINT11–32

Outputs (7)

NameTypeDescription
modelMODEL
positiveCONDITIONING
av_latentLATENT
mux_audioAUDIO
conditioned_promptSTRING
media_map_jsonSTRING
report_jsonSTRING