Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 814 Bytes

readme.md

File metadata and controls

33 lines (19 loc) · 814 Bytes

OpenAI Image Generator

This is a simple image generator built with Node.js and Express that uses OpenAI's Dall-E models to generate images.

Usage

Rename the example.env file to .env.

Generate an API KEY at OpenAI and add it to the .env file.

Install the dependencies

npm install

Run server

npm start

Visit http://localhost:5000 in your browser.

The endpoint is at POST http://localhost:5000/openai/generateimage.

Notes and Author Credit

This is a tutorial project created by following Brad Traversy's tutorial video found on YouTube at the following link (original author of tutorial project): https://www.youtube.com/watch?v=fU4o_BKaUZE