Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: creativeml-openrail-m
|
5 |
+
tags:
|
6 |
+
- stable-diffusion
|
7 |
+
- stable-diffusion-diffusers
|
8 |
+
- text-to-image
|
9 |
+
- diffusers
|
10 |
+
inference: true
|
11 |
+
---
|
12 |
+
|
13 |
+
Diffuser model for this SD checkpoint:
|
14 |
+
https://civitai.com/models/43331/majicmix-realistic
|
15 |
+
|
16 |
+
**emilianJR/majicMIX_realistic** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**.
|
17 |
+
|
18 |
+
Examples | Examples | Examples
|
19 |
+
---- | ---- | ----
|
20 |
+
![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f4f5951e-d7e5-4dfc-82c2-7fabcd8ac3b9/width=450/00060-4196734151.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0c8d8978-6cdf-4014-a2af-bd094055c88f/width=450/00086-624320142.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1836b090-f607-48c3-9cfe-5d2026e2b1d9/width=450/00045-4032763690.jpeg)
|
21 |
+
![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1067bec9-d8bc-4124-a351-adadbc133e2a/width=450/00028-3762151668.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a8e3db1f-3140-41fb-ad0c-c0da2288ee5e/width=450/00055-2613562114.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8c498de8-4571-49e9-bffb-cd0fc83f0a0e/width=450/00046-2617281722.jpeg)
|
22 |
+
-------
|
23 |
+
|
24 |
+
|
25 |
+
## 🧨 Diffusers
|
26 |
+
|
27 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
28 |
+
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
29 |
+
|
30 |
+
|
31 |
+
```python
|
32 |
+
from diffusers import StableDiffusionPipeline
|
33 |
+
import torch
|
34 |
+
|
35 |
+
model_id = "emilianJR/majicMIX_realistic"
|
36 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
37 |
+
pipe = pipe.to("cuda")
|
38 |
+
|
39 |
+
prompt = "YOUR PROMPT"
|
40 |
+
image = pipe(prompt).images[0]
|
41 |
+
|
42 |
+
image.save("image.png")
|
43 |
+
```
|
44 |
+
|
45 |
+
## License
|
46 |
+
|
47 |
+
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
48 |
+
The CreativeML OpenRAIL License specifies:
|
49 |
+
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|