Aller au contenu
ModelPrésentéExterne
Télécharger

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.

TypeOtherVersionVersion 1BClasse

Source du modèle

Type
Other
Taille du fichier
160 MB–9,56 GB
Version
vVersion 1
Mis à jour
16 sept. 2026
Source
Hugging Face

Description de la source

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:

Diffusers

For more general information on how to run text-to-image models with 🧨 Diffusers, see the docs.

  1. Installation
pip install diffusers transformers accelerate
  1. 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
Hugging FacePrincipalVersion ed1d4de8db5d9fe0edbd5b79c6218a55235c3333
huggingface.co/oguzm/dreamshaper-xl-lightning-dpmsde/tree/ed1d4de8db5d9fe0edbd5b79c6218a55235c3333

Vérifié 9 août

Artefacts du modèle

9 artefacts

dreamshaperXL_lightningDPMSDE.safetensors

safetensors · 6,46 GB · SHA-256 fdbe56354b8f…4f64 · Hugging Face

Télécharger

text_encoder_2/model.fp16.safetensors

safetensors · 1,29 GB · SHA-256 30b466dbbac3…13af · Hugging Face

Télécharger

text_encoder_2/model.safetensors

safetensors · 2,59 GB · SHA-256 f8fa6edb5d2a…e8e7 · Hugging Face

Télécharger

text_encoder/model.fp16.safetensors

safetensors · 235 MB · SHA-256 3dea4e3e892d…640f · Hugging Face

Télécharger

text_encoder/model.safetensors

safetensors · 469 MB · SHA-256 b228224841aa…a499 · Hugging Face

Télécharger

unet/diffusion_pytorch_model.fp16.safetensors

safetensors · 4,78 GB · SHA-256 59e4108f8290…3f5e · Hugging Face

Télécharger

unet/diffusion_pytorch_model.safetensors

safetensors · 9,56 GB · SHA-256 d0f9bdfd6dd4…a797 · Hugging Face

Télécharger

vae/diffusion_pytorch_model.fp16.safetensors

safetensors · 160 MB · SHA-256 5ebe0b826867…41d4 · Hugging Face

Télécharger

vae/diffusion_pytorch_model.safetensors

safetensors · 319 MB · SHA-256 4e75c862029c…458a · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- 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