An image generation app that uses OpenAI's DALL-E API.
Rename the example.env
file to .env
.
Please generate an API key by visiting OpenAI and creating an account.
Once you have this, add it to the .env
file.
Install dependencies
npm install
Run server
npm start
Visit http://localhost:5000
in your browser.
The endpoint is at POST http://localhost:5000/openai/generateimage
.