charisma

Crates.iocharisma
lib.rscharisma
version0.2.6
sourcesrc
created_at2023-07-14 20:04:31.943921
updated_at2023-07-23 13:15:55.811474
descriptionGenerate ASCII Art using AI 🦾🧠
homepage
repositoryhttps://github.com/UTFeight/Charisma/
max_upload_size
id916598
size66,772
camel_case (UTFeight)

documentation

README

Charisma

Retro Vintage Robot

Charisma serves a purpose of being a bridge between Dall-e mini. It's used to generate ASCII Art directly from your terminal. It uses Craiyon API to convert your words into reality. It's written in beloved rust with powerful tools come with it.

It's available as a rust crate on crates.io. For further implementation details please read the docs



Features

  • Free: No payment required for any feature
  • Fast: Algorithms parallelize in such a way that you can generate an image less than a second! (If you use -N 60 or more)
  • Simple: Homely CLI app with no bloat

Showcase

More





Getting started

Prerequisites

  • Cargo: This project is built and published using cargo package manager

Installation

cargo install charisma

Usage

charisma "rusty crab robot" -c -C block # Estimated time ~1min

Generate ASCII Art using AI 🦾🧠

Usage: charisma [OPTIONS] 

Arguments:
    Prompt to enter

Options:
  -n, --negative-prompt  Use AI to generate ascii art, but with a negative prompt [default: ]
  -N, --num-image                 Number of images to generate when using AI [1..9] [default: 9]
  -m, --model-type            Model to use in generation [default: general] [possible values: art, drawing, photo, general]
  -v                         Model API version [default: 3] [possible values: 1, 3]
  -a, --api-token                  API token for premium users (Faster generation, No watermark)
  -w, --width                      Width of the output image. Defaults to 128 if width and height are not specified
  -H, --height                    Height of the output image, if not specified, it will be calculated to keep the aspect ratio
  -c, --color                             Whether to use colors in the output image
  -i, --invert                            Inverts the weights of the characters. Useful for white backgrounds
  -C, --charset                  Characters used to render the image, from transparent to opaque. Built-in charsets: block, emoji, default, russian, slight [default: default]
  -h, --help                              Print help
  -V, --version                           Print version

Acknowledgments

Commit count: 46

cargo fmt