You're looking at a specific version of this model. Jump to the model overview.
bytedance /sdxl-lightning-4step:5599ed30
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
self-portrait of a woman, lightning in the background
|
Input prompt
|
negative_prompt |
string
|
worst quality, low quality
|
Negative Input prompt
|
width |
integer
|
1024
Min: 256 Max: 1280 |
Width of output image. Recommended 1024 or 1280
|
height |
integer
|
1024
Min: 256 Max: 1280 |
Height of output image. Recommended 1024 or 1280
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output.
|
scheduler |
string
(enum)
|
K_EULER
Options: DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM, DPM++2MSDE |
scheduler
|
num_inference_steps |
integer
|
4
Min: 1 Max: 10 |
Number of denoising steps. 4 for best results
|
guidance_scale |
number
|
0
Max: 50 |
Scale for classifier-free guidance
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
disable_safety_checker |
boolean
|
False
|
Disable safety checker for generated images
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}