← See All Custom Node Packs

Inspire Pack

791
By Dr.Lt.Data
Updated 7 months ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

This extension provides various nodes to support Lora Block Weight, Regional Nodes, Backend Cache, Prompt Utils, List Utils and the Impact Pack.

Available Nodes

ImageBatchSplitter //Inspire

Image Batch Splitter (Inspire) Node Documentation

Overview

The Image Batch Splitter (Inspire) node is part of the ComfyUI-Inspire-Pack, which offers various extension nodes to enhance the functionality of the ComfyUI. This specific node is designed to process a batch of images, splitting them into individual images based on a specified count. It's particularly useful in scenarios where one needs to handle images individually after they have been batch processed, allowing for more granular operations and analyses within workflows.

Functionality

  • Splitting Images: The primary function of this node is to divide a batch of images into separate individual images. The user can specify the number of images into which the batch should be split.
  • Remainder Handling: If there are more images in the batch than the specified split count, the excess images are returned in a separate "remained" output.

Inputs

  • images (IMAGE): The input for this node is a batch of images that you want to split. This should be connected to an output that provides a batch of images.
  • split_count (INT): This integer input determines the number of images to split from the batch. You can set the split count between 0 and 50, which defines how many individual images (including possibly an 'empty' if fewer images than split count) you require as output.

Outputs

  • Individual Image Outputs (IMAGE): The node outputs individual images from the batch up to the specified split count. Each image is provided in a separate output slot.
  • Remained Output (IMAGE): If there are more images in the batch than the split count, the remaining images are provided in a separate "remained" output.

Usage in ComfyUI Workflows

In ComfyUI workflows, the Image Batch Splitter (Inspire) node can be used in various scenarios:

  1. Image Processing Pipelines: When processing a batch of images, you might want to apply specific operations or analysis on each image individually. This node allows you to extract individual images from the batch for further processing down the workflow.

  2. Batch-to-Individual Transition: If an earlier part of the workflow deals with image batches but the subsequent nodes require individual images, this node facilitates the transition by breaking the batch into individual components.

  3. Dynamic Workflow Optimization: You might have a dynamic workflow where the number of images processed at each step varies. This node gives you flexibility by allowing you to handle images in chunks (specified by split count) or individually based on the required workflow logic.

Special Features and Considerations

  • Empty Image Handling: If the split count exceeds the number of images in the input batch, the node outputs 'empty' images to complete the required number of outputs, ensuring that the workflow logic remains intact without errors.
  • Remained Output Feature: For workflow efficiency, any images that remain after the split_count limit are not discarded. They are output separately, allowing for additional processing or handling as needed.
  • Integration Flexibility: This node integrates seamlessly with other nodes within ComfyUI by using standard image input and output formats, making it a versatile component in image processing workflows.

Conclusion

The Image Batch Splitter (Inspire) node is an invaluable tool in the ComfyUI-Inspire-Pack, providing users with the capability to handle images at a granular level after batch processing. With its functionality to split and manage image batches effectively, it is a crucial component for users who require detailed image operations within their ComfyUI workflows.