Sign In

My first custom node and new Universal Text-to-Image workflow

0

My first custom node and new Universal Text-to-Image workflow

Hello everyone!

Recently I have created my first custom node, which I named Universal Model Loader.

The reason was that I grew tired of placing multiple nodes to load models, their text encoders and VAEs. I couldn't find any suitable solution online, so I have decided to try some vibe coding.

After a few trials and errors, I got quite solid results. The node just does what I wanted it to do. It lets you choose model type (Krea2, Ernie, ZIT, etc.) and according to your choice dynamically proposes next choices for text encoder and VAE.

After a while I realized, that this node changed my entire workflow to be model agnostic. Instead of having multiple workflows for each model, now there is just one. That was something I did not expect when I started to create my first node...

You can download the workflow here, the node pack is also here and on my GitHub page.

Either unpack downloaded .zip file into ComfyUI/custom_nodes, or open the terminal, go to ComfyUI/custom_nodes and

git clone  https://github.com/Zoltar358-ComfyUI/ComfyUI-Universal-Model-Loader.git

Please let me know in the comments what do you think about my node and workflow, how it works for you. If you encounter any issues, also write in the comments, I will try to fix.

Enjoy and have fun!

0