Extensions/ComfyUI-Replace-First-Frame-Last-Frame
ComfyUI Extension

ComfyUI-Replace-First-Frame-Last-Frame

Replace the first and last frames of an image sequence in ComfyUI. Auto-resizes frames to match video dimensions, handles batches, and adjusts parameters if needed.

By lovisdotio·Created 9 months ago·Updated 9 months ago· 1
lovisdotio/ComfyUI-Replace-First-Frame-Last-Frame
Nodes1
On cloudLocal install
Categoryimage/animation
Stars1
Updated9 months ago
Readme

ComfyUI Replace First & Last Frames

Replace the first and last frames of an image sequence in ComfyUI. Auto-resizes frames to match video dimensions, handles batches, and adjusts parameters if needed.

Node Preview

Installation

Clone into ComfyUI/custom_nodes/ and restart ComfyUI. Node appears in image/animation.

Usage

  • image_sequence: Your image sequence (video)
  • start_frames: Frame(s) to replace at start (auto-resized to match sequence)
  • last_frames: Frame(s) to replace at end (auto-resized to match sequence)
  • num_start_frames: How many frames to replace at start (0-10000)
  • num_last_frames: How many frames to replace at end (0-10000)

Auto-resizing: Start and last frames are automatically resized to match the video dimensions (height, width, channels). No manual resizing needed.

License

MIT