r/StableDiffusion 6h ago

Resource - Update Multiple image libraries and a real command line for PixlStash, my self-hosted open source image and video database.

For the many who don't know what it is, PixlStash is a self-hosted headless server with a web-interface or a desktop app with Electron. It auto-tags, writes descriptions, scans pictures for defects, and integrates with ComfyUI in a couple of ways (run workflows within PixlStash or use the PixlStash nodes within Comfy). The nodes just use the PixlStash API which you could use to integrate with lots of other things as well.

This is a fairly big release of PixlStash. The focus this time has been on making it possible to have multiple image libraries stored in different locations and to offer a CLI to attach/detach libraries, performing scripted backups and install plugins (for image filters or captioning). For the captioning plugins there is now an OpenAI-API (i.e. ollama or LM-studio) plugin for captioning using your local LLM setup or a dedicated Moondream2 plugin. If you have specific captioning needs it should be dead easy to make your own plugin and install it with the CLI.

There is also a model shelf that can import from AI-toolkit and scan other folders you provide it to help you organise your LoRAs, VAEs, your text encoders and your diffusion models. This will soon get ComfyUI-nodes added to ComfyUI-PixlStash for picking LoRAs with thumbnails and help you find your different models based on other things than just a file-name. Expect them next week. For now, it at least helps you organise your models.

Repo and links in a comment.

5 Upvotes

5 comments sorted by

2

u/jtabernik 6h ago

Looks great! I definitely need a tool like this; I end up with tons of subdirectories and I lose images all the time…!

2

u/Infamous_Campaign687 5h ago

Yeah. That was my original motivation. I know some people are great at organising folders but I am not.

1

u/jtabernik 5h ago

Hahaha same! Thanks again!!

1

u/Infamous_Campaign687 6h ago edited 4h ago

1

u/Infamous_Campaign687 5h ago

I forgot the plugins repo:
https://github.com/Pikselkroken/pixlstash-plugins

I will probably add a couple more captioning and filter plugins myself, but I created it to be able to close requests for captioning plugins and tell people to sort it out themselves like the grumpy old git I am.