Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/abhinandan-khurana/openai-image-generator
- Owner: Abhinandan-Khurana
- License: mit
- Created: 2022-12-07T14:20:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T12:38:10.000Z (10 months ago)
- Last Synced: 2024-01-24T13:43:28.127Z (10 months ago)
- Topics: azure, cloud, express, nodejs, openai, openai-api, webapp
- Language: CSS
- Homepage: http://project.abhinandankhurana.studio:3000/
- Size: 481 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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`.