openai-image-generator/README.md

496 B

OpenAI image generator

License
This is a small python script that generates 4 images from a prompt you type in. This is made possible by the OpenAI API.

Setup

Install the requirements

pip3 install -r requirements.txt

Now open the main.pyand enter your API_TOKEN. You can get one for free directly from OpenAI.
You can now use python3 main.py to execute the script.

Have fun!