runapi-cli
Lets your agent create images, videos, and audio using artificial intelligence. It's useful for generating multimedia content automatically.
What it does
This tool lets you create images, videos, and music using artificial intelligence. You can use it to run AI tasks directly from your computer or a server.
When to use it
- ✓When you want to create an image from a description.
- ✓When you need to generate a short video with AI.
- ✓To produce audio or music based on a command.
Example of what to ask your AI
“Create an image of a cat astronaut on Mars.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
You install a program on your computer called 'runapi'. Then, you use simple commands in the terminal to specify what type of media (image, video, audio) you want to create and how it should look.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill runapi-cliOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/runapi-cli/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
RunAPI CLI
Overview
The runapi CLI is the execution layer for RunAPI model tasks. Use it when an agent needs to generate AI images, videos, or music/audio, run a one-off model job, pass a JSON request body, wait for an async task, or script RunAPI from a terminal, server, or CI job.
Source repository: github.com/runapi-ai/cli-skill (Apache-2.0)
When to Use This Skill
- Use when the user asks to run a RunAPI model from an agent.
- Use when the user needs to inspect RunAPI CLI auth or account status.
- Use when the user wants to pass JSON request bodies to RunAPI services.
- Use when the user wants to submit async RunAPI tasks and wait for completion.
- Use when the user wants to install the RunAPI CLI on a local machine, server, or CI runner.
Install
macOS / Linux
brew install runapi-ai/tap/runapi
Server / CI
Download the installer, inspect it, then run it locally.
curl -fsSL https://runapi.ai/cli/install.sh -o runapi-install.sh
less runapi-install.sh
sh runapi-install.sh
To pin a specific version:
sh runapi-install.sh --version v0.1.0
The installer detects OS and architecture, verifies the SHA-256 checksum from https://runapi.ai/cli/latest.json, and refuses to write the binary if verification fails.
Authentication
Treat RunAPI authentication and generation as security-sensitive: commands can call remote services, consume credits, and expose account state. Review installer scripts before running them and keep API keys in environment variables or stdin, not shell history.
Check the current state first:
runapi auth status
| Source | How |
|---|---|
| Environment | Read RUNAPI_API_KEY from the environment |
| Saved config | printf '%s' "$RUNAPI_API_KEY" | runapi auth import-token --token - |
| Browser login | runapi login only when the user explicitly wants browser auth |
RUNAPI_BASE_URL overrides the default base URL.
Avoid passing secrets directly in command arguments. Prefer RUNAPI_API_KEY or stdin token import with --token -.
Discover Services, Commands, and Fields
The CLI is JSON-first. Every service exposes typed commands, and each command documents its request fields through --help. Inspect command help before composing a request.
runapi --help
runapi suno --help
runapi suno text-to-music --help
Run a Model
Pass the request body as JSON through --input-file, --input, or stdin. The default flow is synchronous and polls until the task completes.
runapi suno text-to-music --input-file request.json
runapi suno text-to-music --async --input-file request.json
runapi wait <task-id> --service suno --action text-to-music
runapi get <task-id> --service suno --action text-to-music
JSON responses go to stdout; progress lines go to stderr. Pipe to jq for downstream parsing.
Account
runapi account info
runapi account balance
Install the Skill Into Another Agent Runtime
runapi agent install-skill --target claude
runapi agent install-skill --target codex
runapi agent install-skill --target gemini
runapi agent install-skill --target openclaw
runapi agent list-targets
runapi agent install-skill --target-dir <path>
Limitations
- RunAPI model calls require a valid RunAPI account or API key.
- Some model tasks are long-running and should use
--asyncplusrunapi wait. - Browser login is interactive and should not be the default path for agents.
- This skill does not replace model-specific parameter validation; inspect command help before building request JSON.
Security & Safety Notes
- Never paste API keys into example commands or PR text.
- Prefer
RUNAPI_API_KEYor stdin token import instead of command-line secrets. - Do not run interactive
runapi loginby default from an agent. - Check the CLI exit code before assuming a task succeeded.
References
- RunAPI CLI skill: https://github.com/runapi-ai/cli-skill
- RunAPI CLI repository: https://github.com/runapi-ai/cli
- RunAPI model catalog: https://runapi.ai/models.md
FAQ
How do I install this tool?
You can install it using a terminal command, like 'brew install runapi-ai/tap/runapi' on macOS, or by downloading an installation script for other systems.
Do I need an account to use it?
Yes, you need a RunAPI account or an API key to use the media generation services.
Is it safe to use my API keys?
It's recommended not to put your API keys directly into commands. Use environment variables or pass them securely to avoid exposure.
Details
Original description by the author
Generate AI images, videos, and music/audio from agents using the RunAPI CLI.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4036
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
blender-motion-state-inspection
Allows inspection of details in 3D animations. It's useful for checking poses, movements, and character alignment in animations.
affaan-m/ECC
manim-video
Lets your agent create animated explainer videos. It uses Manim to generate clear graphs and diagrams for technical concepts.
affaan-m/ECC
remotion-video-creation
Guides your agent in creating videos using React with the Remotion library. It covers best practices for animations, audio, captions, and other visual elements.
affaan-m/ECC