An interface for the Dall-E API Wrapper.
interface DallEAPIWrapperParamsThe OpenAI API key
The base URL of the OpenAI API.
The format in which the generated images are returned. Must be one of "url" or "b64_json".
Default config object for the tool runnable.
Optional provider-specific extra fields for the tool.
This is used to pass provider-specific configuration that doesn't fit into standard tool fields.
Metadata for the tool.
The model to use.
The number of images to generate.
Must be between 1 and 10.
For dall-e-3, only n: 1 is supported.
The OpenAI API key
Alias for apiKey
The organization to use
The quality of the image that will be generated. ‘hd’ creates images with finer details and greater consistency across the image.
The 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.
The 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.
A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
Whether to show full details in the thrown parsing errors.
The model to use.
Alias for model