Nodes Browser
ComfyDeploy: How unwdef-nodes works in ComfyUI?
What is unwdef-nodes?
Custom nodes for ComfyUI by unwdef.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
unwdef-nodes
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
unwdef Custom Nodes for ComfyUI
This is a work in progress repo.
Randomize LoRAs Node
The Randomize LoRAs node randomly loads LoRAs based on a predefined selection with also randomized weights. This enables users to experiment with different artistic effects on their generated images.
Note: The "Show Text" node is part of pythongosssss/ComfyUI-Custom-Scripts
There is also a "stack" version for working with other lora nodes with the stacking functionality such as Efficiency Nodes
How It Works
Connect the model and clip outputs from this node to your KSampler or other processing nodes. The output, chosen loras, provides a textual representation detailing which LoRAs and corresponding weights were applied during the generation.
You can also provide the trigger words for each lora. They will be outputted as a formatted text separated by commas. Useful for you to concatenate the trigger words into your prompts.
Configuration Fields
- seed: Ensures reproducibility. Maintain the same seed for consistent results across generations. Note: Keep the same selected loras for this to work.
- max_random: Limits the maximum number of LoRAs to apply. Even if you select up to 10, you can choose to apply fewer.
- lora_x: Specifies the LoRA file to use.
- min_str_x and max_str_x: Defines the minimum and maximum strengths for each LoRA, allowing for a range of intensities.
- trigger_words_x: The trigger words for the selected lora.
Random Text from Multiline Node
Will output one (or multiple) lines from a multiline text component.
Text Multiline with Variables
Will replace instances of !var_x in your text with the contents of the var_x inputs.
Installation
You can use the ComfyUI-Manager. Search for "unwdef" or "unwdef-nodes".
Or you can install it manually:
- Open your terminal and navigate to your
ComfyUI/custom_nodes
directory. - Clone the repository using:
git clone https://github.com/unwdef/unwdef-nodes-comfyui.git
- Restart ComfyUI to apply the changes.
Uninstallation
To remove the custom node:
- Delete the
unwdef-nodes-comfyui
directory fromComfyUI/custom_nodes
. - Restart ComfyUI to apply the changes.
Updates
To update the node:
- Navigate to
ComfyUI/custom_nodes/unwdef-nodes-comfyui
in your terminal. - Run the following command:
git pull
- Restart ComfyUI to apply the changes.