Visit ComfyUI Online for ready-to-use ComfyUI environment
Merge multiple jobs into a cohesive job using `CombineJobs` node with `zip` and `product` methods for efficient workflow management.
The CombineJobs
node is designed to merge multiple jobs into a single cohesive job. This node is particularly useful when you have several job sequences that you want to process together, either by pairing corresponding steps from each job or by creating all possible combinations of steps. By using this node, you can streamline your workflow and ensure that complex job sequences are handled efficiently. The node supports two primary methods for combining jobs: zip
and product
. The zip
method pairs steps from each job in parallel, while the product
method generates all possible combinations of steps from the provided jobs. This flexibility allows you to tailor the job combination process to your specific needs, making it a powerful tool for managing and executing complex workflows.
This parameter represents the primary job sequence that you want to combine with other job sequences. It is a required input and must be of type JOB
. The primary job sequence serves as the base for the combination process.
This parameter determines the method used to combine the job sequences. It can take one of two values: zip
or product
. The zip
method pairs corresponding steps from each job sequence, while the product
method generates all possible combinations of steps from the provided job sequences. The default value is zip
.
These are optional parameters that represent additional job sequences to be combined with the primary job sequence. Each of these parameters must be of type JOB
. You can provide up to four additional job sequences, allowing for a flexible and customizable combination process.
This output parameter represents the combined job sequence resulting from the specified combination method. It is of type JOB
and contains the merged steps from the provided job sequences.
This output parameter indicates the total number of steps in the combined job sequence. It is of type INT
and provides a count of the merged steps, which can be useful for tracking and managing the workflow.
zip
method. This is useful when you want to process steps in parallel.product
method. This is useful for exhaustive testing or exploring all potential outcomes.TypeError: 'NoneType' object is not iterable
None
or not properly initialized.None
.ValueError: too many values to unpack
KeyError: 'method'
method
parameter is not provided or is misspelled.method
parameter is correctly specified as either zip
or product
.© Copyright 2024 RunComfy. All Rights Reserved.