Extensions/FrameFuse
ComfyUI Extension

FrameFuse

ComfyUI nodes for stitching a still frame onto the start or end of an IMAGE video batch and trimming extra tail frames with optional audio sync alignment.

By headline-design·Created 4 months ago·Updated 4 months ago· 4
headline-design/comfyui-framefuse
Nodes2
On cloudLocal install
CategoryFrameFuse
Stars4
Updated4 months ago
Readme

FrameFuse

Standalone ComfyUI custom nodes for stitching one selected IMAGE frame onto the beginning or end of an IMAGE video batch, and trimming extra tail frames back off, with optional matching AUDIO sync handling.

What it does

FrameFuse is a small utility set for cases where you already have a video as an IMAGE batch in ComfyUI and want to:

  • hold on a still frame at the end of the clip
  • add a still frame at the start of the clip
  • repeat that frame multiple times
  • keep the audio aligned by prepending or appending silence
  • trim extra frames from the end later and remove matching audio duration

This node works on ComfyUI IMAGE batches. It does not mux or rewrite video container files directly.

Node

  • FrameFuse
  • FrameFuse Trim End

Inputs:

  • video_frames: source IMAGE batch
  • frame: still frame or IMAGE batch to sample from
  • frame_index: which frame to use from frame
  • repeat_count: how many copies of that frame to stitch in
  • placement_mode: append_end or prepend_start
  • resize_frame_to_video: resize the frame to match the video size
  • fps: used to calculate matching silence duration
  • extend_audio_with_silence: whether to insert silence into the audio
  • audio (optional): ComfyUI AUDIO input

Outputs:

  • STITCHED_VIDEO
  • AUDIO
  • FRAME_COUNT
  • REPORT

FrameFuse Trim End

Inputs:

  • video_frames: source IMAGE batch
  • trim_count: how many tail frames to remove
  • fps: used to calculate matching audio trim duration
  • trim_audio: whether to trim matching audio from the end
  • audio (optional): ComfyUI AUDIO input

Outputs:

  • TRIMMED_VIDEO
  • AUDIO
  • FRAME_COUNT
  • REPORT

Typical wiring

VHS_LoadVideo.IMAGE  -> FrameFuse.video_frames
Still IMAGE          -> FrameFuse.frame
VHS_LoadVideo.audio  -> FrameFuse.audio

FrameFuse.STITCHED_VIDEO -> VHS_VideoCombine.images
FrameFuse.AUDIO          -> VHS_VideoCombine.audio

Trim extra tail frames after a downstream edit pass:

EditedVideo.IMAGE            -> FrameFuse Trim End.video_frames
EditedVideo.audio            -> FrameFuse Trim End.audio

FrameFuse Trim End.TRIMMED_VIDEO -> VHS_VideoCombine.images
FrameFuse Trim End.AUDIO         -> VHS_VideoCombine.audio

Install locally

Clone or copy this folder into your ComfyUI custom_nodes/ directory:

custom_nodes/comfyui-framefuse

Restart ComfyUI and add FrameFuse from the node search.

Registry

  • Comfy Registry: https://registry.comfy.org/publishers/ussaaron/nodes/framefuse
  • Example workflow: https://huggingface.co/ussaaron/workflows/blob/main/FrameFuse.json

Official docs:

  • https://docs.comfy.org/registry/publishing
  • https://docs.comfy.org/registry/specifications
  • https://docs.comfy.org/registry/standards