sayemalmahdi / ai_image_gen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAI Image Generator

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

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:5200 in your browser.

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

About


Languages

Language:CSS 52.7%Language:JavaScript 30.4%Language:HTML 16.7%Language:Shell 0.3%