nitrosocke
commited on
Commit
•
7e6f33c
1
Parent(s):
7c4ba8f
Update README.md
Browse files
README.md
CHANGED
@@ -1,17 +1,73 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: creativeml-openrail-m
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
-
You can
|
6 |
|
|
|
|
|
|
|
7 |
|
|
|
|
|
|
|
8 |
|
|
|
|
|
9 |
|
|
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
|
|
13 |
|
|
|
|
|
|
|
|
|
14 |
|
15 |
|
|
|
|
|
16 |
![Batman](https://huggingface.co/nitrosocke/Nitro-Diffusion/resolve/main/batman-demo-01.gif)
|
|
|
17 |
![Lara Croft](https://huggingface.co/nitrosocke/Nitro-Diffusion/resolve/main/laracroft-demo-01.gif)
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: creativeml-openrail-m
|
5 |
+
thumbnail: "https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-01s.jpg"
|
6 |
+
tags:
|
7 |
+
- stable-diffusion
|
8 |
+
- text-to-image
|
9 |
+
- image-to-image
|
10 |
+
|
11 |
---
|
12 |
+
### Nitro Diffusion
|
13 |
+
|
14 |
+
Welcome to Nitro Diffusion - the first Multi-Style Model trained from scratch! This is a fine-tuned Stable Diffusion model trained on three artstyles simultaniously while keeping each style separate from the others. This allows for high control of mixing, weighting and single style use.
|
15 |
+
Use the tokens **_archer style, arcane style or modern diseny style_** in your prompts for the effect. You can also use more than one for a mixed style like in the examples down below:
|
16 |
+
|
17 |
+
**If you enjoy my work and want to test new models before release, please consider supporting me**
|
18 |
+
[![Become A Patreon](https://badgen.net/badge/become/a%20patron/F96854)](https://patreon.com/user?u=79196446)
|
19 |
+
|
20 |
+
**Single Style Characters from the model:**
|
21 |
+
![Videogame Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-01s.jpg)
|
22 |
+
**Multi Style Characters from the model:**
|
23 |
+
![Misc. Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-02s.jpg)
|
24 |
+
**Multi Style Scenes from the model:**
|
25 |
+
![Misc. Samples](https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-02s.jpg)
|
26 |
+
|
27 |
+
#### Prompt and settings for Tony Stark:
|
28 |
+
**(redshift style) robert downey jr as ironman Negative prompt: glasses helmet**
|
29 |
+
_Steps: 40, Sampler: DPM2 Karras, CFG scale: 7, Seed: 908018284, Size: 512x704_
|
30 |
+
|
31 |
+
#### Prompt and settings for the Ford Mustang:
|
32 |
+
**redshift style Ford Mustang**
|
33 |
+
_Steps: 20, Sampler: DPM2 Karras, CFG scale: 7, Seed: 579593863, Size: 704x512_
|
34 |
+
|
35 |
+
### 🧨 Diffusers
|
36 |
+
|
37 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
38 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
39 |
|
40 |
+
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
|
41 |
|
42 |
+
```python
|
43 |
+
from diffusers import StableDiffusionPipeline
|
44 |
+
import torch
|
45 |
|
46 |
+
model_id = "nitrosocke/nitro-diffusion"
|
47 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
48 |
+
pipe = pipe.to("cuda")
|
49 |
|
50 |
+
prompt = "archer arcane style magical princess with golden hair"
|
51 |
+
image = pipe(prompt).images[0]
|
52 |
|
53 |
+
image.save("./magical_princess.png")
|
54 |
+
```
|
55 |
|
56 |
+
This model was trained using the diffusers based dreambooth training by ShivamShrirao using prior-preservation loss and the _train-text-encoder_ flag in 11.000 steps.
|
57 |
|
58 |
+
## License
|
59 |
|
60 |
+
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
61 |
+
The CreativeML OpenRAIL License specifies:
|
62 |
|
63 |
+
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
64 |
+
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
|
65 |
+
3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
|
66 |
+
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
67 |
|
68 |
|
69 |
+
## Video Demos
|
70 |
+
#Batman
|
71 |
![Batman](https://huggingface.co/nitrosocke/Nitro-Diffusion/resolve/main/batman-demo-01.gif)
|
72 |
+
#Lara Croft
|
73 |
![Lara Croft](https://huggingface.co/nitrosocke/Nitro-Diffusion/resolve/main/laracroft-demo-01.gif)
|