Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates integration with RunningHub platform by managing configuration settings for API interactions.
The RH_SettingsNode is designed to facilitate seamless integration with the RunningHub platform by managing essential configuration settings. This node serves as a foundational component in workflows that require interaction with external APIs, specifically those provided by RunningHub. By encapsulating key parameters such as the base URL, API key, and workflow ID, the node ensures that subsequent nodes in the workflow have access to the necessary configuration data. This structured approach not only simplifies the process of setting up API calls but also enhances the reliability and maintainability of the workflow. The primary function of the RH_SettingsNode is to process these inputs and return a structured data object that can be utilized by other nodes, thereby streamlining the workflow setup and execution.
The base_url
parameter specifies the root URL of the RunningHub API that the node will interact with. It is crucial for directing API requests to the correct endpoint. The default value is set to https://www.runninghub.cn
, which is the standard URL for RunningHub's API. This parameter does not have a minimum or maximum value but must be a valid URL string. Ensuring the correct base URL is essential for successful API communication.
The apiKey
parameter is a string that serves as a security token for authenticating requests to the RunningHub API. It is a required parameter that must be provided to gain access to the API's resources. The default value is an empty string, indicating that the user must input their specific API key. This parameter does not have a minimum or maximum value but must be a valid API key string. Proper configuration of the apiKey
is critical for authorized access to the API.
The workflowId
parameter is a string that identifies the specific workflow within RunningHub that the node will interact with. It is a required parameter that must be provided to ensure that the correct workflow is targeted. The default value is an empty string, indicating that the user must input their specific workflow ID. This parameter does not have a minimum or maximum value but must be a valid workflow ID string. Correctly setting the workflowId
ensures that the node interacts with the intended workflow.
The output of the RH_SettingsNode is a structured data object, denoted as STRUCT
. This object contains the base_url
, apiKey
, and workflowId
parameters, packaged in a format that can be easily consumed by subsequent nodes in the workflow. The structured output ensures that all necessary configuration data is readily available, facilitating smooth and efficient workflow execution. This output is crucial for maintaining the integrity and coherence of the workflow, as it provides a centralized source of configuration information.
base_url
is correctly set to the RunningHub API endpoint to avoid connectivity issues.apiKey
to authenticate your requests and gain access to the necessary resources.workflowId
to ensure that the node interacts with the correct workflow, preventing unintended operations.apiKey
provided is incorrect or expired, leading to authentication failures.apiKey
is correct and has not expired. Obtain a new key from RunningHub if necessary.base_url
is not set to the correct RunningHub API endpoint, resulting in failed requests.base_url
is set to https://www.runninghub.cn
or the appropriate endpoint for your API version.workflowId
is not provided, preventing the node from targeting a specific workflow.workflowId
to ensure that the node can interact with the desired workflow.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.