https://github.com/zevaverbach/ai_getter
Some helpers for requesting and retrieving AI-generated assets.
https://github.com/zevaverbach/ai_getter
Last synced: 8 months ago
JSON representation
Some helpers for requesting and retrieving AI-generated assets.
- Host: GitHub
- URL: https://github.com/zevaverbach/ai_getter
- Owner: zevaverbach
- Created: 2023-03-31T21:59:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T08:14:52.000Z (about 3 years ago)
- Last Synced: 2025-02-28T19:13:40.442Z (over 1 year ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A CLI for Requesting AI-Generated Things!
## Installation
`pip install ai_getter`
## Usage
```bash
aig help
aig image [--clip] --num-images [--save-path ] [--s3]
aig text [--clip] [--save-path ] [--s3]
--clip will get the prompt from your clipboard's contents, in addition to if you supply one
--s3 will upload the result to your AI_GETTER_S3_BUCKET
set env var AI_GETTER_ALWAYS_SAVE_TO_S3=1 to save to s3 by default
```
# Environment Variables
- `OPENAI_ORG`
- `OPENAI_TOKEN`
- `AI_GETTER_SAVE_PATH`
- `AI_GETTER_S3_BUCKET`
- `AI_GETTER_ALWAYS_SAVE_TO_S3` (0 or 1)
# Credentials
Make sure you have credentials in an `~/.aws` directory if you want to upload any outputs to S3.