Skip to content
Reduced motion is on. Play a preview to watch it.
Explore models

Image

SDXL Lightning

SDXL Lightning generates images with a compact sampling schedule.

  • Text to image
  • Image editing
Create with SDXL Lightning
Preview for SDXL Lightning

Catalog preview for SDXL Lightning. Review your own result before publishing.

A starting point.

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

Before you publish.

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

Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.

How credits work · Use the API · Content guidelines

Settings and model questionsCheck the available settings and guidance when preparing your input.

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.

Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.

Supported inputs

These fields come from the current studio form for fast-lightning-sdxl. Other modes may require different inputs.

Input types, requirements and limits for fast-lightning-sdxl
InputTypeRequirementOptions and limits
promptTextRequired—
embeddingsListOptional—
enable_safety_checkerOn/offOptional—
expand_promptOn/offOptional—
formatTextOptionaljpeg, png
num_imagesWhole numberOptional≥ 1 · ≤ 8
num_inference_stepsWhole numberOptional—
request_idTextOptional—
safety_checker_versionTextOptional—
seedWhole numberOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Other modes and their inputs

Open the operation you need and check its inputs. Settings from one mode do not automatically apply to another.

image-to-image (image-to-image)fast-lightning-sdxl/image-to-image

Supported inputs

These fields come from the current studio form for fast-lightning-sdxl/image-to-image. Other modes may require different inputs.

Input types, requirements and limits for fast-lightning-sdxl/image-to-image
InputTypeRequirementOptions and limits
image_urlTextRequired—
promptTextRequired—
crop_outputOn/offOptional—
embeddingsListOptional—
enable_safety_checkerOn/offOptional—
expand_promptOn/offOptional—
formatTextOptionaljpeg, png
num_imagesWhole numberOptional≥ 1 · ≤ 8
num_inference_stepsWhole numberOptional—
preserve_aspect_ratioOn/offOptional—
request_idTextOptional—
safety_checker_versionTextOptional—
seedWhole numberOptional—
strengthNumberOptional≥ 0.05 · ≤ 1

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

image-to-image (inpainting)fast-lightning-sdxl/inpainting

Supported inputs

These fields come from the current studio form for fast-lightning-sdxl/inpainting. Other modes may require different inputs.

Input types, requirements and limits for fast-lightning-sdxl/inpainting
InputTypeRequirementOptions and limits
image_urlTextRequired—
mask_urlTextRequired—
promptTextRequired—
embeddingsListOptional—
enable_safety_checkerOn/offOptional—
expand_promptOn/offOptional—
formatTextOptionaljpeg, png
num_imagesWhole numberOptional≥ 1 · ≤ 8
num_inference_stepsWhole numberOptional—
request_idTextOptional—
safety_checker_versionTextOptional—
seedWhole numberOptional—
strengthNumberOptional≥ 0.01 · ≤ 1

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

Use SDXL Lightning through the API.

Start with this model ID for the endpoint featured on this page:

fast-lightning-sdxl

Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.

Available modes

Check the current model schema for supported inputs and options. Other tasks may use different model IDs.

From quote to result.

Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.

Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.