A collection of utility nodes for ComfyUI to enhance your workflow.
Dynamically replace placeholders (like !variable_name) in a text prompt with actual values, making it easy to reuse and modify prompts without changing their structure.
Automatically resizes images based on a desired width while maintaining aspect ratio, using high-quality Lanczos scaling.
A utility node that allows you to link and toggle multiple groups of nodes simultaneously, helping you organize and control complex workflows.
The Variables Injector node allows you to dynamically replace placeholders in your prompts with variable values. This makes it easy to reuse prompts with different values.
- Load the Variables Injector node into your workflow
- Connect a string node to Var1's input
- Use the following syntax in the string node:
variable_name | variable_value
- For example:
item | bag
- For example:
- In your prompt, reference the variable using
!variable_name
- For example:
"A woman holding a !item"
- For example:
- The node will replace
!item
withbag
in the final prompt - You can add as many variables as you like!
Input string: item | bag
Prompt: "A woman holding a !item"
Result: "A woman holding a bag"
- The finetuners suite was created by Finetuners.ais
- Variables Injector's UI was created with the help of Shmuel Ronen (https://github.com/ShmuelRonen)
- The group link custom node is heavily based on RGThree mute groups node
- Clone this repository into your
ComfyUI/custom_nodes
directory:
cd custom_nodes
git clone https://github.com/FinetunersAI/finetunersTest.git
- Restart ComfyUI
After installation, you'll find the nodes in the node menu under the "finetuners" category.