Chuyển đến nội dung
Skillpedia
Chuyển động và hoạt ảnh48k · #5650

runapi-cli

Skill này làm gì

Tool này cho phép bạn tạo hình ảnh, video và nhạc bằng trí tuệ nhân tạo. Bạn có thể dùng nó để chạy các tác vụ AI trực tiếp từ máy tính hoặc máy chủ của mình.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một hình ảnh từ mô tả.
  • ✓Khi bạn cần tạo một video ngắn bằng AI.
  • ✓Khi bạn muốn tạo âm thanh hoặc nhạc dựa trên một lệnh.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/runapi-cli/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/runapi-cli/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo hình ảnh một phi hành gia mèo trên sao Hỏa.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn cài một chương trình tên 'runapi' trên máy tính. Sau đó, bạn dùng các lệnh đơn giản trong terminal để chỉ định loại nội dung (hình ảnh, video, âm thanh) và cách nó nên trông như thế nào.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 --async plus runapi 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_KEY or stdin token import instead of command-line secrets.
  • Do not run interactive runapi login by default from an agent.
  • Check the CLI exit code before assuming a task succeeded.

References

Câu hỏi thường gặp

Tôi cài đặt tool này như thế nào?

Bạn có thể cài bằng lệnh terminal, chẳng hạn 'brew install runapi-ai/tap/runapi' trên macOS, hoặc tải script cài đặt cho các hệ điều hành khác.

Tôi có cần tài khoản để dùng không?

Có, bạn cần tài khoản RunAPI hoặc khóa API để dùng các dịch vụ tạo nội dung.

Dùng khóa API có an toàn không?

Nên tránh đặt khóa API trực tiếp vào lệnh. Hãy dùng biến môi trường hoặc truyền khóa một cách an toàn để tránh bị lộ.

Chi tiết

Mô tả gốc của tác giả

Generate AI images, videos, and music/audio from agents using the RunAPI CLI.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5650
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự