A simple app to generate image from text using OpenAI API
Clone the project
git clone https://github.com/amuchand47/OpenAIImageGeneratorGo to the project directory
cd OpenAIImageGeneratorInstall dependencies
npm installCreate a .env file & Put your own API Key in .env file like this
PORT = 5000
OPENAI_API_KEY = paste your own API key hereStart the server
node index.jsOpen the local server in the browser
http://localhost:5000/