Type | |
Stats | 9,582 |
Reviews | |
Published | Apr 23, 2023 |
Base Model | |
Trigger Words | Dramatic lighting |
Hash | AutoV2 671536CA51 |
Better portrait lighting LoRA
Contents: How to use - Trigger words - Training - Future
There are multiple versions of this LoRA - V1.0 is the strongest and should be tuned accordingly - The lower versions have less training steps, but will produce similar results, possibly better without so many artifacts.
Let's face it, good quality portrait lighting in SD is pretty bad, even 2.1 produces a lot of washed out looking faces, many models produce overblow colors, or overexpose images at base, so I trained a LoRA to work with SD 1.5 models. This LoRA is able to produce much better lighting to portrait generations, giving a more dramatic and realistic look to your portrait generations. I explain further down why portraits made using SD can often look bright and overexposed.
How to use:
LoRA strength: 0.5 to 0.8 - Higher strengths may produce artifacts
Should work well with any photo realistic model for portraits (see training), the sample images were made with Realistic Vision V1.4 / V2.0 - Have tested on a couple of other models and works well. May be a little over trained, so higher strengths are not advised, will try to fix this in the future.
This LoRA WILL change the shape of faces, backgrounds, and the overall feel of an image, and may produce vastly different results on the same seed. This is due to the training style.
I highly recommend using Control Net and other tools if you want to regenerate a specific image.
For generating photos of certain types of people, try to be specific in your descriptions: “Latin female wearing an oversized hoodie” - “Asian male with blue hair” as otherwise you will get similar looking faces.
This LoRA is not tested or intended for NSFW generations.
Trigger words:
Dramatic lightin
Works without trigger words as well, but extra prompts enhance the effect. Also works well with prompts such as: Sunset - Hard light - Soft Light etc.
Training:
This LoRA was trained using around 50 portraits from various photographers. Included in the training data was various ethnicities, genders to try to balance its ability to work on any model or person, however 100% of the images included people in their 20's/30's - It may not work for generating portraits of older people. The LoRA is particularly good at faces, but will often try to put buildings, and different artifacts/items in places they don’t belong at higher strengths. This model was overtrained on purpose to give a little more control at lower strengths.
For more info on LoRA training check out the channel and video below:
https://www.youtube.com/@Aitrepreneur
Future:
Analog Film Portraits v1.1: Training on a larger data set with better tagging. Less aggressive training.
Neon Lights v1.0: Done: https://civitai.com/models/14826/analog-film-photography-portraits
Analog Film landscapes v0.5: Will train a LoRA on non-portrait images of various film stocks to give more flexibility to image generation.
Rembrandt Lighting v0.5: Fairly hard to achieve this kind of lighting in SD with prompting. Will train on a medium sized data set to try to recreate this famous lighting style of more dramatic portraits.
Slide Film v0.5: Slide film has a very obvious color style and grain structure that has always been difficult to replicate digitally. Will beta test some LoRA training as the weeks move on.
Street Photography v0.5: Mostly made using wide angle lenses, and on a variety of subjects. Will attempt to replicate.
Studio Fashion photography v0.5: Fashion photographers shoot in a specific style / angle / focal length, with fairly soft lighting attempting to highlight the clothing rather than the face. Will attempt to train on various styles.
Why this Film LoRA?:
SD is trained on a LOT of images, a cursory glance through the LAION database for “Portrait photo” reveals most images are older, lower quality, and over exposed. Most of the tagging is also fairly poor when it comes to style. Searching for “Film Photo” will also just return some really bad examples, with logos, and posters thrown in. SD doesn’t really have a good data set for certain photographic styles, especially professional level photography. I’m attempting to help SD produce high quality photography in specific styles that will help photographers interested in image generation achieve the look they want.
Feedback is very welcome, please leave some comments letting me know what works and what doesn’t for you. This will be super helpful in training future LoRAs.