You're looking at a specific version of this model. Jump to the model overview.
bytedance /res-adapter:71dd527b
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 |
---|---|---|---|
model_name |
string
(enum)
|
ByteDance/SDXL-Lightning
Options: Lykon/dreamshaper-xl-1-0, ByteDance/SDXL-Lightning, dreamlike-art/dreamlike-diffusion-1.0 |
Choose a stable diffusion model.
|
prompt |
string
|
A girl smiling
|
Input prompt
|
negative_prompt |
string
|
|
Specify things to not see in the output
|
width |
integer
|
512
|
Width of output image
|
height |
integer
|
512
|
Height of output image
|
num_inference_steps |
integer
|
4
|
Number of denoising steps
|
guidance_scale |
number
|
0
Max: 20 |
Scale for classifier-free guidance
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
show_baseline |
boolean
|
True
|
Show baseline without res-adapter for comparison.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'with_res_adapter': {'format': 'uri',
'title': 'With Res Adapter',
'type': 'string'},
'without_res_adapter': {'format': 'uri',
'title': 'Without Res Adapter',
'type': 'string'}},
'required': ['with_res_adapter'],
'title': 'ModelOutput',
'type': 'object'}