Used to generate images with OpenAI DALL-E 2 system .
For example:
"Family walking through the Dolomites" | "Volvo V50 driving fast in heavy snowstorm" | "Freedom must be gained" |
---|---|---|
Graphical previews / UI can be accessed on OpenAI Labs page .
Kudos to Fireship for providing a supply of excellent ideas. I highly recommend visiting his GitHub profile .
- Run
npm i
inside the repository to install required packages - Register (for free) and get your API key from OpenAI page
- Put your API key as
apiKey
in thegenerate.js
file - Put your desired paint phrase as
prompt
in thegenerate.js
file - Run with
node generate.js
- your image will be saved to the/output
directory