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 |
---|---|---|---|
prompts |
string
|
sunset in the city
|
Text prompts
|
quality |
string
(enum)
|
normal
Options: draft, normal, better, best |
quality
|
display_every |
integer
(enum)
|
Options: 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 |
Display image iterations. For reference, the total number of iterations is determined by the quality chosen above: draft=200, normal=300, better and best=500
|
aspect |
string
(enum)
|
widescreen
Options: widescreen, square |
widescreen or square aspect
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'properties': {'file': {'format': 'uri',
'type': 'string',
'x-order': 0},
'text': {'type': 'string', 'x-order': 1}},
'type': 'object'},
'type': 'array',
'x-cog-array-type': 'iterator'}