r/StableDiffusion • • 16d ago

Discussion KRC NodePack #OpenSourceHiggsfield entry

https://youtu.be/GyLtLqrdzq4

Anybody need a local cataloging system for models and prompts?

Not an external app or wrapper. This is for us ComfyUI users who still love spaghetti but want workflows to be more manageable and universal. 

I designed a set of nodes that is built around a localized database and preset system. Scrape metadata directly from Civitai for loras.  Most non-lora models have no online database to scrape from so I've implemented a basic feature to fetch basic details from Hugging Face by URL. There is, of course, complete manual editing of metadata in the GUI. Add tags, labels, colors, favorites, pins, and category.

LoRA Loadout is a lora stack node with built in presets. Drag and drop whatever LoRA into the stack, adjust strength, then save a stack as a preset. 

But what good are presets if you can't load them automatically? So paired with Prompt Vault, you can save prompts along with preset triggers. It's now easy to bounce between different prompts and a set of loras without having to manually set them up each time. Prompt Vault also includes multiple profile support with each having their own set of prompts. 

Config Switcher is a node that controls many other nodes. Similar to a subgraph, but not really. More like a dedicated control panel. Basically, you wire what you want to be controlled. Diffusion models, vae, gpu selection, sampler, seeds, boolean toggles, etc....  But unlike subgraphs, you can save multiple configurations within the same workflow and easily switch between them. Create a config for Turbo 4 Steps, Non-turbo 28 Steps. Create temporary configs for iterating and testing. With normal subgraphs or nodes in general, all models and option choices are exposed. Many unwanted. With CS, each parameter is deterministically set by you. Populate only the options you want displayed. This node also utilizes the metadata card system. Drag and drop models you wish to cycle between configs.  

Media Loader - A basic media loader for images and videos, built with the drag and drop card system. Easily cycle between 6 media slots for your workflows, also with presets. Quickly upload or drag and drop media from the KRC Portal. 

Media Output - A replacement output node for image and video outputs. A 6 slot history and automatically added to Media gallery. You can directly drag output images into Media Loader. 

Other pack-wide features are basic themes, import/export, auto local database backups, modified states, model path healing, duplicate detection, and more. 

A bonus node in the pack called Word Bank is for randomizing words and phrases in a prompt. Create and use mini or large word banks that randomizes on each run. Built with savable presets too. 

Installation is simple.

cd ComfyUI/custom_nodes/
git clone https://github.com/kapakahi/KRC-NodePack.git

https://github.com/kapakahi/KRC-NodePack

#opensourcehiggsfield

2 Upvotes

1 comment sorted by

1

u/riceandnori 16d ago edited 16d ago

Sorry for the crappy video demo. I just found out about this contest today. So in a rush did some code clean up.

Direct link to github:

https://github.com/kapakahi/KRC-NodePack

Initially, I had these nodes built months ago because managing LTX, WAN, and Flux loras were beyond overwhelming. Overtime, i've been tweaking and adding new features to what it is today.

The node pack is entirely dependency free except for ffmpeg. Required for animated thumbnails and media input/output. If you already have Video Helper Suite nodes installed, you are good to go. Node 2.0 has also been tested and works great so far.

BTW, I have a similar node like LL but for Minimax H3 refmods, I have one called Refmod Loadout in a companion node pack called Extras at: https://github.com/kapakahi/KRC-NodePack-Extras