How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("RunDiffusion/Juggernaut-XL-Lightning", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]
Juggernaut — by RunDiffusion

Juggernaut XL Lightning by RunDiffusion

Juggernaut quality at SDXL Lightning speed — 5–7 steps, photo-grade output.

Try Juggernaut Lightning — Free

Prompting Guides Compare the Lineup 5-7 steps License: CreativeML Open RAIL-M

Juggernaut XL Lightning is the speed-optimized member of the Juggernaut family — built on SDXL Lightning distillation, it produces photo-grade Juggernaut output in just 5–7 inference steps instead of the usual 30–40. Same aesthetic, ~5× faster, ideal for batch generation, real-time iteration, and live demos.

When to Use It

  • Batch generation — render hundreds of variations in the time you'd usually generate a few.
  • 🔁 Real-time iteration — preview prompt changes in seconds, not minutes.
  • 💻 Lower-end hardware — fewer steps means lower VRAM pressure during inference.
  • 🎤 Live demos and showcases — instant turnaround when latency is the bottleneck.

If you need the very best per-image quality and don't mind the wait, use Juggernaut XL v9 instead — full-step inference holds slightly more detail.


⚡ Want speed without setup? Run Lightning on RunDiffusion.

Pre-loaded with the right scheduler, sampler, and CFG. No installs. No GPU rental.

Launch on RunDiffusion

Pre-loaded into ComfyUI · Forge · Automatic1111 · Fooocus · InvokeAI · SwarmUI


Recommended Settings

These are different from standard Juggernaut. Lightning needs fewer steps and lower CFG.

Parameter Value
Sampler DPM++ SDE or DPM++ SDE Karras
Steps 5 – 7
CFG scale 1.5 – 2.0
Resolution ≥ 1024 × 1024 (use SDXL-native sizes)
VAE Already baked in — no external VAE required

Standard Juggernaut prompts work as-is. Don't adjust your prompt for Lightning — just adjust the sampler, steps, and CFG.

📖 Want to go deeper on prompting? See the RunDiffusion prompting library. Free to read, no signup.

Two Ways to Run Juggernaut XL Lightning

🚀 Easiest — Run it on RunDiffusion (recommended)

One-click access inside ComfyUI, Forge, Automatic1111, Fooocus, InvokeAI, or SwarmUI. Free trial included, plus access to every other Juggernaut model on the same account.

Get Started Free

💻 Or run it locally — Diffusers

import torch
from diffusers import DiffusionPipeline, DPMSolverSinglestepScheduler

pipe = DiffusionPipeline.from_pretrained(
    "RunDiffusion/Juggernaut-XL-Lightning",
    torch_dtype=torch.float16,
    use_safetensors=True,
).to("cuda")

# DPM++ SDE Karras
pipe.scheduler = DPMSolverSinglestepScheduler.from_config(
    pipe.scheduler.config, use_karras_sigmas=True
)

prompt = "Cinematic mid shot photo of an astronaut walking through a neon-lit Tokyo alley at night, hyperdetailed photography, skin details, shallow depth of field"

image = pipe(prompt, width=1024, height=1024, num_inference_steps=6, guidance_scale=1.8).images[0]
image.save("juggernaut_xl_lightning.png")

For ComfyUI / Forge / InvokeAI / SwarmUI: download the single-file checkpoint and drop it into your models/checkpoints/ directory.

The Rest of the Family

Model Best for
Juggernaut XL v9 The flagship SDXL — full-step photorealism workhorse. 6M+ downloads.
Juggernaut XI v11 Latest SDXL-line refinement
Juggernaut XI Lightning Speed variant on the XI base
Juggernaut Z Lumina-Image-2 architecture — cinematic, presentation-ready
Juggernaut Pro Flux FLUX.1 backbone — top-tier photo quality

Commercial Use

This model may not be deployed behind paid API services without explicit licensing. For commercial licensing, custom models, business inquiries, or consultation, contact juggernaut@rundiffusion.com.

You are free to use this model for personal and creative work under the terms of the CreativeML Open RAIL-M license.

Credits

Juggernaut XL Lightning was created by KandooAI in collaboration with RunDiffusion, distilled on top of SDXL Lightning.


Ready to generate at speed?

Juggernaut Lightning is one click away — no setup, no GPU rental, no model downloads.

Try Juggernaut Lightning — Free

Compare the full Juggernaut lineup · Prompting guides · Commercial licensing

Downloads last month
10,072
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for RunDiffusion/Juggernaut-XL-Lightning

Finetuned
(1191)
this model
Adapters
1 model
Finetunes
1 model

Spaces using RunDiffusion/Juggernaut-XL-Lightning 28