comfyui-deploy
Run ComfyUI Easily with InstaSD
Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
Available Nodes
ComfyUIDeployExternalNumberSlider
ComfyUIDeployExternalNumberSlider Node Documentation
Overview
The ComfyUIDeployExternalNumberSlider node is part of the Comfy Deploy system, which aims to provide a versatile deployment platform for generative workflows. This specific node serves as an external number slider within the ComfyUI ecosystem and helps facilitate user interaction by allowing users to select a floating-point number within a specified range.
Functionality
The primary function of the ComfyUIDeployExternalNumberSlider is to let users input or select a numerical value within a defined range. It provides flexibility in setting default values, minimum and maximum limits, and gives additional context via display names and descriptions.
Input Parameters
The node accepts several inputs, enabling customization and control:
-
input_id (Required):
- Type: String
- Description: Serves as a unique identifier for the slider, defaulting to "input_number_slider".
-
default_value (Optional):
- Type: Float
- Description: The default numerical value of the slider.
- Range: −2,147,483,647 to 2,147,483,647
- Default: 0.5
- Step: 0.01
-
min_value (Optional):
- Type: Float
- Description: Defines the minimum allowed value for the slider.
- Range: −2,147,483,647 to 2,147,483,647
- Default: 0
-
max_value (Optional):
- Type: Float
- Description: Defines the maximum allowed value for the slider.
- Range: −2,147,483,647 to 2,147,483,647
- Default: 1
-
display_name (Optional):
- Type: String
- Description: Provides a display name for the slider, useful for user interfaces.
- Default: ""
-
description (Optional):
- Type: String
- Description: Offers additional information or context about the slider's purpose and usage.
- Default: ""
Output
- value:
- Type: Float
- Description: The selected or inputted floating-point number within the defined range. If the input is invalid or out of range, the default value is returned.
Usage in ComfyUI Workflows
In ComfyUI workflows, the ComfyUIDeployExternalNumberSlider node can be used to:
- Gather User Input: Allow users to dynamically input a number, which can be used to adjust parameters in real-time across various nodes within a workflow.
- Parameter Control: Seamlessly manage settings or variables in workflows where a range of numerical values is required.
- Interactive Elements: Create more engaging user interfaces by providing interactive slider controls for setting parameters.
Special Features and Considerations
- Range Checking: Automatically checks if the user-provided input falls within the specified minimum and maximum values and defaults to the given default value if out of bounds.
- User-Friendly Interface: Encourages user interaction with clear display names and descriptions that enhance clarity and usability.
- Error Handling: Incorporated error handling ensures that invalid inputs don't disrupt the workflow, providing a fallback to default settings.
This node is ideal for workflows that require precise numerical control or user interaction within the ComfyUI environment, leveraging its robust deployment infrastructure.