Instructions to use Darrige/sd15-multistyle-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Darrige/sd15-multistyle-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Darrige/sd15-multistyle-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Darrige/sd15-multistyle-lora")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]SD 1.5 Multi-Style LoRA Pack
Lightweight rank-4 UNet LoRA adapters (3.08 MiB each) trained on Stable Diffusion 1.5 for artistic style transfer, powering darrige.tech.
Included Styles & Triggers
| 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 |
Quickstart (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.
Warnings & Limitations
- SD 1.5 Only: Incompatible with SDXL, SD3, or Flux.
- Adapters Only: Requires downloading
runwayml/stable-diffusion-v1-5at runtime. - Safety: These are raw LoRA weights without a built-in safety filter; enable a safety checker in production deployments.
Links
- Live Portfolio: darrige.tech
- Source Code: GitHub
- Author: Mohammed Darrige
- Downloads last month
- -
Model tree for Darrige/sd15-multistyle-lora
Base model
runwayml/stable-diffusion-v1-5