12 lines
496 B
Markdown
12 lines
496 B
Markdown
|
# OpenAI image generator
|
||
|
![License](https://img.shields.io/badge/license-MIT-blue)
|
||
|
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
|
||
|
```bash
|
||
|
pip3 install -r requirements.txt
|
||
|
```
|
||
|
Now open the `main.py`and enter your `API_TOKEN`. You can get one for free directly from [OpenAI](https://beta.openai.com/account/api-keys).
|
||
|
You can now use `python3 main.py` to execute the script.
|
||
|
|
||
|
Have fun!
|