Optional
apiThe OpenAI API key
Optional
baseThe base URL of the OpenAI API.
Optional
callbacksOptional
dallEResponseThe format in which the generated images are returned. Must be one of "url" or "b64_json".
Optional
metadataOptional
modelThe model to use.
Optional
modelThe model to use.
Alias for model
Optional
nThe number of images to generate.
Must be between 1 and 10.
For dall-e-3, only n: 1
is supported.
Optional
openAIApiThe OpenAI API key
Alias for apiKey
Optional
organizationThe organization to use
Optional
qualityThe quality of the image that will be generated. ‘hd’ creates images with finer details and greater consistency across the image.
Optional
responseOptional
sizeThe size of the generated images. Must be one of 256x256, 512x512, or 1024x1024 for DALL·E-2 models. Must be one of 1024x1024, 1792x1024, or 1024x1792 for DALL·E-3 models.
Optional
styleThe style of the generated images. Must be one of vivid or natural. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images.
Optional
tagsOptional
userA unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
Optional
verboseOptional
verboseWhether to show full details in the thrown parsing errors.
An interface for the Dall-E API Wrapper.