You're looking at a specific version of this model. Jump to the model overview.
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
|
|
None
|
negative_prompt |
string
|
|
Things you do not want to see in your image
|
width |
integer
|
1024
Min: 512 Max: 2048 |
The width of the image
|
height |
integer
|
1024
Min: 512 Max: 2048 |
The height of the image
|
number_of_images |
integer
|
1
Min: 1 Max: 10 |
The number of images to generate
|
steps |
integer
|
25
Min: 1 Max: 100 |
The number of steps to run the model for (more steps = better image but slower generation. Best results for this model are around 25 steps.)
|
cfg |
number
|
3.5
Max: 20 |
The guidance scale tells the model how similar the output should be to the prompt.
|
sampler |
string
(enum)
|
uni_pc
Options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, dpm_2, dpm_2_ancestral, lms, dpm_fast, dpm_adaptive, dpmpp_2s_ancestral, dpmpp_sde, dpmpp_sde_gpu, dpmpp_2m, dpmpp_2m_sde, dpmpp_2m_sde_gpu, dpmpp_3m_sde, dpmpp_3m_sde_gpu, ddpm, lcm, ddim, uni_pc, uni_pc_bh2, ipndm, ipndm_v, deis |
An enumeration.
|
scheduler |
string
(enum)
|
normal
Options: normal, karras, exponential, sgm_uniform, simple, ddim_uniform |
An enumeration.
|
shift |
number
|
1.73
Max: 10 |
The timestep scheduling shift; shift values higher than 1.0 are better at managing noise in higher resolutions.
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
seed |
integer
|
Set a seed for reproducibility. Random by default.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}