496 B
496 B
OpenAI image generator
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.py
and 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!