A simple python script that uses AI to generates 4 images using the OpenAI API. Images will be saved on the file system.
|
||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
main.py | ||
requirements.txt |
README.md
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!