Downloads · 30 days
547
4% of all-time downloads
Koolchh/AnimeBoysXL-v2.0
AnimeBoysXL-v2.0 is a text-to-image model from Koolchh. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
It takes substantial time and efforts to bake models. If you appreciate my models, I would be grateful if you could support me on Ko-fi ☕.
Downloads · 30 days
547
4% of all-time downloads
All-time downloads
13.6K
Public
Parameters
2.6B
27.8 GB on disk
Likes
7
Public
Click a slice to open those files.
.safetensors27.8 GB · 100%
From the Hugging Face model README
It takes substantial time and efforts to bake models. If you appreciate my models, I would be grateful if you could support me on Ko-fi ☕.
<Gallery />1boy, male focus, character name, series name, anything else you'd like to describe
2boys, male focus, multiple boys, character name(s), series name, anything else you'd like to describe
, 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, breasts
lowres, 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.import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("Koolchh/AnimeBoysXL-v2.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
pipe.to("cuda")
prompt = "1boy, male focus, shirt, solo, looking at viewer, smile, black hair, brown eyes, short hair, best quality, amazing quality, best aesthetic, absurdres"
negative_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"
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
width=1024,
height=1024,
guidance_scale=5,
num_inference_steps=28
).images[0]
AnimeBoysXL v2.0 is trained from Stable Diffusion XL Base 1.0, on ~516k images.
The following tags are attached to the training data to make it easier to steer toward either more aesthetic or more flexible results.
| 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 |
|---|---|
sfw | general |
slightly nsfw | sensitive |
fairly nsfw | questionable |
very nsfw | explicit |
year YYYY where YYYY is in the range of [2005, 2023].
sfw rating tag.