Termchat

Termchat is a command-line tool for generating text responses to prompts using OpenAI's GPT-3 language model. It allows users to generate a response to a prompt by entering the prompt as text input, and receiving a text output as a response.
Requirements

    Python 3.6 or higher
    OpenAI API key

Installation

    Clone the Git repository by running git clone https://git.toad.city/brad/termchat.git
    Navigate to the termchat directory by running cd termchat
    Install the required packages by running pip install -r requirements.txt
    Set your OpenAI API key as an environment variable by running export OPENAI_API_KEY=<your_api_key>
    Run the termchat.py script by running python termchat.py

Usage

    Enter a prompt as text input when prompted by the script.
    Press enter.
    The script will generate a text response based on the prompt.

Termpics

Termpics is a command-line tool for generating images using OpenAI's DALL-E and Image API. It allows users to generate a new image by entering a prompt as text input, or to generate variations of an existing image by specifying the file path.
Requirements

    Python 3.6 or higher
    OpenAI API key
    Requests package

Installation

    Clone the Git repository by running git clone https://git.toad.city/brad/termchat.git
    Navigate to the termchat directory by running cd termchat
    Install the required packages by running pip install -r requirements.txt
    Set your OpenAI API key as an environment variable by running export OPENAI_API_KEY=<your_api_key>
    Run the termpics.py script by running python termpics.py

Usage
Generating a new image

    Run the termpics.py script by running python termpics.py.
    Enter a prompt as text input when prompted by the script.
    Press enter.
    The script will generate an image based on the prompt.
    The generated image will be saved to the current working directory with a unique filename.
