ComfyUI Node

H3 Auto Chain Audio

Splits one AUDIO input into sequential chunks and reports the chunk duration for H3 Reference To Video.

By Ltamann·Created 2 days ago·Updated about 14 hours ago· 18
H3 Auto Chain Audio
  • audio
  • audio
  • chunk_seconds
  • clip_index
  • chain_id
  • prompt
  • chain_config
  • source_audio
chain_idh3_auto_chain
chunk_seconds20.0
fps24.000
trim_frames22
final_tail_modeexact audio duration
final_tail_frames24
resettrue
style_prompt
clip_prompts
start_clip1
end_clip0
Categoryconditioning/minimax

Inputs (12)

NameTypeDefaultDescription
audioAUDIOComplete audio for the entire automatic chain. The node outputs one sequential chunk per run.
chain_idSTRINGh3_auto_chainUnique name for this chain. It identifies the saved latents, clips, and final video.
chunk_secondsFLOAT20.01–600Target duration of each clip. The final chunk may be shorter.
fpsFLOAT24.0001–240Frame rate of the generated video. Clip starts and audio cuts are calculated on this frame grid.
trim_framesINT220–4096Leading frames removed by H3 Motion Context Trim from continuation clips. Match the Motion Context context length; 22 is about one second at 24 FPS.
final_tail_modeCOMBOexact audio durationFinal partial clip output policy. Exact audio duration removes the silent tail. Audio plus tail keeps the configured silent tail after the source audio ends.
final_tail_framesINT240–4096Silent frames retained after the source audio ends when audio plus tail is selected.
resetBOOLEANtrueStart a new chain and discard the in-memory position. Enable this for a new run or resume.
style_promptSTRINGShared style, character, lighting, camera, and appearance text added to every clip prompt.
clip_promptsSTRINGWrite one tagged prompt per clip: [1] prompt for clip 1, [2] prompt for clip 2, and so on. Tags must start a line.
start_clipINT11–9999First clip to process. To resume after clips 1 and 2, set this to 3.
end_clipINT00–9999Last clip to process. 0 means continue until the audio ends.

Outputs (7)

NameTypeDescription
audioAUDIO
chunk_secondsFLOAT
clip_indexINT
chain_idSTRING
promptSTRING
chain_configH3_CHAIN
source_audioAUDIO