Model reference · open weights
dreamshaper-xl-lightning-flashpack is an open-weight image model from fal. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Maker | fal |
|---|---|
| Type | Image models |
| Task | Text→image |
| Runs with | diffusers |
| Released | 2026-07-17 |
| Popularity | 6 downloads / month |
| Licence | Open weights |
About
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:
For more general information on how to run text-to-image models with 🧨 Diffusers, see the docs.
pip install diffusers transformers accelerate
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")
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys dreamshaper-xl-lightning-flashpack for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (dreamshaper-xl-lightning-flashpack below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"dreamshaper-xl-lightning-flashpack","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.