Nodes/comfyui-minimax-h3-audio-T8/MiniMax H3 In-Node Long Video + Relay/EAV / 内循环长视频增强 (Advanced EXP/T8)
ComfyUI Node

MiniMax H3 In-Node Long Video + Relay/EAV / 内循环长视频增强 (Advanced EXP/T8)

Prompt Relay timelines plus Enhance-A-Video

By T8mars·Created about a month ago·Updated a day ago· 1,031
MiniMax H3 In-Node Long Video + Relay/EAV / 内循环长视频增强 (Advanced EXP/T8)
  • model
  • clip
  • video_vae
  • audio_vae
  • prompt_relay_plan
  • drive_audio
  • final_audio
  • first_frame
  • last_frame
  • persistent_identity_image
  • ref_images
  • ref_videos
  • ref_video_audios
  • ref_audios
  • long_video_sampling_plan
  • source_motion
  • video
  • video_path
  • manifest_path
  • completed_segments
  • status
  • report_json
chain_idmy_h3_in_node_effects_video
total_duration_seconds30.00
width736
height416
render_window_frames124
context_frames22
global_prompt
segment_prompts_json
prompt_relay_modedisabled
query_chunk_rows256
eav_modedisabled
eav_tau4.00
eav_start_video_progress0.00
eav_end_video_progress1.00
eav_max_workspace_mib32
eav_g_hard_limit1.50
minimum_free_vram_mib512
base_seed123456789
seed_policyincrement
steps20
shift_video12.00
shift_audio3.00
sampler_namedual_clock_euler
schedulernative_flow
task_typeauto
context_audiovideo_and_audio
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
first_frame_reusesegment0_only
persistent_identity_strategysingle_reference
persistent_identity_interval1
resume_existingtrue
filename_prefixH3_In_Node_Effects_Long_Video
audio_seam_policycosine_bridge
bridge_ms5.0
bit_depth8
crf18
model_idunknown

The plain in-node long-video loop is a deterministic serial renderer, and for a lot of multi-segment stories that's not enough. Two problems show up in longer shoots: the prompt drifts between segments (a character's description wobbles, the scene forgets what happened), and the motion gets jittery or stale. This node is the "effects" version of the loop, built to solve exactly those two. It's the same append-only, resume-from-disk, one-final-video runner as its sibling - but it can also project one global Prompt Relay timeline into every segment, and/or spin up a fresh Enhance-A-Video audit runtime per segment. Both, if you want, and the source is explicit that when you combine them, there's a single Relay-then-FETA attention owner - one clean owner instead of two nodes fighting.

Prompt Relay is the pack's long-video continuity mechanism: instead of each segment getting its own prompt and forgetting the story, one global timeline is compiled and projected so characters, scene state and style persist across segment boundaries. Enhance-A-Video (EAV) is the motion-quality side, here in the pack's Stock20 variant - and that qualifier matters. EAV in this node is Stock20 only: the native 20-step route, not the Turbo LoRA path. The README's companion workflow is In_Node_Long_Video_Prompt_Relay_EAV_Stock20_Advanced, and it doesn't take a Turbo LoRA.

The inputs that matter

On top of the standard loop inputs (model/clip/VAEs, chain_id, duration, width/height, window, seeds, steps, shifts), the effects layer adds:

  • prompt_relay_mode - disabled (exact bypass), report_only (compile and project the timeline without any attention bias - safe, no output change), apply_exp (enable the projected route). Start with report_only and read the report before committing
  • prompt_relay_plan (optional) - an existing Relay plan to reuse
  • eav_mode - disabled, report_only (audits CFI/g without modifying attention), apply_exp (enable target-video FETA gain)
  • eav_tau (−32 to 32, default 4), eav_start_video_progress / eav_end_video_progress (0→1), eav_max_workspace_mib (32), eav_g_hard_limit (1.5)
  • query_chunk_rows (256) - Relay's chunking for long contexts
  • minimum_free_vram_mib (512) - rechecked before every segment; a floor, not a guarantee

Outputs: video, video_path, manifest_path, completed_segments, status, report_json.

Installing it

Part of the T8mars/comfyui-minimax-h3-audio-T8 pack - search "MiniMax H3 Audio T8" in ComfyUI Manager, install, restart, or:

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

Update ComfyUI first (recent core: comfy_api.latest, comfy.weight_adapter, comfy.patcher_extension, comfy.ldm.minimax); requirements.txt is intentionally empty. Use the bundled In_Node_Long_Video_Prompt_Relay_EAV_Stock20_Advanced workflow.

Where people get burned

The pattern across this pack's EXP features repeats here: report_only before apply_exp. Compile the Relay timeline and audit the EAV motion first - both modes are designed to be non-destructive so you can inspect before enabling. The other big one is the Stock20 rule: this node's EAV runs the native 20-step route, so steps belongs around 20 here (that's the default), and if you're used to the 4-step Turbo world, don't shove a Turbo LoRA into this workflow expecting EAV to cooperate - the README is explicit that it doesn't. Finally, the attention-owner discipline: Relay+EAV together is designed as one owner; layering a third attention-patching node on top is asking for it. This is an EXP feature with an honest ceiling - expect "more consistent and smoother," not miracles on the first un-tuned run.

CategoryT8/MiniMax H3/Long Video/Experimental

Inputs (59)

NameTypeDefaultDescription
modelMODEL
clipCLIPNative MiniMax H3 Qwen3-VL CLIP.
video_vaeVAE
audio_vaeVAE
chain_idSTRINGmy_h3_in_node_effects_video
total_duration_secondsFLOAT30.000.04–3600
widthINT73632–16384
heightINT41632–16384
render_window_framesINT124124–362
context_framesCOMBO223 options: 5, 22, 39
global_promptSTRINGUsed when Prompt Relay is disabled. With Relay, leave empty or copy the Plan global prompt exactly.
segment_prompts_jsonSTRINGPrompt overrides must be empty when Prompt Relay owns the timeline.
prompt_relay_modeCOMBOdisableddisabled is exact bypass; report_only compiles/projects Relay without attention bias; apply_exp enables the projected route.
query_chunk_rowsINT25632–2048
eav_modeCOMBOdisabledStock20 only. report_only audits CFI/g without modifying attention; apply_exp enables target-video FETA gain.
eav_tauFLOAT4.00-32–32
eav_start_video_progressFLOAT0.000–0.99
eav_end_video_progressFLOAT1.000.01–1
eav_max_workspace_mibINT324–512
eav_g_hard_limitFLOAT1.501–3
minimum_free_vram_mibINT5120–65536Rechecked before every segment; this is a start floor, not a peak guarantee.
base_seedINT1234567890–18446744073709550000
seed_policyCOMBOincrement3 options: increment, fixed, hash_chain_segment
stepsINT201–1000
shift_videoFLOAT12.000.01–100
shift_audioFLOAT3.000.01–100
sampler_nameCOMBOdual_clock_euler45 options: dual_clock_euler, euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, +39
schedulerCOMBOnative_flow11 options: native_flow, beta57, simple, sgm_uniform, karras, exponential, +5
task_typeCOMBOauto7 options: auto, T2VA, I2VA, FL2VA, L2VA, Ref2VA, +1
context_audioCOMBOvideo_and_audio2 options: video_and_audio, video_only
audio_modeCOMBOnative4 options: lock_source, remix_source, reference_only, native
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
first_frame_reuseCOMBOsegment0_only2 options: segment0_only, persistent_identity_reference
persistent_identity_strategyCOMBOsingle_reference2 options: single_reference, scene_plus_identity
persistent_identity_intervalINT11–32
resume_existingBOOLEANtrue
filename_prefixSTRINGH3_In_Node_Effects_Long_Video
audio_seam_policyCOMBOcosine_bridge2 options: cosine_bridge, none
bridge_msFLOAT5.00–50
bit_depthCOMBO82 options: 8, 10
crfINT180–51
model_idSTRINGunknown
prompt_relay_planoptH3_T8_PROMPT_RELAY_PLAN
drive_audiooptAUDIO
final_audiooptAUDIO
first_frameoptIMAGE
last_frameoptIMAGE
persistent_identity_imageoptIMAGE
ref_imagesoptCOMFY_AUTOGROW_V3
ref_videosoptCOMFY_AUTOGROW_V3
ref_video_audiosoptCOMFY_AUTOGROW_V3
ref_audiosoptCOMFY_AUTOGROW_V3
long_video_sampling_planoptH3_T8_LONG_VIDEO_SAMPLING_PLANOptional Tail/manual second-pass plan. Prompt Relay remains scoped; EAV audits pass 1 only for manual second-pass mode.
source_motionoptH3_T8_DANCE_MOTIONDance RGB motion source. Read a different source interval per segment; generated continuity is separate.

Outputs (6)

NameTypeDescription
videoVIDEO
video_pathSTRING
manifest_pathSTRING
completed_segmentsINT
statusSTRING
report_jsonSTRING