A simple python script that uses AI to generates 4 images using the OpenAI API. Images will be saved on the file system.
Go to file
Brayd 75bffd445c
Save images in folder
2023-01-15 15:06:20 +01:00
.gitignore Save images in folder 2023-01-15 15:06:20 +01:00
LICENSE Add License 2023-01-15 14:44:48 +01:00
README.md Add project description 2023-01-15 14:45:06 +01:00
main.py Save images in folder 2023-01-15 15:06:20 +01:00
requirements.txt Add requirements for easy setup 2023-01-15 14:45:21 +01:00

README.md

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!