ChatGPT 4 Image generator

A simple rest based application which allow user to generate the imaged based on prmpt and size of the image.

Run Locally

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.

Environment Variables

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