Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

DALL·E Instructions

Overview

This Python script allows you to interact with OpenAI's DALL·E API for generating and editing images using text-based prompts. Generate stunning visuals, modify existing images, or create batch variations effortlessly.

Features

  • Text-to-Image Generation: Turn text prompts into AI-generated images.
  • Image Editing: Add or modify elements in existing images.
  • Batch Generation: Generate multiple images from a single prompt.

Prerequisites

  1. Install Python 3.10+.
  2. Install dependencies:
    • pip install openai requests
  3. Add your OpenAI API key in the script.

Usage

  • Run the script: python dall_e_script.py
  • Examples:
    • Generate: "A futuristic city at sunset."
    • Edit: "Add a rainbow to the sky."
    • Batch: Generate 5 variations of an image.

Learn More

Visit OpenAI’s Documentation for details on DALL·E usage and API pricing.