Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abhinandan-khurana/openai-image-generator

Web application that uses Node.js and OpenAI API to generate images.
https://github.com/abhinandan-khurana/openai-image-generator

azure cloud express nodejs openai openai-api webapp

Last synced: 3 days ago
JSON representation

Web application that uses Node.js and OpenAI API to generate images.

Awesome Lists containing this project

README

        

# OpenAI Image Generator

This is a simple image generator built with Node.js and Express that uses [OpenAI's Dall-E models](https://beta.openai.com/docs/guides/images) to generate images.

## Usage

Generate an API KEY at [OpenAI](https://beta.openai.com/) and add it to the `.env` file.

Install the dependencies

```bash
npm install
```

Run server

```bash
npm start
```

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

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