Update README.md
Browse files
README.md
CHANGED
@@ -21,29 +21,19 @@ tags:
|
|
21 |
- **Prompt**: Use tag-based prompts to describe your subject.
|
22 |
- Tag ordering matters. It is highly recommended to structure your prompt with the following templates:
|
23 |
```
|
24 |
-
1boy, male focus, character name, series name, anything else you'd like to describe
|
25 |
```
|
26 |
```
|
27 |
-
2boys, male focus, multiple boys, character name(s), series name, anything else you'd like to describe
|
28 |
```
|
29 |
-
- Append
|
30 |
-
```
|
31 |
-
, best quality, amazing quality, best aesthetic, absurdres
|
32 |
-
```
|
33 |
-
to the prompt to improve image quality.
|
34 |
-
- (*Optional*) Append
|
35 |
-
```
|
36 |
-
, year YYYY
|
37 |
-
```
|
38 |
-
to the prompt to shift the output toward the prevalent style of that year. `YYYY` is a 4 digit year, e.g. `, year 2023`
|
39 |
- **Negative prompt**: Choose from one of the following two presets.
|
40 |
-
1.
|
41 |
```
|
42 |
-
lowres,
|
43 |
```
|
44 |
-
2.
|
45 |
```
|
46 |
-
lowres, jpeg artifacts, worst quality,
|
47 |
```
|
48 |
- **VAE**: Make sure you're using [SDXL VAE](https://huggingface.co/stabilityai/sdxl-vae/tree/main).
|
49 |
- **Sampling method, sampling steps and CFG scale**: I find **(Euler a, 28, 5)** good. You are encouraged to experiment with other settings.
|
@@ -58,8 +48,8 @@ from diffusers import DiffusionPipeline
|
|
58 |
pipe = DiffusionPipeline.from_pretrained("Koolchh/AnimeBoysXL-v3.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
59 |
pipe.to("cuda")
|
60 |
|
61 |
-
prompt = "1boy, male focus, shirt, solo, looking at viewer, smile, black hair, brown eyes, short hair, best quality, amazing quality, best aesthetic, absurdres"
|
62 |
-
negative_prompt = "lowres,
|
63 |
|
64 |
image = pipe(
|
65 |
prompt=prompt,
|
|
|
21 |
- **Prompt**: Use tag-based prompts to describe your subject.
|
22 |
- Tag ordering matters. It is highly recommended to structure your prompt with the following templates:
|
23 |
```
|
24 |
+
1boy, male focus, character name, series name, anything else you'd like to describe, best aesthetic, amazing aesthetic, great aesthetic, normal aesthetic, best quality, amazing quality, great quality, normal quality, absurdres
|
25 |
```
|
26 |
```
|
27 |
+
2boys, male focus, multiple boys, character name(s), series name, anything else you'd like to describe, best aesthetic, amazing aesthetic, great aesthetic, normal aesthetic, best quality, amazing quality, great quality, normal quality, absurdres
|
28 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
- **Negative prompt**: Choose from one of the following two presets.
|
30 |
+
1. Light (*recommended*):
|
31 |
```
|
32 |
+
lowres, jpeg artifacts, worst quality, watermark, blurry, bad aesthetic
|
33 |
```
|
34 |
+
2. Heavy:
|
35 |
```
|
36 |
+
lowres, bad, text, error, missing, extra, fewer, cropped, jpeg artifacts, worst quality, bad quality, watermark, bad aesthetic, unfinished, chromatic aberration, scan, scan artifacts
|
37 |
```
|
38 |
- **VAE**: Make sure you're using [SDXL VAE](https://huggingface.co/stabilityai/sdxl-vae/tree/main).
|
39 |
- **Sampling method, sampling steps and CFG scale**: I find **(Euler a, 28, 5)** good. You are encouraged to experiment with other settings.
|
|
|
48 |
pipe = DiffusionPipeline.from_pretrained("Koolchh/AnimeBoysXL-v3.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
49 |
pipe.to("cuda")
|
50 |
|
51 |
+
prompt = "1boy, male focus, shirt, solo, looking at viewer, smile, black hair, brown eyes, short hair, best quality, amazing quality, best aesthetic, great quality, amazing aesthetic, great aesthetic, normal aesthetic, normal quality, absurdres"
|
52 |
+
negative_prompt = "lowres, jpeg artifacts, worst quality, watermark, blurry, bad aesthetic"
|
53 |
|
54 |
image = pipe(
|
55 |
prompt=prompt,
|