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
|
A text description of the desired image
|
|
quality |
string
(enum)
|
standard
Options: hd, standard |
The quality of the generated image
|
format |
string
(enum)
|
square
Options: square, portrait, landscape |
The format of the generated image (only used for dalle-3)
|
style |
string
(enum)
|
vivid
Options: vivid, natural |
The style of the generated images
|
response_format |
string
(enum)
|
url
Options: url, b64_json |
The format in which the generated images are returned
|
user_id |
string
|
An optional unique identifier representing your end-user. This helps OpenAI monitor and detect abuse.
|
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'}