Skip to content

About

A collection of ComfyUI nodes I created to solve specific issues I was having.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Black Magic Nodes

A collection of ComfyUI nodes I created to solve specific issues I was having.

Installation

  1. Install ComfyUI.

Install with ComfyUI-Manager

  1. Install ComfyUI-Manager
  2. Look up this extension in ComfyUI-Manager. You can find it by searching for black magic or sarashinai.

Install manually with git

  1. From a command line, change directory to ComfyUI/custom_nodes
  2. Run git clone https://github.com/sarashinai/comfyui_blackmagic.git

Run and test

  1. Restart ComfyUI.

Nodes

TextLoraMultiloader

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.

image

TextFormatter

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.

image

About

A collection of ComfyUI nodes I created to solve specific issues I was having.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages