Lightweight rank-4 UNet LoRA adapters (3.08 MiB each) trained on Stable Diffusion 1.5 for artistic style transfer, powering darrige.tech.
| Style | Subfolder | Trigger Phrase |
|---|---|---|
| Cubism | cubism |
in cubism style, geometric shapes, picasso style |
| Post-Impressionism | post-impressionism |
in post-impressionism style, painting style |
| Ukiyo-e | ukiyo-e |
in ukiyo-e style, woodblock print, flat colors |
diffusers)import torch
from diffusers import StableDiffusionPipeline, AutoencoderKL
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse", torch_dtype=torch.float16)
pipe = StableDiffusionPipeline.from_pretrained(
"runwayml/stable-diffusion-v1-5",
vae=vae,
torch_dtype=torch.float16,
).to("cuda")
# Choose subfolder: "cubism", "post-impressionism", or "ukiyo-e"
pipe.load_lora_weights("Darrige/sd15-multistyle-lora", subfolder="ukiyo-e")
pipe.fuse_lora(lora_scale=1.05)
image = pipe(
prompt="a quiet mountain temple at dawn, in ukiyo-e style, woodblock print, flat colors",
negative_prompt="photograph, photorealistic, blurry, watermark, 3d render, cg",
num_inference_steps=30,
guidance_scale=7.5,
).images[0]
image.save("styled.png")
Recommended Img2Img Settings: EulerAncestralDiscreteScheduler, strength 0.42 - 0.62, lora_scale 0.95 - 1.30, guidance_scale 8.0, 50 steps.
runwayml/stable-diffusion-v1-5 at runtime.cubism/pytorch_lora_weights.safetensors 3 MBpost-impressionism/pytorch_lora_weights.safetensors 3 MBukiyo-e/pytorch_lora_weights.safetensors 3 MBrunwayml/stable-diffusion-v1-5