API Client to Generate AI ASCII Art 🦾🧠

Overview

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

You might also like...
An ascii webcam in your console, written as a way of learning rust.

asciicam An ascii webcam in your console, written as a way of learning rust. asciicam picture of me holding a basketball usage only linux is supported

A Rust library for drawing grid-based user interfaces using ASCII characters.

grux A library for drawing grid-based user interfaces using ASCII characters. // Provides a uniform interface for drawing to a 2D grid. use grux::Grid

Perspective projection of a spinning cube, using just ASCII characters.

Spinning Cube Perspective projection of a spinning cube, using just ASCII characters. spinning_cube.mp4 Instalation cargo install spinning_cube Basic

Generate PHP code from Rust using a fluent API 🐘 πŸ¦€
Generate PHP code from Rust using a fluent API 🐘 πŸ¦€

PHP-Codegen Generate PHP code from Rust using a fluent API 🐘 πŸ¦€ Rust PHP Usage To bring this crate into your repository, either add php_codegen to yo

Provides a mock Ambi client that emulates real sensor hardware such as an Edge client

ambi_mock_client Provides a mock Ambi client that emulates real sensor hardware such as an Edge client. Usage You must have Rust installed to build am

A Rust client for OpenAI's API

libopenai - Rust client to interact with OpenAI's API Rust client for OpenAI's API, written with tokio and reqwest How to use To add libopenai to your

API bindings, CLI client and FUSE filesystem for Wiki.js written in Rust.

wikijs-rs API bindings, CLI client and FUSE filesystem for Wiki.js written in Rust. What's inside? Library: Rust bindings to Wiki.js's entire GraphQL

A simple API client (postman like) in your terminal
A simple API client (postman like) in your terminal

ATAC βš”πŸ“© Table Of Contents Description How to use Binary Compile by yourself Features Current TODO v1.0.0 TODO v2.0.0 Documentation Technical precisio

List public items (public API) of library crates. Enables diffing public API between releases.

cargo-public-items List public items (the public API) of a Rust library crate by analyzing the rustdoc JSON of the crate. Automatically builds the rus

Releases(v0.2.0)
Owner
camel_case
I like camels.
camel_case
A more compact and intuitive ASCII table in your terminal: an alternative to "man 7 ascii" and "ascii"

asciit A more compact and intuitive ASCII table in your terminal: an alternative to man 7 ascii and ascii. Colored numbers and letters are much more e

Qichen Liu 刘启辰 5 Nov 16, 2023
Build terminal dashboards using ascii/ansi art and javascript

blessed-contrib Build dashboards (or any other application) using ascii/ansi art and javascript. Friendly to terminals, ssh and developers.

Yaron Naveh 15k Jan 2, 2023
Advanced image to ascii art fully created with rust πŸ¦€ πŸš€

RASCII image to ascii art fully created with rust ?? ?? multiple language character lists -> βœ”οΈ creatable custom char list -> βœ”οΈ pixel art creaton ->

KoBruh 16 Dec 16, 2022
A simple CLI tool to convert the images to ASCII art with rust πŸ¦€πŸ’™

aarty: A simple CLI tool to convert images to ASCII art with Rust ?? More screenshots Original image Original image Original image Original image Orig

Anas Elgarhy 26 Feb 13, 2023
A CLI tool that converts images to ASCII art.

Rust ASCII Art Converter This Rust tool converts images into ASCII art. It takes an image file as input, resizes it according to specified width and h

TheD24 133 Dec 3, 2023
Alexander Mongus is a state-of-the-art filter to sneak amogus characters in pictures

A. Mongus Go to: http://www.lortex.org/amogu/ ??? This is a client-side, Webassembly-based filter to hide amongus characters in your images. Example:

Lucas Pluvinage 3 Apr 16, 2022
rusty-donut - ASCII raymarching inside a terminal

ASCII raymarching inside a terminal

drip 14 Feb 9, 2022
ADPlay (ASCII-Drip Play): Pics on your terminal

ADPlay ADPlay (ASCII-Drip play): Graphic content on your terminal (works better on pixel arts) Build Build bin and install dependencies: cargo build -

Sofiane H. Djerbi 26 Oct 7, 2022
Tiny Rust library to draw pretty line graphs using ascii characters.

rasciigraph Tiny Rust library to draw pretty line graphs using ascii characters. Usage Add this to your Cargo.toml [dependencies] rasciigraph = "0.1.1

Orhan Balci 54 Jan 6, 2023
Failed experiment in downloading random cat image, turning it into ascii and displaying it in Neovim.

cat.nvim Failed experiment in downloading random cat image, turning it into ascii and displaying it in Neovim. Failed as I realized far too late, that

James Vero 4 Aug 5, 2022