File size: 4,109 Bytes
89b7786
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
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)