Simple Node.js GPT-3 Example Add your OPENAI API key on line #4 of index.js. Then run an npm install in the root directory of this repo. Change the AI prompt on line #11 of index.js to whatever you want. Run a command of node index.js to see the AI generated result.