A simple rest based application which allow user to generate the imaged based on prmpt and size of the image.
Clone the project
git clone https://github.com/joblesspoet/gpt4-image-generator
Go to the project directory
cd gpt4-image-generator
copy the .env.exmaple file and rename it to .env file.
Install dependencies
npm install
After dependencies install use the following command for migration.
npm run dev
After the command the dev enviornment will be started.
To run this project, you will need to add the following environment variables to your .env file
You have to use the following api keys in .env file.
PORT
OPENAI_API_KEY