Nodes Browser
ComfyDeploy: How Quick Image Sequence Process works in ComfyUI?
What is Quick Image Sequence Process?
A ComfyUI plugin for quick image sequence processing. This plugin allows users to manipulate frame sequences with various operations including frame insertion, deletion, and duplication.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
Quick Image Sequence Process
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
Quick Image Sequence Process (QuickSeq)
A ComfyUI plugin for efficient image sequence processing. Features frame insertion, duplication, and removal with intuitive controls.
Features
-
Frame Insertion Between Frames:
- Set the number of frames to insert between existing frames
- Choose whether to copy from the previous or next frame
- Example: With frames_between=2, sequence [A,B] becomes [A,A,A,B] or [A,B,B,B]
-
Quick Process First Frames:
- Add or remove frames at the beginning of the sequence
- Positive values: Add duplicates of the first frame
- Negative values: Remove frames from the beginning
- Example: With quick_process_first_frames=2, [A,B,C] becomes [A,A,A,B,C]
- Example: With quick_process_first_frames=-1, [A,B,C] becomes [B,C]
-
Quick Process Last Frames:
- Add or remove frames at the end of the sequence
- Positive values: Add duplicates of the last frame
- Negative values: Remove frames from the end
- Example: With quick_process_last_frames=2, [A,B,C] becomes [A,B,C,C,C]
- Example: With quick_process_last_frames=-1, [A,B,C] becomes [A,B]
-
Processing Order Control:
- Choose whether to process first/last frames before or after the between-frame operations
- Affects the final result when combining multiple operations
- "Yes": Process first/last frames first
- "No": Process between-frames first
-
Real-time Frame Count Display:
- Shows the total number of frames after processing
- Helps track sequence length changes
Installation
- Clone this repository into your ComfyUI's
custom_nodes
directory:cd custom_nodes git clone https://github.com/yourusername/ComfyUI-QuickImageSequenceProcess.git
- Restart ComfyUI
- Find "Quick Image Sequence Process" in the node menu
Usage Example
- Load an image sequence into ComfyUI
- Add the "Quick Image Sequence Process" node
- Configure parameters:
frames_between
: Number of frames to insert between existing framescopy_frame
: Choose "previous" or "next" for inserted framesquick_process_first_frames
: Add/remove frames at start (negative to remove)quick_process_last_frames
: Add/remove frames at end (negative to remove)process_F_L_frames_first
: Choose processing order priority
Output
The node outputs:
image
: The processed image sequencewidth
: Frame widthheight
: Frame heightcount
: Total number of frames in the sequence
License
Copyright 2024 kazeyori
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.