Type | |
Stats | 1,643 10,473 |
Reviews | (169) |
Published | Aug 18, 2024 |
Base Model | |
Trigger Words | AndroFlux |
Hash | AutoV2 D53894D85C |
Hey, I’m Markury. I created AndroFlux, a LoRA model for FLUX.1 dev by Black Forest Labs, because there’s a glaring lack of accurate male anatomy in AI models. Working with The Bulge community, I’m trying to fix that by making sure AI can depict male features more accurately, balancing out the overwhelming female-centric content you see everywhere.
Updates
September 4, 2024:
V26 is out, check the version details for more info. I'm not super happy with this release because of how long it took and how little there is to show for it, but hopefully you can get some good gens.
As for developments, I think LoKr with attention masking is the way to go, but the lack of inference support for either would make it unusable for most people right now. I'm waiting for ComfyUI to implement proper attention masking during inference and for Civitai to support Flux LyCORIS LoKr at all before I take on retraining AndroFlux as a LoKr.
August 28, 2024:
I am still alive! I've been working nonstop on AndroFlux since v19 but to be honest, nothing has come close yet. Version 19 and 19.5 are both merges of previous models, which inevitably introduced a few issues:
Results are very same-y between gens
Weird artifacts are compounded
Stuck with a dim of 64 (which is probably too high in hindsight)
Anatomy is cooked
Rest of the model is cooked
Everything is cooked man
This made me want to restart training, which also lead me to re-evaluating the dataset and strategy. I still think it lacks variety (at the very least in race and age), but introducing more complexity and data kept leading to excessive training times and lack of convergence, so it's still something for the future.
I don't want to regress in terms of diversity on this project, so from now on AndroFlux will focus more broadly on all kinds of men, and I'll have a separate twink-centric LoRA.
Community and Support
Join The Bulge Discord at https://thebulge.xyz if you’re into gay AI art—it’s a great place to share and learn. If you want to support the project, whether with feedback or donations, it’s much appreciated. You can help fund AndroFlux training at https://buymeacoffee.com/y7sa4gtyv6.
Current Status
AndroFlux is still a work in progress. The model isn’t perfect yet and needs more training, so don’t expect flawless results.
This is the workflow I currently use: https://civitai.com/models/696466
For now, this ComfyUI workflow works best. If you're using an older version, you can find the workflow here.
Purpose
AndroFlux is all about making sure AI models can represent male anatomy—especially penises—accurately. With that said, it also has a general photographic aesthetic and focuses on twinks so it is still useful for other SFW purposes. It’s a step towards more balanced AI-generated art.
Technical Details
AndroFlux was built and tested primarily on FLUX.1 dev, but it should also be compatible with the Schnell base models, including the quantized fp8 version. These are distilled models, making training tricky and affecting the LoRA’s performance, requiring a lot of optimization.
Training Process
Resolution Journey: I started training at 1024px, but the model wasn’t converging, so I dropped to 512px. The quality wasn’t great, so I ended up at 768px. This resolution offers a good balance between detail and training time.
Captioning: Captioning was crucial in training. Contributions came from the AndroAtlas dataset, part of the AndroFlow project. Ephemeron01 from The Bulge Discord assisted with captions using models like llava-hf/llava-v1.6-mistral-7b-hf and a custom-trained PaliGemma VLM. Specific prompts like "man, penis" and the activator "AndroFlux" were also used in later versions.
Acknowledgments: Huge thanks to bghira and Terminus Research Group for their support, including providing an A100 for some of the training runs.
Usage Tips
For best results, use prompts that specifically mention male frontal nudity, such as "penis."
Recommended settings:
Resolution: 1024x1024 or 832x1216
Flux Guidance: 3.5
LoRA Weight: Start at 1.0, reduce to 0.5 if artifacts appear
CFG: 2.0 (1.0 will be faster though)
Suggested Prompts
A nude man in his {late teens | early twenties | early thirties}
His penis is {erect | flaccid}
His penis is {large | small | average}-sized
Version History
See "About this version" on the right for version-specific updates.
Training Cost
Training Flux takes a lot of compute power, and I've already spent over $200 on these runs. If you'd like to support AndroFlux training, any tips—monetary or otherwise—are greatly appreciated! You can contribute via https://buymeacoffee.com/y7sa4gtyv6 or use my RunPod link to support me while doing your own training at no extra cost to you.
Conclusion
AndroFlux is a step towards more balanced AI models that accurately depict male anatomy. It’s an ongoing project, and your support—whether through feedback, donations, or just being part of the community—makes a big difference.