Skip to content

amuchand47/OpenAIImageGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Image Generator

A simple app to generate image from text using OpenAI API

Run Locally

Clone the project

  git clone https://github.com/amuchand47/OpenAIImageGenerator

Go to the project directory

  cd OpenAIImageGenerator

Install dependencies

  npm install

Create a .env file & Put your own API Key in .env file like this

  PORT = 5000
  OPENAI_API_KEY = paste your own API key here

Start the server

  node index.js

Open the local server in the browser

  http:https://localhost:5000/

Screenshots

App Screenshot