Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 473 Bytes

File metadata and controls

16 lines (12 loc) · 473 Bytes

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