Skip to content

RonnenPodolsky/Openai_Dalle2_imagaGenerator_Express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openai

using DALLE 2 from openAi to fetch images. Node-Express server with basic static frontend.

How to

  • make sure you have node installed
  • npm i
  • run "npm run dev"
  • then go to "localhost:5003"
  • CREATE .env file and add PORT=5003, you can choose another port
  • generate openai api key and put it in as OPENAI_API_KEY='XXXXXXX' in the .env file

documentation open ai api key: https://beta.openai.com/docs/introduction https://beta.openai.com/account/api-keys