SDXL Lightning

Run SDXL at the speed of light

Input

Fields marked * are required. Review the price before generating.

The prompt to use for generating the image. Be as descriptive as possible for best results.

The size of the generated image.

The number of images to generate.

Additional settings

The number of inference steps to perform.

The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time.

The list of embeddings to use.

If set to true, the prompt will be expanded with additional prompts.

The format of the generated image.

Price$0.60 / run

You sign up first. Your settings are kept.

API code for this input

Complete the required fields and fix input errors to see API code.

How to use SDXL Lightning

Getting started

Test subject placement and visual direction with a clearly described scene.

Review your result

Inspect fine edges and recurring detail errors before choosing a version.

Inputs and settings

The provider documents 1, 2, 4 or 8 inference steps, with four as the default. Keep a seed when comparing step choices.

Choose JPEG or PNG in format. Image-to-image adds image_url and strength; inpainting additionally needs mask_url.