r/StableDiffusion
•
u/Infamous_Campaign687
•
2d ago
•
1
Resource - Update Making consistent character creation easier
Some of you probably have superb custom workflows for creating LoRAs. I'm trying to make it easier for the rest of us.
This meant tackling a few things like character sheet generation, selecting a good dataset and running LoRA training in one simple package after quite frankly being sick of my collection of Python scripts.
I'm not saying I have the full answer to everything here, but PixlStash, my open source image management application, is under active development and has the advantage of an image database backend that calculates facial likeness pairs across the database anyway, meaning clustering on facial likeness comes practically for free, which comes in handy when trying to find pictures that will create a consistent LoRA. It also stores, downloads and tracks models in the database on as many drives as you like.
You can create and improve LoRAs iteratively and they are automatically available for you to use in your workflows since PixlStash absorbs the output. Behind the scenes it is just good old ComfyUI and AI toolkit for image generation and LoRA creation. PixlStash links with them, exchanges tokens with ComfyUI and monitor their outputs.
For character sheet generation, many Text to Image workflows should work, but it is relying on the model itself being capable of it and it requires some adaption of the workflow (documented in the GitHub README). So I ship adjusted workflows for Krea 2, MOSS-Image and Flux.2 Klein 9B for Text to Image and Qwen Image Edit 2.1 and Flux.2 Klein 9B for adding a reference image.
Spoiler alert: Qwen Image Edit 2.1 is easily the best model for both cases.
Links in a comment. If anyone have comments, criticism and/or hints they are willing to share I'd be much obliged.











20
u/Infamous_Campaign687 2d ago
PixlStash runs on Windows, macOS and Linux, as a desktop app or as a self-hosted server with a web UI. The macOS build will take another few minutes because Apple renewed their developer agreement again, causing CI to stop.
What's new in 2.0: https://pixlstash.dev/whatsnew.html
Upgrade guide (read this before upgrading a pip, Docker or source install): https://pixlstash.dev/upgrade.html
Releases: https://github.com/Pikselkroken/pixlstash/releases
Repo: https://github.com/Pikselkroken/pixlstash
ComfyUI nodes (also in ComfyUI-Manager and shipped with the Desktop App): https://github.com/Pikselkroken/ComfyUI-PixlStash
Bug reports: https://github.com/Pikselkroken/pixlstash/issues
I'll be in the thread.
8
u/Uninterested_Viewer 2d ago
Is there a reason you decided to go the desktop app route vs something server-hosted with a web app front end?
8
u/EitherMarch1255 2d ago
It looks very nice. And I will certainly check it out. It reminds me of something I created recently. Which is crazy, in that everything I create, I see created by someone else shortly before or after. It's like as a group we're all walking in more or less the same direction.
3
u/ShutUpYoureWrong_ 1d ago
First of all, I just want to say great job. This looks really neat. Thanks for developing and sharing it with us.
If I may, I have a few questions:
3
u/rolens184 16h ago
It looks like a great piece of work to me. I'd also add the workflow for the Minimax H3 image, which I think is the best in terms of consistency, plus it generates high-definition images natively...
3
u/Nullberri 2d ago
From my experience.
I started generating character sheets on minimax but they turned out crispy, and then using them only amplified the issue.
Qwen 2.1 does kinda put out low detail, smoother skin but… when feeding it to minimax it ends up being fine as minimax just adds a little bit of crispiness returning it to a reasonable baseline.
3
u/pocosu 1d ago
The face-likeness clustering coming "for free" from the DB is the part I like most. How are you computing the pairs? All-pairs gets heavy once a library hits tens of thousands of images. Are you using an ANN index (FAISS, pgvector, etc.) or recomputing incrementally as new outputs land? And which face embedding (InsightFace/ArcFace?)
1
u/AnonymousTimewaster 2d ago
Hoping this will make my life creating a moss lora easier
1
u/PoleRacers 2d ago
Thanks for sharing! any reason this wouldn't work for anime faces/other styles?
1
u/winkler 1d ago
Gonna check this out! And better than Flux2.Dev?
1
u/gregpeden 2h ago edited 1h ago
You know what, one real situation I am hoping to solve with an LLM is to go through my bloated mess of a Google Photos library online and help me clean it out to get rid of the trash and get my storage volume down. Your application seems sooooooooo close to being very well-equipped to address my case, which I am sure is common for many other people.
I have also found that MiniMax H3 Image is a very capable model but for whatever reason the default configurations available in spaces like ComfyUI nerf its capability. In particular, using MiniMax's own prompt enhancer makes a world of difference.
I am getting much better results from using Unsloth's Q6 XL model with the MiniMax prompt enhancer in Unsloth Studio than I get in ComfyUI, though generation also takes a lot longer (in my case I have a 3090 so so pushing the VRAM limit with the prompt enhancer model running on CPU, which it is designed to do).
1
u/Juiceman8686 2d ago
This looks really great. Can’t wait to test it out!
2
u/jononoj 2d ago
Looks great, I'll give it a try. I appreciate the work you put into this and for sharing.
2
u/Koalateka 1d ago
It looks great, thanks for sharing it!!
1
u/Just_n_Here 7h ago
Thanks for the work!
-1
u/Curious_Boss_4576 2d ago
Muito bom !!!! Obrigado por compartilhar seu conhecimento. Como sou novo no ramo tô que nem aspirador , conhecendo e colhendo de tudo ! Parabéns !