Views
No views yet
, best quality, amazing quality, best aesthetic, absurdres to the prompt to improve image quality., year YYYY to the prompt to shift the output toward the prevalent style of that year. YYYY is a 4 digit year, e.g. , year 2023lowres, (bad:1.05), text, error, missing, extra, fewer, cropped, jpeg artifacts, worst quality, bad quality, watermark, bad aesthetic, unfinished, chromatic aberration, scan, scan artifacts, 1girl, breastslowres, jpeg artifacts, worst quality, watermark, blurry, bad aesthetic, 1girl, breasts, realistic, lips, nose to the negative prompt if you need a flat anime-like style face.1import torch
2from diffusers import DiffusionPipeline
3
4pipe = DiffusionPipeline.from_pretrained("Koolchh/AnimeBoysXL-v1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
5pipe.to("cuda")
6
7prompt = "1boy, solo, male focus, hoodie, grey hoodie, hood, hood up, close-up, sleepy, short hair, bara, undercut, stubble, black hair, green eyes, parted lips, white background, simple background, best quality, amazing quality, best aesthetic, absurdres, year 2023"
8negative_prompt = "lowres, (bad:1.05), text, error, missing, extra, fewer, cropped, jpeg artifacts, worst quality, bad quality, watermark, bad aesthetic, unfinished, chromatic aberration, scan, scan artifacts, 1girl, breasts"
9
10image = pipe(
11 prompt=prompt,
12 negative_prompt=negative_prompt,
13 width=1024,
14 height=1024,
15 guidance_scale=5,
16 num_inference_steps=28
17).images[0]| tag | score |
|---|---|
best quality | >= 150 |
amazing quality | [100, 150) |
great quality | [75, 100) |
normal quality | [0, 75) |
bad quality | (-5, 0) |
worst quality | <= -5 |
| tag | score |
|---|---|
best aesthetic | >= 6.675 |
great aesthetic | [6.0, 6.675) |
normal aesthetic | [5.0, 6.0) |
bad aesthetic | < 5.0 |
| tag | rating |
|---|---|
| (None) | general |
slightly nsfw | sensitive |
fairly nsfw | questionable |
very nsfw | explicit |
year YYYY where YYYY is in the range of [2005, 2023].