A collection of ComfyUI nodes I created to solve specific issues I was having.
- Install ComfyUI.
- Install ComfyUI-Manager
- Look up this extension in ComfyUI-Manager. You can find it by searching for
black magicorsarashinai.
- From a command line, change directory to
ComfyUI/custom_nodes - Run
git clone https://github.com/sarashinai/comfyui_blackmagic.git
- Restart ComfyUI.
There are a number of custom nodes that load multiple LORA to keep the workflow tidy. When I started generating
Hunyuan video, and needed to choose which blocks to use, the multiloaders didn't provide the option. I also like
to store/copy configurations easily from one workflow to another, so I create a LORA loader that uses multiline
text instructions to load LORA. Currently, it uses loading code from cgthree's Power Loader
and facok's HunyuanVideoMultiLora. You can see these
represented in the names of the loaders used by TextLoraMultiloader. Only the multiline field is used when
running the workflow, the widgets beneath are for adding and updating the text. This loader will ignore any blank
line and any line that starts with a # symbol.
The way that ComfyUI offers file name formatting is
very useful for avoiding file name collisions and organization but not every node implements it. When I used a node
that didn't, the presence of the % sign in the actual file name caused problems for FFMPEG and files weren't
outputted correctly, losing generation time. This node takes the template text you enter and runs it through
the ComfyUI formatting system in real-time so you can see the result before running the workflow and then you
can have it send the result out to a file name prefix input, though I imagine there are other uses I haven't
thought of.

