bundled-skills/runapi-cli/SKILL.md
Generate AI images, videos, and music/audio from agents using the RunAPI CLI.
npx skillsauth add FrancoStino/opencode-skills-antigravity runapi-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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)
brew install runapi-ai/tap/runapi
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.
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 -.
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
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.
runapi account info
runapi account balance
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>
--async plus runapi wait.RUNAPI_API_KEY or stdin token import instead of command-line secrets.runapi login by default from an agent.tools
Authorized security assessment of LLM applications and AI agents: prompt injection, tool abuse, RAG exposure, memory poisoning, system-prompt extraction, and agent-compliance engineering per OWASP LLM/ASI Top 10.
development
Builds two parameterized UI modes—流光溢彩白 (iridescent white) and 五彩斑斓黑 (colorful black)—with OKLCH, WebGL/CSS fallback, vision gating, screenshot QA, and total/per-color intensity reports. Use when a UI request names either mode or needs measured color parameters.
tools
Delegate coding tasks to the Kimi Code CLI (`kimi`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
development
Front-end JavaScript reverse engineering: locate signature chains, analyze encrypted request parameters, sample runtime behavior, and reproduce logic locally in Node for evidence-based output.