ComfyUI > Nodes > ComfyUI-KEEP > KEEP Image Sequence

ComfyUI Node: KEEP Image Sequence

Class Name

KEEP_ProcessImageSequence

Category
ComfyUI-KEEP
Author
wildminder (Account age: 4890days)
Extension
ComfyUI-KEEP
Latest Updated
2025-07-04
Github Stars
0.07K

How to Install ComfyUI-KEEP

Install this extension via the ComfyUI Manager by searching for ComfyUI-KEEP
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-KEEP in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

KEEP Image Sequence Description

Processes image sequences to enhance facial features using upscaling and alignment techniques.

KEEP Image Sequence:

The KEEP_ProcessImageSequence node is designed to process a sequence of images, primarily focusing on enhancing facial features through upscaling and alignment. This node leverages the capabilities of the KEEP model to ensure that faces within an image sequence are processed with precision, maintaining alignment and enhancing details. It is particularly beneficial for tasks that require consistent facial recognition and enhancement across multiple frames, such as video processing or animation sequences. By utilizing advanced face detection and processing techniques, this node ensures that the output images are of high quality, with improved facial details and alignment, making it an essential tool for AI artists looking to enhance image sequences with minimal manual intervention.

KEEP Image Sequence Input Parameters:

images

This parameter represents the sequence of images to be processed, provided as a tensor. It is crucial as it forms the basis of the processing operation, where each image in the sequence will undergo enhancement and alignment. The quality and resolution of these images can significantly impact the final output.

keep_model

The keep_model parameter is an instance of the KEEPModelPack, which contains the necessary models and configurations for processing the image sequence. It is essential for ensuring that the correct model is used for face detection and enhancement, and it must be a valid KEEPModelPack instance for the node to function correctly.

final_upscale_factor

This parameter determines the factor by which the images will be upscaled during processing. It affects the level of detail and resolution in the final output, with higher values resulting in more detailed images. The choice of upscale factor should balance between desired detail and processing time.

has_aligned_frames

A boolean parameter indicating whether the input frames are already aligned. If set to True, the node will skip the alignment step, which can save processing time if the frames are pre-aligned. If False, the node will perform alignment to ensure consistency across frames.

only_center_face

This boolean parameter specifies whether only the center face in each frame should be processed. When set to True, it focuses processing on the most prominent face, which can be useful in scenarios where the central subject is of primary interest.

draw_bounding_box

A boolean parameter that determines whether a bounding box should be drawn around detected faces. This can be useful for visual verification of face detection and alignment, providing a clear indication of the areas being processed.

max_clip_length

This integer parameter sets the maximum number of frames to process in a sequence. It helps manage processing load and time, especially for longer sequences, by limiting the number of frames that undergo enhancement.

KEEP Image Sequence Output Parameters:

processed_images_tensor

The output is a tensor containing the processed image sequence. This tensor reflects the enhancements and alignments applied to the input images, with improved facial details and consistency across frames. It is the primary output of the node, providing the enhanced image sequence ready for further use or analysis.

KEEP Image Sequence Usage Tips:

  • Ensure that the keep_model parameter is correctly set with a valid KEEPModelPack instance to avoid processing errors.
  • Use the final_upscale_factor judiciously to balance between desired image detail and processing time, especially for high-resolution outputs.
  • If your input frames are already aligned, set has_aligned_frames to True to save processing time.
  • Consider setting only_center_face to True if the primary focus is on the central subject, which can optimize processing for sequences with multiple faces.

KEEP Image Sequence Common Errors and Solutions:

Invalid KEEP Model Pack provided. Expected KEEPModelPack, got <type>

  • Explanation: This error occurs when the keep_model parameter is not a valid instance of KEEPModelPack.
  • Solution: Ensure that the keep_model parameter is correctly initialized with a KEEPModelPack instance before passing it to the node.

Error during image sequence processing: <error_message>

  • Explanation: This error indicates an issue encountered during the processing of the image sequence, which could be due to various reasons such as invalid input data or model loading issues.
  • Solution: Check the input parameters for correctness, ensure that the images tensor is properly formatted, and verify that the KEEPModelPack is correctly loaded and configured.

KEEP Image Sequence Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-KEEP
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.