CivArchive
    Hair Length Slider - LoRA - v1.0
    NSFW
    Preview 1674079
    Preview 1674081
    Preview 1674091
    • 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)

    JustMaierJul 22, 2023· 9 reactions
    CivitAI

    These sliders are very convenient thanks for sharing! Looking forward to seeing more

    john_sirisJul 22, 2023· 1 reaction
    CivitAI

    Awesome Work! A height slider would be very useful as well!

    ostris
    Author
    Jul 22, 2023· 3 reactions

    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.

    SLAPaperJul 22, 2023
    CivitAI

    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

    ostris
    Author
    Jul 22, 2023· 3 reactions

    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.

    SLAPaperJul 22, 2023

    @Ostris I just found a set of hypernetworks that can handle part of it, maybe you can get some inspiration from it?

    https://civitai.com/models/113034/prometheus

    ostris
    Author
    Jul 22, 2023· 4 reactions

    @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.

    lhucklenJul 23, 2023

    @Ostris omg that would be so cool

    ostris
    Author
    Jul 23, 2023· 1 reaction

    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.

    frfromgJul 23, 2023

    @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.

    ostris
    Author
    Jul 23, 2023

    @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.

    frfromgJul 23, 2023

    @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

    benjamyn812Jul 23, 2023
    CivitAI

    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

    ostris
    Author
    Jul 23, 2023

    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.

    benjamyn812Jul 23, 2023

    @Ostris No worries, it's still amazing work and could be influenced by things like models and other loras. Hard to say.

    biggerthanbigJul 25, 2023
    CivitAI

    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.

    GraspGGJul 29, 2023

    Mate, you might have inadvertently turned up the testosterone slider ;)

    ponomAug 9, 2023

    i got the same problem brother, above 6 turns my model in to male :(

    rob2Jul 29, 2023· 2 reactions
    CivitAI

    Your Loras are super useful! Amazing. It would be awesome to have a beard length slider!

    JanetJul 30, 2023· 1 reaction
    CivitAI

    these are amazing! Could you make a body hair slider?

    JanetJul 30, 2023· 4 reactions
    CivitAI

    could you make a "skin texture" slider? At one end, smooth skin, at the other, rough/wrinkled skin?

    ponomAug 9, 2023· 1 reaction
    CivitAI

    when im putting value more then 6 it turns my model into male... how to solve this problem brother ???

    SGreif975Sep 16, 2023

    Same problem here! Would love to know how to fix this.

    blueeyedtex627Oct 1, 2023

    @SGreif975 put (woman) in your positive prompt and (man, boy) in your negative prompt. Problem solved...... at least for me.

    fantaseedAug 17, 2023· 2 reactions
    CivitAI

    @Ostris

    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)?

    ostris
    Author
    Aug 17, 2023· 1 reaction

    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.

    fantaseedAug 17, 2023

    @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!

    LetontonGeekAug 24, 2023· 1 reaction
    CivitAI

    Excellent work. Do you think you can make the same Lora for men ? It would be helpfull.

    ostris
    Author
    Aug 24, 2023· 1 reaction

    It should work on men as well, though, at higher values, it tends to turn them female.

    LetontonGeekAug 24, 2023

    @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

    Electric_camAug 31, 2023· 1 reaction
    CivitAI

    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?

    ostris
    Author
    Aug 31, 2023· 4 reactions

    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.

    CyclopsGERSep 9, 2023· 27 reactions
    CivitAI

    This is turning my male models into woman with breasts. Is this only for women?

    jimjimmyjimjimAwkinsFeb 2, 2024· 3 reactions
    CivitAI

    now i can make rapunzel proper

    rsxrwscjpzdzwpxaujrrMar 29, 2024· 11 reactions
    CivitAI

    I want this but for SD XL 😭

    ijoziewang945Aug 7, 2024
    CivitAI

    Anyone tried with img to image? I don't change long hairstyle to shorter one, even if I set up the negative weight.

    sansan14102141Dec 15, 2024· 1 reaction
    CivitAI

    any chance you can do it for Flux1D?