Dreamshaper XL Lightning Dpmsde
lykon/dreamshaper-xl-lightning is a Stable Diffusion model that has been fine-tuned on stabilityai/stable-diffusion-xl-base-1.0.
Model source
- Kind
- Other
- File size
- 160 MB–9.56 GB
- Version
- vVersion 1
- Updated
- Sep 16, 2026
- Source
- Hugging Face
Source description
Dreamshaper XL Lightning
lykon/dreamshaper-xl-lightning is a Stable Diffusion model that has been fine-tuned on stabilityai/stable-diffusion-xl-base-1.0.
Please consider supporting me:
- on Patreon
- or buy me a coffee
Diffusers
For more general information on how to run text-to-image models with 🧨 Diffusers, see the docs.
- Installation
pip install diffusers transformers accelerate
- Run
from diffusers import AutoPipelineForText2Image, DPMSolverMultistepScheduler
import torch
pipe = AutoPipelineForText2Image.from_pretrained('lykon/dreamshaper-xl-lightning', torch_dtype=torch.float16, variant="fp16")
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
pipe = pipe.to("cuda")
prompt = "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors"
generator = torch.manual_seed(0)
image = pipe(prompt, num_inference_steps=4, guidance_scale=2).images[0]
image.save("./image.png")
Sources
1 source
Sources
1 sourceVerified Aug 9
Model artifacts
9 artifacts
Model artifacts
9 artifactsdreamshaperXL_lightningDPMSDE.safetensors
safetensors · 6.46 GB · SHA-256 fdbe56354b8f…4f64 · Hugging Face
Downloadtext_encoder_2/model.fp16.safetensors
safetensors · 1.29 GB · SHA-256 30b466dbbac3…13af · Hugging Face
Downloadtext_encoder_2/model.safetensors
safetensors · 2.59 GB · SHA-256 f8fa6edb5d2a…e8e7 · Hugging Face
Downloadtext_encoder/model.fp16.safetensors
safetensors · 235 MB · SHA-256 3dea4e3e892d…640f · Hugging Face
Downloadtext_encoder/model.safetensors
safetensors · 469 MB · SHA-256 b228224841aa…a499 · Hugging Face
Downloadunet/diffusion_pytorch_model.fp16.safetensors
safetensors · 4.78 GB · SHA-256 59e4108f8290…3f5e · Hugging Face
Downloadunet/diffusion_pytorch_model.safetensors
safetensors · 9.56 GB · SHA-256 d0f9bdfd6dd4…a797 · Hugging Face
Downloadvae/diffusion_pytorch_model.fp16.safetensors
safetensors · 160 MB · SHA-256 5ebe0b826867…41d4 · Hugging Face
Downloadvae/diffusion_pytorch_model.safetensors
safetensors · 319 MB · SHA-256 4e75c862029c…458a · Hugging Face
DownloadSource excerpts
2 excerpts
Source excerpts
2 excerpts--- language: - en license: openrail++ tags: - stable-diffusion - stable-diffusion-diffusers - stable-diffusion-xl - stable-diffusion-xl-lightning - text-to-image - art - artistic - diffusers - anime - dreamshaper - turbo - lcm duplicated_from: lykon/dreamshaper-xl-lightning --- # Dreamshaper XL Lightning `lykon/dreamshaper-xl-lightning` is a Stable Diffusion model that has been fine-tuned on [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0). Please consider supporting me: - on [Patreon](https://www.patreon.com/Lykon275) - or [buy me a coffee](https://snipfeed.co/lykon) ## Diffusers For more general information on how to run text-to-image models with 🧨 Diffusers, see [the docs](https://huggingface.co/docs/diffusers/using-diffusers/conditional_image_generation). 1. Installation ``` pip install diffusers transformers accelerate ``` 2. Run ```py from diffusers import AutoPipelineForText2Image, DPMSolverMultistepScheduler import torch pipe = AutoPipelineForText2Image.from_pretrained('lykon/dreamshaper-xl-lightning', torch_dtype=torch.float16, variant="fp16") pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config) pipe = pipe.to("cuda") prompt = "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors" generator = torch.manual_seed(0) image = pipe(prompt, num_inference_steps=4, guidance_scale=2).images[0] image.save("./image.png") ```
Source context: 1675 downloads · 5 likes · Pipeline text-to-image · Library diffusers · Repo oguzm/dreamshaper-xl-lightning-dpmsde
