Visit ComfyUI Online for ready-to-use ComfyUI environment
Initiates remote processing chain by merging attributes into unified object for efficient task management and distribution.
The RemoteChainStart
node is designed to initiate a remote processing chain by merging essential attributes into a single REMCHAIN
object. This node is particularly useful for AI artists who want to distribute their workflow across remote servers, enabling more efficient and scalable processing. By consolidating parameters such as workflow, trigger, batch size, and seed into a unified structure, this node simplifies the management of remote tasks. The primary goal of RemoteChainStart
is to prepare and queue tasks for remote execution, ensuring that all necessary information is encapsulated in a single object that can be easily dispatched to remote servers.
The workflow
parameter accepts a JSON object that defines the sequence of operations or tasks to be executed remotely. This JSON structure should include all the necessary details for the remote server to understand and process the workflow. The workflow
parameter is crucial as it dictates the entire processing pipeline that will be executed on the remote server.
The trigger
parameter determines when the remote chain should be initiated. It accepts two options: on_change
and always
. When set to on_change
, the remote chain will only start if there is a change in the input parameters. When set to always
, the remote chain will start every time the node is executed. This parameter helps in optimizing the execution by preventing unnecessary remote processing.
The batch
parameter specifies the number of tasks to be processed in a single batch. It accepts an integer value with a default of 1, a minimum of 1, and a maximum of 8. This parameter allows you to control the granularity of the remote processing, enabling you to balance between processing time and resource utilization.
The seed
parameter is an integer value used to initialize the random number generator for the remote tasks. It accepts a default value of 0, with a minimum of 0 and a maximum of 0xffffffffffffffff. The seed ensures that the remote tasks produce consistent and reproducible results, which is particularly important for tasks that involve randomness.
The remote_chain
output is a REMCHAIN
object that encapsulates all the input parameters into a single structure. This object includes the seed, batch size, workflow, seed offset, and a unique job ID. The remote_chain
is essential for dispatching tasks to remote servers, as it contains all the necessary information for the remote server to execute the tasks correctly.
workflow
JSON is correctly formatted and includes all necessary details for remote processing.trigger
parameter wisely to avoid unnecessary remote executions, which can save time and resources.batch
size based on the complexity of your tasks and the capabilities of your remote server to optimize performance.seed
value if you need reproducible results, especially for tasks involving randomness.workflow
parameter contains an improperly formatted JSON object.batch
parameter is set to a value outside the allowed range (1-8).batch
value to be within the specified range.seed
parameter is set to a value outside the allowed range (0 to 0xffffffffffffffff).seed
value is within the specified range.trigger
parameter is set to an invalid option.trigger
parameter to either on_change
or always
.© Copyright 2024 RunComfy. All Rights Reserved.