ComfyUI > Nodes > comfyui_LLM_party > 工作流中转器(workflow_transfer)

ComfyUI Node: 工作流中转器(workflow_transfer)

Class Name

workflow_transfer

Category
大模型派对(llm_party)/工作流(workflow)
Author
heshengtao (Account age: 2893days)
Extension
comfyui_LLM_party
Latest Updated
2024-06-22
Github Stars
0.12K

How to Install comfyui_LLM_party

Install this extension via the ComfyUI Manager by searching for comfyui_LLM_party
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_LLM_party 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

工作流中转器(workflow_transfer) Description

Facilitates seamless data and task transfer within workflows for AI artists, ensuring organized and efficient processes.

工作流中转器(workflow_transfer):

The workflow_transfer node is designed to facilitate the seamless transfer of data and tasks within a workflow. This node acts as an intermediary, allowing you to pass various types of inputs, such as images and text, through different stages of your workflow. It is particularly useful for AI artists who need to manage complex workflows involving multiple steps and data types. By using this node, you can ensure that your workflow remains organized and efficient, enabling you to focus on the creative aspects of your projects. The primary function of this node is to handle the transfer of data based on specified parameters, ensuring that each step in your workflow receives the necessary inputs to produce the desired outputs.

工作流中转器(workflow_transfer) Input Parameters:

is_enable

This parameter is a boolean that determines whether the workflow transfer node is active. If set to True, the node will execute its transfer function; if set to False, the node will be bypassed. The default value is True.

file_content

This parameter accepts a string input that represents the content of a file. It is particularly useful for workflows that involve text processing or require specific file content to be passed along. The forceInput attribute ensures that this parameter must be provided.

image_input

This parameter accepts an image input, allowing you to pass images through your workflow. It is useful for workflows that involve image processing or manipulation.

file_path

This parameter accepts a string input that specifies the path to a file. It is useful for workflows that need to read or write files at specific locations.

img_path

This parameter accepts a string input that specifies the path to an image file. It is useful for workflows that involve loading images from specific locations.

system_prompt

This parameter accepts a string input that serves as a system prompt. It is useful for workflows that involve generating responses or actions based on predefined prompts. The default value is "你是一个强大的智能助手" (You are a powerful intelligent assistant).

user_prompt

This parameter accepts a string input that serves as a user prompt. It is useful for workflows that involve generating responses or actions based on user input.

positive_prompt

This parameter accepts a string input that serves as a positive prompt. It is useful for workflows that involve generating positive responses or actions.

negative_prompt

This parameter accepts a string input that serves as a negative prompt. It is useful for workflows that involve generating negative responses or actions.

model_name

This parameter accepts a string input that specifies the name of the model to be used in the workflow. It is useful for workflows that involve model-specific operations.

workflow_path

This parameter accepts a JSON file input that specifies the path to a workflow configuration file. It is useful for workflows that need to load specific configurations or settings.

工作流中转器(workflow_transfer) Output Parameters:

images

This output parameter returns the processed images from the workflow. It is useful for workflows that involve image processing or manipulation, providing the final images as output.

text

This output parameter returns the processed text from the workflow. It is useful for workflows that involve text processing or generation, providing the final text as output.

工作流中转器(workflow_transfer) Usage Tips:

  • Ensure that the is_enable parameter is set to True to activate the node and allow it to perform its transfer function.
  • Use the file_content parameter to pass specific file content through your workflow, especially for text-based operations.
  • Utilize the image_input parameter to pass images through your workflow, enabling image processing or manipulation tasks.
  • Specify the file_path and img_path parameters to load files and images from specific locations, ensuring that your workflow has access to the necessary resources.
  • Customize the system_prompt and user_prompt parameters to generate responses or actions based on predefined or user inputs.

工作流中转器(workflow_transfer) Common Errors and Solutions:

"File not found"

  • Explanation: This error occurs when the specified file path or image path does not exist.
  • Solution: Ensure that the file_path and img_path parameters are correctly specified and that the files exist at the given locations.

"Invalid input type"

  • Explanation: This error occurs when the input type for a parameter does not match the expected type.
  • Solution: Verify that the inputs provided for each parameter match the expected types (e.g., string for file_content, image for image_input).

"Missing required parameter"

  • Explanation: This error occurs when a required parameter is not provided.
  • Solution: Ensure that all required parameters, such as file_content, are provided and correctly specified.

"Model not found"

  • Explanation: This error occurs when the specified model name does not exist or is not available.
  • Solution: Verify that the model_name parameter is correctly specified and that the model is available for use in the workflow.

工作流中转器(workflow_transfer) Related Nodes

Go back to the extension to check out more related nodes.
comfyui_LLM_party
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.