weight: -8.0 to 8.0 (or more)
positive: longer hair
negative: shorter hair
Simple LoRA to help with adjusting the length of a characters hair. You can swing it both ways pretty far out from -8 to +8 without much distortion. I have taken it out both ways 20 and still got an somewhat decent image, but it was starting to become nonsense.
Description
FAQ
Comments (37)
These sliders are very convenient thanks for sharing! Looking forward to seeing more
Awesome Work! A height slider would be very useful as well!
I have made a few attempts at it. That one is tricky. It does a decent job of adjusting facial features for taller and shorter people, but without someone that is average height standing next to them for comparison, not a lot changes, and cannot generate an average height person at the same time. Ill keep tweaking on it though. Ill try a different approach, maybe trying to make it generate 2 people where only 1 is affected or something like that.
Would you train sliders that can control the viewing angles?
Using prompts like "full body, from above, from side" is very limited to specific POV selection and inconsistent across different models, so having a set of sliders to control them would be much helpful
I am working on that one. I have been working on it a very long time actually. It cannot get it to function properly. I have improved my training method for these quite a bit since the last time I tried, so I will try again. That is the one I want the most. Unfortunately, they trained stable diffusion on "a woman" or "a man" and not a "medium close shot of a woman" and because of that, it seems to be very far off from understanding these concepts where I haven't been able to get it to work even with fine tuning on a large hand labeled dataset.
@Ostris I just found a set of hypernetworks that can handle part of it, maybe you can get some inspiration from it?
@SLAPaper scratch that, I started it up again with my newer code and looks like it is actually working. It is early, but is constantly moving the shot. Just zoom for now (extreme close up - full shot). I should be able to get this out today hopefully.
@Ostris omg that would be so cool
https://civitai.com/models/114460 zoom one done. I still want to try to make it better, but it is functional for now. I was having some trouble with viewing angle today, i'll see if I can figure that out tomorrow.
@Ostris Zoom wrecks the face with negative values, positive values work great (tested on well trained char).
This hair lora works great (and night switch lora too).
There is a textual inversion called char turner for the angle view manipulation.
Although I find it largely depends on a well trained/merged checkpoint. So far (for realistic/semi-realistic type) I found these:
https://civitai.com/models/50000/cine-diffusion
https://civitai.com/models/49463/am-i-real
https://civitai.com/models/102001?modelVersionId=121426
https://civitai.com/models/25694?modelVersionId=105035
https://civitai.com/models/84728?modelVersionId=90072
https://civitai.com/models/4188?modelVersionId=86329
https://civitai.com/models/96101/2nd-edition-new-photoreal-fantasy-model
that work with simple prompt, followed by the front,side,rear view (with slight addition to view description if required).
Some checkpoints will just lock the view angle and if you prompt force the view angle they will start breaking the face and/or hands.
@frfromg I am not sure if there is much I can do about wrecking the face at a distance. Some of that is the VAE. I am actively working on training a better version of that as well. Most of my ML experience for the past 10 years is with enlarging images, which is where the issues with the VAE lie.. Though SDXL changed the encoder, so will have to do that one too.
Thank you for this list. I train from a merge I did a while back of all the top photorealistic models of the time. But prompts like "taken from below" and "taken from above" don't seem to be concepts it understands, so there are no concepts to I cana lock on to to expand. I'll test some of these out to see if I can find some concepts to lock onto. I appreciate it.
@Ostris enlarging images - which SD, in general, is quite good with.
In regards to checkpoints links - do check what authors wrote, sometimes even they are not aware about how good their checkpoint turned out.
Test a well trained object and well trained character at close/medium/far/angles/scenarios - hopefully it provides you with some ideas.
Your welcome and btw these functional loras/embeddings that few of you do are very cool. That night lora saves me from wasting keywords when making landscape backgrounds :D
Love the length control but it seems to overwrite all the hair colors and make it brown, le sad.
Edit: Seems to be more of an issue when weight >=4
Interesting. I'll see if I can find a way to fix that. At higher weights, any slight bias in the Lora stand out. I probably need to tweak the other hair colors to even it out.
@Ostris No worries, it's still amazing work and could be influenced by things like models and other loras. Hard to say.
Works great! One slight note. At high +6 values I get ladies with beards pretty often. :P So for everyone having the same issue, I recommend using negatives for male to tone it down.
Your Loras are super useful! Amazing. It would be awesome to have a beard length slider!
these are amazing! Could you make a body hair slider?
could you make a "skin texture" slider? At one end, smooth skin, at the other, rough/wrinkled skin?
when im putting value more then 6 it turns my model into male... how to solve this problem brother ???
Same problem here! Would love to know how to fix this.
@SGreif975 put (woman) in your positive prompt and (man, boy) in your negative prompt. Problem solved...... at least for me.
Thanks to the author for creating so many great tools.
It's the same "hair" topic.
The lora on most people tends to be hairy. As a result, it's difficult to get the body hair to zero with Prompto.
Do you have any plans to make a tool that allows you to adjust the amount of body hair (excluding facial and head hair)?
I have attempted to isolate just body hair a few times but it always ends up making the entire subject hairy / less hairy. This has been requested more than anything else (not released). I do have a new method I can try to throw at the problem though, I’ll give it a shot again.
@Ostris
Thank you for letting me know the situation.
I haven't seen lora about body hair yet, probably because it's very difficult as you say.
But I think you're the best adjustment engineer who can manipulate the times, so I'm rooting for you!
Excellent work. Do you think you can make the same Lora for men ? It would be helpfull.
It should work on men as well, though, at higher values, it tends to turn them female.
@Ostris that's the matter. I was trying the Lora on a old man with very short hair, but it turn him into a beautiful lady. :D
A dumb question - I am new to lora sliders. Do we have to train 2 models? - one for weight +8 and other for weight -8 ?
How can we generate this slider effect during inference with only one model that you provided? Are these numbers guidance scales by any chance?
The model is trained with polarity during taring. In a single batch there are items where the model is in a positive weight, and there are items in a negative weight. It allows the model to target the difference, and only the difference, between the two concepts.
This is turning my male models into woman with breasts. Is this only for women?
now i can make rapunzel proper
I want this but for SD XL 😭
Anyone tried with img to image? I don't change long hairstyle to shorter one, even if I set up the negative weight.
any chance you can do it for Flux1D?
Details
Files
hair_length_slider_v1.safetensors
Mirrors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
头发滑块_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
hair_length_slider_v1.safetensors
Available On (1 platform)
Same model published on other platforms. May have additional downloads or version variants.