← 返回 Skills 市场
jinchanzis

Ai Media Cli

作者 JinChanZis · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
118
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-media-generator-ai-media-cli
功能描述
Use when someone wants to install, configure, onboard, script, or troubleshoot the ricebowl.ai-first ai-media CLI.
使用说明 (SKILL.md)

ai-media CLI

用这个 skill 处理这些请求:

  • 安装 ai-media-generator
  • 配置 ai-media CLI
  • 对接 \x3Ca href="https://ricebowl.ai">ricebowl.ai\x3C/a>
  • 讲命令参数、常用法、脚本化调用
  • onboarding 新用户,包括充值、生成 key、写入配置

如果用户明显是在搜某类生成能力,优先切到更窄的 skill:

  • ai-image-generation
  • ai-video-generation
  • sora2-video-generator(legacy)

Quick Start

默认平台就是 ricebowl.ai,按这个顺序带用户走:

install
  -> recharge credits
  -> create API key
  -> set key
  -> config show
  -> models list --json
  -> run first image/video task

What To Explain By Default

默认要讲清楚这 4 件事:

  1. 安装包名是 ai-media-generator
  2. 实际命令名是 ai-media
  3. 核心配置只有 api_key
  4. 环境变量 AI_MEDIA_API_KEY 会覆盖本地配置
  5. --param KEY=VALUE 是模型专属参数的通用透传入口,JSON 值会自动按原类型解析

Core Commands

常用命令:

ai-media config set-key \x3CKEY>
ai-media config show
ai-media models list
ai-media models list --json
ai-media models show --model \x3CMODEL>
ai-media image generate --model \x3CMODEL> --prompt \x3CPROMPT>
ai-media image get --task-id \x3CTASK_ID>
ai-media video generate --model \x3CMODEL> --prompt \x3CPROMPT>
ai-media video get --task-id \x3CTASK_ID>
ai-media task get --kind \x3Cimage|video> --task-id \x3CTASK_ID>
ai-media image generate --model \x3CMODEL> --prompt \x3CPROMPT> --param KEY=VALUE
ai-media video generate --model \x3CMODEL> --prompt \x3CPROMPT> --param KEY=VALUE

When To Load References

  • 参数全表、默认值、输出行为、模型参数模板:读 references/cli-commands.md
  • 充值、生成 key、平台 onboarding:读 references/platform-onboarding.md

Response Pattern

如果用户是第一次接触这个 CLI,优先给:

  1. 最短安装命令
  2. 平台充值路径
  3. 生成 key 的位置
  4. 一组可直接复制的配置命令
  5. 一条图片命令或视频命令

如果用户要自动化或脚本集成,补充:

  • models list --json
  • models show --model \x3CMODEL>
  • image/video/task get
  • --wait
  • --poll-interval
  • --param KEY=VALUE
  • 环境变量覆盖方式

Friendly Onboarding Snippet

ai-media config set-key gm_xxx
ai-media config show
ai-media models list --json
安全使用建议
This skill appears to do what it says: help install and use the ai-media CLI against ricebowl.ai. Before installing, verify the npm package origin and contents (audit the ai-media-generator package on npm or GitHub), prefer creating a scoped API key on ricebowl.ai (a dedicated key you can revoke), and avoid pasting high-privilege keys into shared shells. Note the metadata lists AI_MEDIA_BASE_URL even though the docs say ricebowl.ai is the default — you can usually skip setting that unless you have a nonstandard deployment. If you need higher assurance, inspect the package source or install it in an isolated environment/container first.
功能分析
Type: OpenClaw Skill Name: ai-media-generator-ai-media-cli Version: 1.0.0 The skill bundle provides instructions and documentation for the `ai-media-generator` CLI tool, which interfaces with the ricebowl.ai platform for AI image and video generation. The files (SKILL.md, cli-commands.md, and platform-onboarding.md) describe standard installation procedures via npm/pip/cargo and legitimate configuration steps for managing API keys. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the behavior is entirely consistent with the stated purpose of a media generation utility.
能力评估
Purpose & Capability
Name/description match the declared requirements: the skill needs the ai-media CLI binary and an API key for ricebowl.ai (AI_MEDIA_API_KEY), which is appropriate for installing/configuring/onboarding that CLI. Minor mismatch: the registry metadata lists AI_MEDIA_BASE_URL as a required env var, but the SKILL.md repeatedly states ricebowl.ai is the default and AI_MEDIA_BASE_URL is only historical/legacy and not required for normal use.
Instruction Scope
SKILL.md instructions are limited to installing the CLI, setting the API key, listing models, running image/video tasks, and onboarding (recharge/copy key). The instructions do not ask the agent to read arbitrary system files, collect unrelated credentials, or contact unexpected external endpoints beyond ricebowl.ai; local config path referenced (<system config dir>/ai-media/config.json) is consistent with the CLI's purpose.
Install Mechanism
The declared install uses a named Node package (ai-media-generator) which is a normal, low-to-moderate risk install source. The reference docs also list alternative install methods (cargo, pipx, uv, etc.), but the skill's registry install spec only declares the node/npm package — this is not dangerous but is a documentation/consistency gap the user should be aware of.
Credentials
The primary credential requested is AI_MEDIA_API_KEY, which is appropriate. The additional AI_MEDIA_BASE_URL environment variable appears in required-env lists but is described in the docs as historical/optional; requiring it in metadata is disproportionate unless the implementation actually needs it. No other unrelated secrets are requested.
Persistence & Privilege
The skill does not request always-on inclusion, does not modify other skills, and does not ask for system-wide privileges. Autonomous invocation is allowed (the platform default) but there are no additional persistence or privilege escalations requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-media-generator-ai-media-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-media-generator-ai-media-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish from ai-media-generator
元数据
Slug ai-media-generator-ai-media-cli
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ai Media Cli 是什么?

Use when someone wants to install, configure, onboard, script, or troubleshoot the ricebowl.ai-first ai-media CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 118 次。

如何安装 Ai Media Cli?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-media-generator-ai-media-cli」即可一键安装,无需额外配置。

Ai Media Cli 是免费的吗?

是的,Ai Media Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ai Media Cli 支持哪些平台?

Ai Media Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ai Media Cli?

由 JinChanZis(@jinchanzis)开发并维护,当前版本 v1.0.0。

💬 留言讨论