ComfyUI > Nodes > ComfyUI-Cloud-APIs > SplitImages

ComfyUI Node: SplitImages

Class Name

SplitImages

Category
ComfyCloudAPIs
Author
BetaDoggo (Account age: 1121days)
Extension
ComfyUI-Cloud-APIs
Latest Updated
2025-05-01
Github Stars
0.04K

How to Install ComfyUI-Cloud-APIs

Install this extension via the ComfyUI Manager by searching for ComfyUI-Cloud-APIs
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Cloud-APIs 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

SplitImages Description

SplitImages node: Splits batch images into individual components, managing output slots with default placeholders for consistency.

SplitImages:

The SplitImages node is designed to handle a batch of images and split them into individual components, ensuring that each output slot is filled with an image. This node is particularly useful when you have a collection of images and need to process or analyze them separately. It automatically manages the number of images, ensuring that if there are fewer images than the available output slots, it fills the remaining slots with a default placeholder image. This functionality is beneficial for maintaining consistency in workflows that require a fixed number of outputs, regardless of the input size. By providing a seamless way to handle image batches, the SplitImages node simplifies the process of image manipulation and ensures that your image processing pipeline remains robust and error-free.

SplitImages Input Parameters:

images

The images parameter is a required input that accepts a batch of images. This parameter is crucial as it determines the images that will be split into individual components. The input should be a collection of images, typically in a format that the node can process, such as a tensor or an array. The node will then handle these images, ensuring that each is processed and outputted correctly. There are no specific minimum, maximum, or default values for this parameter, as it depends on the number of images you wish to process.

SplitImages Output Parameters:

IMAGE

The IMAGE output parameters represent the individual images that result from the splitting process. The node provides four output slots, each capable of holding one image. If the input batch contains fewer than four images, the node fills the remaining slots with a default placeholder image. This ensures that the output always consists of four images, maintaining consistency in workflows that require a fixed number of outputs. Each output image is in a format suitable for further processing or analysis, typically as a tensor or array.

SplitImages Usage Tips:

  • Ensure that your input batch contains the desired number of images to avoid unnecessary placeholder images in the output.
  • Use this node when you need to process or analyze images individually, as it simplifies the task of handling image batches.

SplitImages Common Errors and Solutions:

FileNotFoundError: [Errno 2] No such file or directory: 'none.png'

  • Explanation: This error occurs when the default placeholder image file none.png is not found in the expected directory.
  • Solution: Ensure that the none.png file is present in the same directory as the script. If it's missing, create a placeholder image and save it as none.png in the correct location.

TypeError: 'NoneType' object is not iterable

  • Explanation: This error may occur if the input images parameter is not provided or is None.
  • Solution: Verify that the images parameter is correctly passed to the node and contains a valid batch of images.

SplitImages Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Cloud-APIs
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 Playground, enabling artists to harness the latest AI tools to create incredible art.