Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
This script relies on curl for the requests to the api and jq to parse the json response.
To install, run this in your terminal and provide your OpenAI API key when asked.
If you want to install i…