mrgoonie

Leonardo.Ai CLI — generate images, videos, upscales. AI-agent and human friendly.

26
1
100% credibility
Found Apr 26, 2026 at 26 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A command-line interface for Leonardo.ai that lets users generate AI images and videos from text prompts, upscale them, check statuses, and manage account details.

How It Works

1
🔍 Find the tool

You hear about a simple command-line helper that makes creating AI images and videos from text descriptions super easy.

2
📥 Get it ready

Download the tool and set it up on your computer in just a few moments.

3
🔗 Connect your account

Visit Leonardo.ai to sign up, grab your private access code, and link it so the tool can create on your behalf.

4
🎨 Dream up an image

Type a creative description like 'a cyberpunk cat in neon lights' and ask the tool to bring it to life.

5
Wait and receive

The tool checks progress, finishes the job, and saves the stunning images or videos right to your folder.

6
Do more
📹
Make a video

Describe a scene and get a short animated clip.

🔍
List options

See available styles and models to inspire new ideas.

📊
Check balance

View your usage and remaining creations.

Celebrate your art

You now have beautiful AI-generated pictures and videos ready to share, print, or use in your projects.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 26 to 26 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is leonardo-cli?

Leonardo-cli is a TypeScript CLI for the Leonardo AI API on GitHub, letting you generate images, videos, and upscales directly from the terminal. It handles text-to-image jobs with polling for completion, automatic downloads, and options like model selection, seeds, negative prompts, and Alchemy mode. Built for Bun runtime, it solves the hassle of scripting Leonardo AI API calls without browser dependencies or leonardo ai application error headaches.

Why is it gaining traction?

Its dual-mode design shines: human-friendly with colors, progress bars, and helpful errors, plus AI-agent mode via --json for clean stdout parsing, deterministic exit codes, and stderr logs. Flexible API key resolution across env vars, .env files, and config JSON beats manual auth scripting, while commands like generate, video, upscale, models, and status streamline workflows. No bloat—just practical output to files or dirs, with video support for Motion and Veo models.

Who should use this?

CLI enthusiasts automating AI image pipelines in CI/CD or bash scripts. DevOps folks integrating Leonardo AI into apps without full SDKs. AI-agent builders piping JSON output to jq for leonardo ai clipart generation or batch upscales in Node workflows.

Verdict

Grab it if you're tinkering with Leonardo AI API on GitHub—docs are crisp, install is dead simple with Bun, and it just works for core tasks. At 26 stars and 1.0% credibility, it's early-stage with no tests visible, so test in non-prod; solid for prototypes over production heavies.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.