efficiency-nodes-comfyui
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
XY Input: Refiner On/Off
XY Input: Refiner On/Off Node Documentation
Overview
The XY Input: Refiner On/Off node is a part of the "Efficiency Nodes" within the ComfyUI framework. This specialized node is designed to facilitate the control of the refiner's activation state during XY plotting in ComfyUI workflows. It allows users to specify when the refiner should be turned on or off based on a percentage of the process run.
Functionality
This node generates a sequence of values indicating the activation status of a refiner in a process. The activation is determined by a specified percentage point, after which the refiner is turned on, or if set to 1, the refiner stays off.
Inputs
- Refine at Percent: A floating-point value ranging from 0.00 to 1.00. This value determines when the refiner should be turned on during the process. A value of
0.80, for example, means that the refiner will be activated when 80% of the process is completed. A value of1indicates the refiner remains off throughout the entire operation.
Outputs
- X or Y: This output is used to provide a sequence indicating points at which the refiner is turned on or off during processing. The sequence
[refine_at_percent, 1]shows two points: the given percentage and a point where the refiner remains inactive.
Usage in Workflows
The XY Input: Refiner On/Off node is typically used in advanced workflows involving the generation or transformation of content where refinement processes must be controlled or timed precisely. It's instrumental in scenarios where the efficiency of the process must be optimized.
Example Workflow
- Connecting in a Grid Search: This node can be used as a part of a larger grid search or XY plot, where multiple parameters are being evaluated and optimized. The refiner's activation can be another variable in such setups.
- Dynamic Refinement Adjustments: When paired with other nodes in ComfyUI, this node allows users to dynamically adjust when a refinement process should be applied, providing flexibility in tailoring the final outputs.
Special Features and Considerations
- Control Flexibility: This node endows users with greater control over process refinement, aiding in blending timings optimally within workflows.
- Integration with XY Plotting: Specifically tailored for use with XY plotting nodes, enhancing their ability to handle complex parameter management.
- Boundary Edge Cases: When setting
refine_at_percentto1, the refiner does not activate, making this setup crucial for processes that should run without refinement. - Visual Feedback in Plotting: In ComfyUI's interface, the shifts in refinement states can be visualized, providing intuitive feedback on how changes affect results.
Incorporating the XY Input: Refiner On/Off node into your workflow allows for sophisticated control over refinement operations, optimizing both timing and resource use efficiently.