Stable Diffusion
SDXL Lightning
A variant of Stable Diffusion XL that generates 1024x1024 px images in 4 UNet steps, enabling near real-time image creation.
Deploy SDXL Lightning
Example usage
The model accepts a single input, prompt, and returns a base64 string of the image as the key result
.
This implementation uses the 4-step UNet checkpoint to balance speed and quality. You can deploy your own version with either 2 steps for even faster results or 8 steps for even higher quality.
JSON Output