Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 814 Bytes

File metadata and controls

30 lines (21 loc) · 814 Bytes

Image Variation App (OpenAI DALLE-2 API)

Image Variation app banner This Python program uses OpenAI's DALLE-2 API to create variations of images provided by the user.

Getting Started

First, create and export an API key.

Then, export it as an environment variable in your terminal.

MacOS / Linux:

export OPENAI_API_KEY="your_api_key_here"

Windows:

setx OPENAI_API_KEY "your_api_key_here"

Then, install the OpenAI SDK:

pip install openai

Uses

I used this program to make these digital collages: Image Variation app collages