Downloads · 30 days
12
9% of all-time downloads
Shion1124/anime-character-lora_v1.5
anime-character-lora_v1.5 is a text-to-image model from Shion1124. Use it when you need an image from a text prompt. It is set up for peft. The card lists the license as openrail.
This repository provides a LoRA adapter fine-tuned from runwayml/stable-diffusion-v1-5 using PyTorch LoRA (PEFT).
Downloads · 30 days
12
9% of all-time downloads
All-time downloads
135
Public
Repo size
6.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 MB · 92%
From the Hugging Face model README
This repository provides a LoRA adapter fine-tuned from
runwayml/stable-diffusion-v1-5 using PyTorch LoRA (PEFT).
This repository contains LoRA adapter weights only.
The base model must be loaded separately.
This adapter is trained to improve anime character generation quality
across 5 artistic styles (impressionist, soft-focus, oil painting, sketch, pastel).
The model learns style-specific features from Danbooru anime images,
applied to the UNet attention layers (to_k, to_v, to_q, to_out.0).

runwayml/stable-diffusion-v1-5to_k, to_v, to_q, to_out.0 (Attention Linear layers only)Danbooru anime images collected and classified into 5 styles:
| Style | Images |
|---|---|
| impressionist_style | ~60 |
| soft_focus_landscape | ~60 |
| oil_painting_aesthetic | ~60 |
| sketch_aesthetic | ~60 |
| pastel_softness | ~60 |
Total: ~300 images
import torch
from diffusers import StableDiffusionPipeline
from peft import PeftModel
base = "runwayml/stable-diffusion-v1-5"
adapter = "Shion1124/anime-character-lora_v1.5"
pipe = StableDiffusionPipeline.from_pretrained(base, torch_dtype=torch.float16)
pipe.unet = PeftModel.from_pretrained(pipe.unet, adapter, adapter_name="anime_lora")
pipe = pipe.to("cuda")
image = pipe(
prompt="1girl, anime character, watercolor style, masterpiece, high quality",
negative_prompt="low quality, blurry, distorted, nsfw",
num_inference_steps=20,
guidance_scale=7.5,
height=512,
width=512,
generator=torch.Generator(device="cuda").manual_seed(42)
).images[0]
image.save("output.png")
Anime character:
1girl, anime character, detailed beautiful face, long hair,
watercolor painting style, soft colors, bokeh background,
masterpiece, best quality, high quality, intricate details
Negative prompt:
low quality, worst quality, blurry, distorted, watermark,
error, nsfw, extra limbs, missing limbs, ugly, bad anatomy
| Parameter | Value |
|---|---|
num_inference_steps | 20 |
guidance_scale | 7.5 |
height / width | 512 × 512 |
Training data: Danbooru (https://danbooru.donmai.us/)
Dataset License: CC0 (Public Domain). Images sourced from Danbooru under CC0 terms.
Compliance: Users must comply with the base model's original license terms (OpenRAIL-M).
| Component | License |
|---|---|
| Stable Diffusion v1.5 | OpenRAIL-M |
| LoRA adapter (this repo) | Apache 2.0 |
| Training data (Danbooru) | CC0 |