# Generative Media Skills — muapi + npx skills add > Generative Media Skills is a multi-modal skill library: run image/video recipes via muapi-cli, installable into Claude Code/Cursor with `npx skills add`. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npm install -g muapi-cli muapi auth configure npx skills add SamurAIGPT/Generative-Media-Skills --all muapi image generate "a cyberpunk city at night" --model flux-dev ``` ## Intro Generative Media Skills is a multi-modal skill library: run image/video recipes via muapi-cli, installable into Claude Code/Cursor with `npx skills add`. **Best for:** Creators who want a CLI-driven, repeatable media generation workflow for agents **Works with:** muapi-cli, bash scripts, npx skills add, common agent runners **Setup time:** 8-20 minutes ### Key facts (verified) - GitHub: 3223 stars · 357 forks · pushed 2026-05-13. - License: MIT · owner avatar + repo URL verified via GitHub API. - README-verified entrypoint: `pip install muapi-cli`. ## Main - Use it as a recipe library: each skill declares inputs + steps, so your agent can fill parameters and execute deterministic CLI calls instead of improvising prompts. - Start with a single image recipe to validate your API key and output format, then graduate to longer chains (storyboard/video director scripts). - Prefer agent-friendly output modes (`--output-json`, extracting URLs) when you want to feed results into the next tool call automatically. ### Source-backed notes - README quick start installs `muapi-cli` via npm or pip and configures an API key with `muapi auth configure`. - README installs skills via `npx skills add ... --all` (or a specific `--skill ...`) and supports targeting multiple agents. - README shows example commands like `muapi image generate ... --model ...` and an agent-friendly JSON output pattern. ### FAQ - **Do I need Python for muapi?**: No — README recommends npm install; pip is optional. - **How do I install the skills into Claude Code?**: Use `npx skills add SamurAIGPT/Generative-Media-Skills --all` as in README. - **How do I make outputs machine-readable?**: Use README’s `--output-json` and `--jq` extraction examples for URLs/results. ## Source & Thanks > Source: https://github.com/SamurAIGPT/Generative-Media-Skills > License: MIT > GitHub stars: 3223 · forks: 357 --- ## Quick Use ```bash npm install -g muapi-cli muapi auth configure npx skills add SamurAIGPT/Generative-Media-Skills --all muapi image generate "a cyberpunk city at night" --model flux-dev ``` ## Intro Generative Media Skills 是多模态技能库:通过 muapi-cli 执行图像/视频“配方”,并提供 `npx skills add` 安装到 Claude Code、Cursor 等 agent 的方式。 **Best for:** 想把多模态生成流程变成可复用脚本/技能的内容创作者 **Works with:** muapi-cli、bash 脚本、npx skills add,以及常见 agent 运行器 **Setup time:** 8-20 minutes ### Key facts (verified) - GitHub:3223 stars · 357 forks;最近更新 2026-05-13。 - 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中核对过的入口命令:`pip install muapi-cli`。 ## Main - 把它当作“配方库”:每个技能声明 inputs 与步骤,agent 只需填参并按步骤调用 CLI,而不是临场瞎编 prompt。 - 先用单个图片配方验证 API key 与输出格式,再逐步升级到 storyboard/视频导演等更长链路。 - 需要把结果喂给下一个工具调用时,优先用 `--output-json` 这类 agent 友好的输出模式(例如抽取 URL)。 ### Source-backed notes - README Quick Start:可用 npm 或 pip 安装 `muapi-cli`,并用 `muapi auth configure` 配置 API key。 - README 使用 `npx skills add ... --all`(或 `--skill ...`)安装技能,并可指定安装到多个 agent。 - README 给出 `muapi image generate ... --model ...` 示例,也展示了 JSON 输出/抽取 URL 的 agent 友好模式。 ### FAQ - **必须用 Python 吗?**:不必。README 推荐 npm 安装;pip 只是可选路径。 - **怎么装到 Claude Code?**:按 README:`npx skills add SamurAIGPT/Generative-Media-Skills --all`。 - **怎么让输出更适合 agent 串联?**:按 README:使用 `--output-json` 并配合 `--jq` 抽取 URL/结果字段。 ## Source & Thanks > Source: https://github.com/SamurAIGPT/Generative-Media-Skills > License: MIT > GitHub stars: 3223 · forks: 357 --- Source: https://tokrepo.com/en/workflows/generative-media-skills-muapi-npx-skills-add Author: Skill Factory