Skip to content

eoinhalpin99/dallying-with-DALL-E

 
 

Repository files navigation

dallying-with-DALL-E License: MPL 2.0 GitHub Super-Linter

Repository for dallying with DALL-E.

This repository contains Python code, and associated unit tests, which uses the OpenAI API to perform image generation. The code takes the input from the user and generates a response using DALL-E an AI image generator. You just need to provide a description and DALL-E will generate the image.

To run program

Your OpenAI key is passed to program via an environment variable

export OPENAI_KEY="Your OpenAI key"
python main.py

To generate an OpenAI key browse to OpenAI API Keys and select "Create new secret key".

Credits

To generate images you need DALL-E credits.

To run unit tests

pytest

OpenAI API Reference

For more information on the API available see the OpenAI API Reference Documentation.

About

repository for dallying with DALL-E

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%