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
|
number_of_images |
integer
|
1
Min: 1 Max: 10 |
Number of images to generate
|
width |
integer
|
1024
Min: 512 Max: 2048 |
Width of the image
|
height |
integer
|
1024
Min: 512 Max: 2048 |
Height of the image
|
steps |
integer
|
25
Min: 1 Max: 50 |
Number of inference steps
|
cfg |
number
|
5
Max: 20 |
Guidance scale
|
scheduler |
string
(enum)
|
EulerDiscreteScheduler
Options: EulerDiscreteScheduler, EulerAncestralDiscreteScheduler, DPMSolverMultistepScheduler, DPMSolverMultistepScheduler_SDE_karras, UniPCMultistepScheduler, DEISMultistepScheduler |
Scheduler
|
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'}