This is a collection of snippets for the OpenAI API.
yarn
node image.js # generates an image. You can change the image by changing the image url in the file.
node completion.js # generates a completion. You can change the prompt by changing the prompt in the file.