← Back to all generators
bytedance/sdxl-lightning-4step
OfficialView on Replicate →
SDXL-Lightning by ByteDance: a fast text-to-image model that makes high-quality images in 4 steps
Capabilities
1:14:33:416:99:162:33:2Negative PromptSeed
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
disable_safety_checker | boolean | Disable safety checker for generated images | false | — |
guidance_scale | number | Scale for classifier-free guidance | 0 | min: 0, max: 50 |
height | integer | Height of output image. Recommended 1024 or 1280 | 1024 | min: 256, max: 1280 |
negative_prompt | string | Negative Input prompt | "worst quality, low quality" | — |
num_inference_steps | integer | Number of denoising steps. 4 for best results | 4 | min: 1, max: 10 |
num_outputs | integer | Number of images to output. | 1 | min: 1, max: 4 |
prompt | string | Input prompt | "self-portrait of a woman, lightning in the background" | — |
scheduler | string | scheduler | "K_EULER" | DDIMDPMSolverMultistepHeunDiscreteKarrasDPMK_EULER_ANCESTRALK_EULERPNDMDPM++2MSDE |
seed | integer | Random seed. Leave blank to randomize the seed | 0 | — |
width | integer | Width of output image. Recommended 1024 or 1280 | 1024 | min: 256, max: 1280 |
disable_safety_checkerbooleanDisable safety checker for generated images
Default:
falseguidance_scalenumberScale for classifier-free guidance
Default:
0min: 0, max: 50heightintegerHeight of output image. Recommended 1024 or 1280
Default:
1024min: 256, max: 1280negative_promptstringNegative Input prompt
Default:
"worst quality, low quality"num_inference_stepsintegerNumber of denoising steps. 4 for best results
Default:
4min: 1, max: 10num_outputsintegerNumber of images to output.
Default:
1min: 1, max: 4promptstringInput prompt
Default:
"self-portrait of a woman, lightning in the background"schedulerstringscheduler
Default:
"K_EULER"DDIMDPMSolverMultistepHeunDiscreteKarrasDPMK_EULER_ANCESTRALK_EULERPNDMDPM++2MSDE
seedintegerRandom seed. Leave blank to randomize the seed
Default:
0widthintegerWidth of output image. Recommended 1024 or 1280
Default:
1024min: 256, max: 1280Version:
6f7a773af6fcUpdated: 7/25/20261033.2M runs
cinemasetfree.com