File size: 4,171 Bytes
f24ad95
 
d35b321
 
 
2ea78d4
d35b321
 
 
 
 
 
 
 
 
f24ad95
d35b321
5129ae4
d35b321
e9f401f
d35b321
 
 
d6a909c
13c4578
d35b321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
592df71
d35b321
 
 
 
 
 
d6a909c
686e3c9
d35b321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5d45cbd
d35b321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
116
117
118
119
120
121
122
123
124
125
126
---
license: creativeml-openrail-m
language:
- en
thumbnail: >-
  https://huggingface.co/TheRafal/everything/resolve/main/img/thumbnail.png
pipeline_tag: text-to-image
tags:
- stable-diffusion
- stable-diffusion-diffusers
- text-to-image
- image-to-image
- diffusers
- aiart
- anime
---

<center><img src="https://huggingface.co/TheRafal/everything/resolve/main/img/1.png" width="768" height="768" alt="Eyecatcher" /></center>

![visitors](https://visitor-badge.glitch.me/badge?page_id=everything&left_color=red) 

----

# Everything V2
Everything V2 is a fine-tuned model based on SD2.1. It was trained using ED2 on a dataset of around 300k images. Like other anime-style Stable Diffusion models, it also supports danbooru tags to generate images.

e.g. **_1girl, white hair, blue eyes, cat ears, outdoors, city_** 

<details>
<summary>SHOW IMAGE</summary>

<center><img src="https://huggingface.co/TheRafal/everything-v1/resolve/main/img/example.png" width="512" height="512" alt="Example prompt" /></center>

</details>

----

# How to download

## Batch download

1. Install Git
2. Create a folder of your choice and right click → "Git bash here" and open a gitbash on the folder's directory.
3. Run the following commands in order.

```
git lfs install
git clone https://huggingface.co/TheRafal/everything-v2
```

4. Complete

## Select and download

1. Go to the [Files and versions](https://huggingface.co/TheRafal/everything-v2/tree/main) tab in the [Everything V2 repository](https://huggingface.co/TheRafal/everything-v2)
2. Select the model that you want to download and its yaml file
3. Download
4. Complete

----

# Diffusers

This model can be used just like any other Stable Diffusion model.

You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx) or [MPS](https://huggingface.co/docs/diffusers/optimization/mps).

```python
import torch
from torch import autocast
from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained('TheRafal/everything', torch_dtype=torch.float32).to('cuda')

prompt = "masterpiece, 1girl, blonde hair, blue eyes, colorful, cumulonimbus clouds, lighting, short hair, city, hoodie, night"
with autocast("cuda"):
    image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)["images"][0]  
    
image.save(prompt.replace(" ", "_") + ".png")
```

<details>
<summary>SHOW IMAGE</summary>

**Anime Girl:**
![Anime Girl](https://huggingface.co/TheRafal/everything-v1/resolve/main/img/test.png)

</details>

----

# Examples

Below are some examples of images generated using this model:

<details>
<summary>SHOW IMAGES</summary>

**Anime Girl:**
![Anime Girl](https://huggingface.co/TheRafal/everything-v1/resolve/main/img/1girl.png)
```
1girl, red hair, blue eyes, short hair, jacket, winter clothes, scarf, outdoors, tokyo \(city\), snow, snowing, gloves, pants, looking at viewer, cowboy shot
Steps: 50, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 2436148258, Size: 768x768
```

**Anime Boy:**
![Anime Boy](https://huggingface.co/TheRafal/everything-v1/resolve/main/img/1boy.png)
```
1boy, black hair, green eyes, bishounen, casual, indoors, sitting, coffee shop, sitting, bokeh
Steps: 50, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 4225599226, Size: 768x768
```

</details>

----

# License

This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
The CreativeML OpenRAIL License specifies: 

1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content 
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
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)
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)