Visit ComfyUI Online for ready-to-use ComfyUI environment
Initiate specific workflows with defined parameters for automation and consistency in creative processes.
The start_workflow
node is designed to initiate a specific workflow based on the provided workflow name. This node is essential for setting up and executing a series of tasks or processes defined within a workflow. By leveraging this node, you can automate complex sequences of actions, ensuring that each step is executed in the correct order. This is particularly useful for AI artists who want to streamline their creative processes, reduce manual intervention, and ensure consistency in their outputs. The node takes various inputs that define the parameters and conditions for the workflow, making it highly customizable and adaptable to different needs.
The workflow_name
parameter specifies the name of the workflow to be executed. This is a crucial input as it determines which set of predefined tasks will be carried out. The workflow name should match one of the workflows available in your system. There are no strict minimum or maximum values, but it must be a valid string that corresponds to an existing workflow.
The is_enable
parameter controls whether the workflow should be executed or not. It accepts two values: "enable" and "disable". When set to "disable", the workflow will not run, and the node will return None
. This parameter allows you to conditionally execute workflows based on certain criteria or states. The default value is "enable".
The file_content
parameter allows you to provide the content of a file that may be required by the workflow. This can be useful for workflows that need to process or analyze specific data. There are no strict constraints on the content, but it should be relevant to the workflow being executed.
The image_input
parameter is used to provide images that the workflow might need to process. This can be a single image or a list of images. The images should be in a format that the workflow can handle, such as JPEG or PNG.
The file_path
parameter specifies the path to a file that the workflow might need to access. This is useful for workflows that require external data or resources stored in files. The path should be a valid file path in your system.
The img_path
parameter specifies the path to an image file that the workflow might need to access. This is useful for workflows that involve image processing or analysis. The path should be a valid image file path in your system.
The system_prompt
parameter allows you to provide a system-level prompt or instruction that the workflow should follow. This can be used to set the context or guidelines for the workflow execution.
The user_prompt
parameter allows you to provide a user-level prompt or instruction that the workflow should follow. This can be used to set specific tasks or actions that the workflow should perform.
The positive_prompt
parameter allows you to provide positive prompts or keywords that the workflow should focus on. This can help guide the workflow towards desired outcomes or behaviors.
The negative_prompt
parameter allows you to provide negative prompts or keywords that the workflow should avoid. This can help prevent undesired outcomes or behaviors in the workflow.
The model_name
parameter specifies the name of the model to be used in the workflow. This is important for workflows that involve machine learning or AI models, as it determines which model will be used for processing.
The images
output parameter contains the images generated or processed by the workflow. This can include modified versions of the input images or new images created by the workflow. The output is typically a list of images.
The res
output parameter contains the result of the workflow execution. This can include various types of data, such as text responses, analysis results, or other outputs generated by the workflow. The exact content of this parameter depends on the specific workflow being executed.
workflow_name
matches an existing workflow in your system to avoid errors.is_enable
parameter to conditionally execute workflows based on specific criteria or states.file_content
, image_input
, file_path
, and img_path
to ensure the workflow has the necessary data to operate.system_prompt
, user_prompt
, positive_prompt
, and negative_prompt
to guide the workflow towards desired outcomes and avoid undesired behaviors.model_name
to ensure the workflow uses the appropriate model for processing.workflow_name
does not match any existing workflows in the system.workflow_name
is correct and corresponds to an existing workflow.file_path
or img_path
provided is not valid or does not exist.model_name
does not match any available models in the system.model_name
is correct and corresponds to an existing model.© Copyright 2024 RunComfy. All Rights Reserved.