Overview
Generate images from text prompts using DALL-E and other image generation models.Python Usage
Basic Image Generation
DALL-E 2 (Faster, Lower Cost)
Save Image to File
Async Usage
Parameters
Result Object
TheImageResult object contains:
url: Image URLb64_json: Base64 encoded image (if requested)revised_prompt: DALL-E 3’s revised promptmodel: Model usedsave(path): Method to save image to file

