|
--- |
|
license: other |
|
license_name: bespoke-lora-trained-license |
|
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
- migrated |
|
- dark |
|
- concept |
|
- lighting |
|
- tools |
|
- night |
|
- scene |
|
- nighttime |
|
- darken |
|
|
|
base_model: runwayml/stable-diffusion-v1-5 |
|
instance_prompt: |
|
widget: |
|
- text: ' ' |
|
|
|
output: |
|
url: >- |
|
1341130.jpeg |
|
- text: 'close up of a homeless man, sitting near a dumpster, looking into the aley, dirty face, beard, worn beanie ' |
|
parameters: |
|
negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1342915.jpeg |
|
- text: 'a man sitting alone at a bar, beart, worn beanie, side view, big beer, hands in pockets' |
|
parameters: |
|
negative_prompt: closed eyes, hair, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1343143.jpeg |
|
- text: 'photo of a woman looking at christmas lights ' |
|
parameters: |
|
negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1398697.jpeg |
|
- text: 'woman reading a book in the park, flashlight , close up ' |
|
parameters: |
|
negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1398705.jpeg |
|
- text: 'man holding a lantern, close up, shocked, mustache ' |
|
parameters: |
|
negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1398710.jpeg |
|
- text: 'woman sitting in a coffee shop, black robe, red hair, holding a lightsaber |
|
' |
|
parameters: |
|
negative_prompt: cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1398715.jpeg |
|
- text: 'a woman super excited, holding a jar with fireflies ' |
|
parameters: |
|
negative_prompt: too many fingers, bad anatomy,, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution |
|
|
|
output: |
|
url: >- |
|
1398718.jpeg |
|
|
|
--- |
|
|
|
# Nighttime LoRA |
|
|
|
<Gallery /> |
|
|
|
|
|
|
|
|
|
|
|
## Model description |
|
|
|
<p>This lora can turn any scene into a night scene, indoors and outdoors. Not just darker, but with flashlights, car lights, etc. Some scenes will need a stronger weight than others. So adjust as needed. </p><p>This is an experiment in a training process concept I am working on I call seed locking. Initial results looked good, but it still needs work. The basic idea is to generate training images and regularization images with a specific seed, then alter the training images with the desired effect while maintaining image consistency, and then retrain with those specific seeds to target very specific concepts you want to adjust and keeping everything else the same. It is not perfect because of the sampling methods. I hope to find a way to regularize for the sampler in the loss, hopefully soon. </p><p>But for now, enjoy the experiment.</p><p></p> |
|
|
|
|
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/ostris/nighttime-lora/tree/main) them in the Files & versions tab. |
|
|
|
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) |
|
|
|
```py |
|
from diffusers import AutoPipelineForText2Image |
|
import torch |
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda') |
|
pipeline.load_lora_weights('ostris/nighttime-lora', weight_name='nighttime_v1.safetensors') |
|
image = pipeline('a woman super excited, holding a jar with fireflies ').images[0] |
|
``` |
|
|
|
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) |
|
|
|
|