Skip to main content
DalleTools is retained as a legacy reference for generating images with OpenAI’s deprecated DALL-E API.
DALL-E models are deprecated. This DalleTools example is retained as a legacy reference and no longer runs against the current OpenAI API. Use OpenAITools with GPT Image 2 in Image Generation Agent.

Legacy Requirements

This legacy example expected the openai package and an OPENAI_API_KEY. Its DalleTools calls no longer run against the current OpenAI API.

Example

The pinned agent used DALL-E to generate an image from a text prompt.
cookbook/91_tools/dalle_tools.py

Toolkit Params

Toolkit Functions

Developer Resources