Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates execution of specific workflows for AI artists, simplifying workflow management and automation.
The workflow_tool
node is designed to facilitate the execution of specific workflows based on a given workflow name. This tool is particularly useful for AI artists who need to automate and streamline their creative processes by leveraging predefined workflows. By enabling or disabling the workflow execution, you can control whether the node performs its function or not. The primary goal of this node is to simplify the invocation of complex workflows, making it easier for you to manage and execute various tasks without delving into the technical details of each workflow.
This parameter determines whether the workflow execution is enabled or disabled. It accepts a boolean value, with True
indicating that the workflow is enabled and False
indicating that it is disabled. The default value is True
. When set to False
, the node will not perform any actions, effectively bypassing the workflow execution.
This parameter specifies the name of the workflow to be executed. It accepts a string value, which can be multiline, allowing you to input multiple workflow names if needed. The default value is "测试画画app.json,绘图app.json"
. This parameter is crucial as it directs the node to the specific workflow that needs to be executed, ensuring that the correct set of tasks is performed.
This optional parameter allows you to input the content of a file as a string. It is particularly useful when the workflow requires specific data to be processed. The parameter is forced to be an input if used.
This optional parameter accepts an image input, which can be used in workflows that involve image processing tasks. It allows you to provide an image directly to the workflow.
This optional parameter specifies the path to a file that the workflow might need to access. It accepts a string value representing the file path.
This optional parameter specifies the path to an image file that the workflow might need to access. It accepts a string value representing the image file path.
This optional parameter allows you to input a system prompt as a string. The default value is "你是一个强大的智能助手"
. This prompt can be used to guide the workflow's behavior or provide context for its operations.
This optional parameter allows you to input a user prompt as a string. This prompt can be used to provide additional instructions or context for the workflow.
This optional parameter allows you to input a positive prompt as a string. It can be used to guide the workflow towards desired outcomes or behaviors.
This optional parameter allows you to input a negative prompt as a string. It can be used to steer the workflow away from undesired outcomes or behaviors.
This optional parameter specifies the name of the model to be used in the workflow. It accepts a string value representing the model name.
This optional parameter specifies the path to the workflow file. It accepts a string value representing the workflow file path.
This output parameter provides the images generated or processed by the workflow. It returns the images in a format that can be further used or displayed in your projects. The images are typically returned as a tensor or an array, depending on the workflow's operations.
This output parameter provides the textual output generated by the workflow. It returns a string value that can include messages, descriptions, or any other text produced during the workflow execution. This output is useful for understanding the results or for further processing in subsequent nodes.
is_enable
parameter is set to True
to activate the workflow execution.workflow_name
parameter to specify the exact workflow you want to execute, ensuring it matches the available workflows.file_content
, image_input
, and file_path
to ensure the workflow has all the necessary data to perform its tasks effectively.system_prompt
, user_prompt
, positive_prompt
, and negative_prompt
parameters to guide the workflow's behavior and achieve desired outcomes.workflow_name
does not match any available workflows.workflow_name
parameter is correctly spelled and matches the available workflows.image_input
is not in a valid format or is corrupted.image_input
parameter is a valid image file and is not corrupted.file_path
or img_path
does not exist.file_path
and img_path
parameters are correctly specified and that the files exist at the given paths.model_name
parameter is not provided, and the workflow requires a model to function.model_name
parameter is specified and matches the available models.© Copyright 2024 RunComfy. All Rights Reserved.