2023-04-02 23:11:17 +02:00
2023-04-02 23:09:00 +02:00
2023-04-02 20:17:04 +02:00
2023-04-01 21:09:48 +02:00
2023-04-01 21:09:48 +02:00
2023-04-02 23:11:17 +02:00
2023-04-02 21:28:24 +02:00

A CLI for Requesting AI-Generated Things!

Installation

pip install ai_getter

Usage

   aig help
   aig image <prompt> [--clip] --num-images <num_images> [--save-path <path>] [--s3]
   aig text <prompt> [--clip] [--save-path <path>] [--s3]

   --clip will get the prompt from your clipboard's contents, in addition to <prompt> 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.

Description
Some helpers for requesting and retrieving AI-generated assets.
Readme 54 KiB
Languages
Python 100%