Nodes/Trent Nodes/Video Chain
ComfyUI Node

Video Chain

Makes a video from several H3 clips with one queue. Connect a VHS Meta Batch Manager, set how many clips, and queue once. Every clip after the first continues where the clip before it ended.

By TrentHunter82·Created 11 months ago·Updated a day ago· 50
Video Chain
  • meta_batch
  • chain
  • seed
  • song_start
  • prompt
  • is_first_clip
◄clips4►
◄seed987654321►
◄overlap_frames39►
◄song_offset0.00►
◄first_prompt—►
◄later_prompt—►
◄clips_already_made0►
CategoryTrent/MiniMax

Inputs (8)

NameTypeDefaultDescription
meta_batchVHS_BatchManagerVHS Meta Batch Manager. Its frames_per_batch is the length of every clip.
clipsINT41–1000How many clips this run makes.
seedINT9876543210–18446744073709550000Seed of clip 1. Each later clip adds 1.
overlap_framesINT3939–9999Frames each clip copies from the end of the clip before it. 39, 90, 141, ... are the lengths where H3 video and audio line up.
song_offsetFLOAT0.000–100000Where clip 1 starts in the song, in seconds.
first_promptoptSTRINGPrompt for clip 1.
later_promptoptSTRINGPrompt for every later clip. Leave empty to use first_prompt for all clips.
clips_already_madeoptINT00–10000 starts a new video. To add clips to the last run, set how many clips it made; this run then continues from its last clip. Keep every other setting the same.

Outputs (5)

NameTypeDescription
chainH3_CHAINConnect to Continue From Last Clip, Remember Clip Ending and Join Clips.
seedINTA new seed for each clip. Connect to RandomNoise.
song_startFLOATWhere this clip starts in the song, in seconds. Connect to Trim Audio Duration start_index.
promptSTRINGfirst_prompt on clip 1, later_prompt on every other clip.
is_first_clipBOOLEANTrue on clip 1 only.