Update README.md
Browse files
README.md
CHANGED
@@ -4,71 +4,5 @@ language:
|
|
4 |
license: other
|
5 |
tags:
|
6 |
- stable-diffusion
|
7 |
-
- stable-diffusion-diffusers
|
8 |
-
- text-to-image
|
9 |
-
- photorealistic
|
10 |
-
- photoreal
|
11 |
-
- diffusers
|
12 |
inference: false
|
13 |
-
---
|
14 |
-
|
15 |
-
# Dreamlike Photoreal 2.0 is a photorealistic model based on Stable Diffusion 1.5, made by [dreamlike.art](https://dreamlike.art/).
|
16 |
-
|
17 |
-
# If you want to use dreamlike models on your website/app/etc., check the license at the bottom first!
|
18 |
-
|
19 |
-
Warning: This model is horny! Add "nude, naked" to the negative prompt if want to avoid NSFW.
|
20 |
-
|
21 |
-
You can add **photo** to your prompt to make your gens look more photorealistic.
|
22 |
-
Non-square aspect ratios work better for some prompts. If you want a portrait photo, try using a vertical aspect ratio. If you want a landscape photo, try using a horizontal aspect ratio.
|
23 |
-
This model was trained on 768x768px images, so use 768x768px, 640x896px, 896x640px, etc. It also works pretty good with higher resolutions such as 768x1024px or 1024x768px.
|
24 |
-
|
25 |
-
### Examples
|
26 |
-
|
27 |
-
<img src="https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/preview1.jpg" style="max-width: 800px;" width="100%"/>
|
28 |
-
<img src="https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/preview2.jpg" style="max-width: 800px;" width="100%"/>
|
29 |
-
<img src="https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/preview3.jpg" style="max-width: 800px;" width="100%"/>
|
30 |
-
|
31 |
-
### dreamlike.art
|
32 |
-
|
33 |
-
You can use this model for free on [dreamlike.art](https://dreamlike.art/)!
|
34 |
-
|
35 |
-
<img src="https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/dreamlike.jpg" style="max-width: 1000px;" width="100%"/>
|
36 |
-
|
37 |
-
### CKPT
|
38 |
-
|
39 |
-
[Download dreamlike-photoreal-2.0.ckpt (2.13GB)](https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/dreamlike-photoreal-2.0.ckpt)
|
40 |
-
|
41 |
-
### Safetensors
|
42 |
-
[Download dreamlike-photoreal-2.0.safetensors (2.13GB)](https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/dreamlike-photoreal-2.0.safetensors)
|
43 |
-
|
44 |
-
### 🧨 Diffusers
|
45 |
-
|
46 |
-
This model can be used just like any other Stable Diffusion model. For more information,
|
47 |
-
please have a look at the [Stable Diffusion Pipeline](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
48 |
-
|
49 |
-
```python
|
50 |
-
from diffusers import StableDiffusionPipeline
|
51 |
-
import torch
|
52 |
-
|
53 |
-
model_id = "dreamlike-art/dreamlike-photoreal-2.0"
|
54 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
55 |
-
pipe = pipe.to("cuda")
|
56 |
-
|
57 |
-
prompt = "photo, a church in the middle of a field of crops, bright cinematic lighting, gopro, fisheye lens"
|
58 |
-
image = pipe(prompt).images[0]
|
59 |
-
|
60 |
-
image.save("./result.jpg")
|
61 |
-
```
|
62 |
-
|
63 |
-
<img src="https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/church.jpg" style="max-width: 640px;" width="100%"/>
|
64 |
-
|
65 |
-
# License
|
66 |
-
|
67 |
-
This model is licesed under a **modified** CreativeML OpenRAIL-M license.
|
68 |
-
|
69 |
-
- **You are not allowed to host, finetune, or do inference with the model or its derivatives on websites/apps/etc. If you want to, please email us at contact@dreamlike.art**
|
70 |
-
- **You are free to host the model card and files (Without any actual inference or finetuning) on both commercial and non-commercial websites/apps/etc. Please state the full model name (Dreamlike Photoreal 2.0) and include the license as well as a link to the model card (https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0)**
|
71 |
-
- **You are free to use the outputs (images) of the model for commercial purposes in teams of 10 or less**
|
72 |
-
- You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
73 |
-
- 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
|
74 |
-
- You may re-distribute the weights. 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 **modified** CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here: https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/blob/main/LICENSE.md
|
|
|
4 |
license: other
|
5 |
tags:
|
6 |
- stable-diffusion
|
|
|
|
|
|
|
|
|
|
|
7 |
inference: false
|
8 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|