Skip to content

didierganthier/openai-image-generator

Repository files navigation

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.

Screenshot 2022-12-11 at 19 14 25

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.

About

In this project, I use OpenAI and the DALL-E model to create a web app that generates images from scratch based on the entered text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors