{"id":"6a9b51dd-3ab8-496a-80db-ca53cfe0bd53","entityType":"agent","slug":"clawhub-sswhite-mmx-cli","name":"MiniMax CLI (mmx)","canonicalUrl":"https://www.xpersona.co/agent/clawhub-sswhite-mmx-cli","canonicalPath":"/agent/clawhub-sswhite-mmx-cli","generatedAt":"2026-10-11T15:13:19.139Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T12:07:16.306Z","emptyReason":null},"description":"MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。 Skill: MiniMax CLI (mmx) Owner: sswhite Summary: MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-30T08:03:48.878Z | user Initial release: image/video/music/speech generation, vision understanding, text chat, and web search via mmx CLI Archive index: Archive v1.0.0: 3 files, 5","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s171g1ndz2sw0dw2yfd0m26xnh84p26q:mmx-cli","sourceUrl":"https://clawhub.ai/sswhite/mmx-cli","homepage":"https://clawhub.ai/sswhite/skills/mmx-cli","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/sswhite/mmx-cli","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/sswhite/skills/mmx-cli","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。 Skill: MiniMax CLI (m"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T12:07:16.306Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T12:07:16.306Z","emptyReason":null},"stars":null,"forks":null,"downloads":1069,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"1.1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T12:07:16.245Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T12:07:16.306Z","lastCrawledAt":"2026-10-11T12:07:16.245Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T12:07:16.245Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-04-30T08:03:48.878Z","changelog":"Initial release: image/video/music/speech generation, vision understanding, text chat, and web search via mmx CLI","fileCount":3,"zipByteSize":5270}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171g1ndz2sw0dw2yfd0m26xnh84p26q:mmx-cli","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T15:13:19.139Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-sswhite-mmx-cli/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T12:07:16.306Z","emptyReason":null},"readme":"Skill: MiniMax CLI (mmx)\n\nOwner: sswhite\n\nSummary: MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。\n\nTags: latest:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-04-30T08:03:48.878Z | user\n\nInitial release: image/video/music/speech generation, vision understanding, text chat, and web search via mmx CLI\n\nArchive index:\n\nArchive v1.0.0: 3 files, 5270 bytes\n\nFiles: skill-card.md (2303b), SKILL.md (8719b), _meta.json (126b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: minimax-cli\ndescription: MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。\n---\n\n# MiniMax CLI (mmx)\n\nMiniMax CLI 是 MiniMax Token Plan 的命令行工具，通过 `mmx` 命令提供文本、图片、视频、语音、音乐、视觉理解、网络检索等能力。\n\n## 安装\n\n```bash\nnpm install -g mmx-cli\nmmx auth login --api-key <your-api-key>\n```\n\nAgent 安装方式：将以下提示词复制给 AI Agent\n```\n帮我安装 MiniMax CLI：https://github.com/MiniMax-AI/cli\n我的密钥是 <your-key>\n```\n\n## 全局常用选项\n\n- `--quiet` 静默模式，减少非必要输出\n- `--output json|text` 输出格式\n- `--timeout <seconds>` 请求超时\n- `--dry-run` 预览命令而不执行\n\n## 图片理解\n\n```bash\nmmx vision describe --image <path-or-url> [--prompt <text>]\n```\n\n| 参数 | 说明 |\n|------|------|\n| `--image <path-or-url>` | 图片路径或 URL（本地路径自动 base64 编码） |\n| `--file-id <id>` | 预上传的文件 ID（跳过 base64 转换） |\n| `--prompt <text>` | 关于图片的问题（默认：描述图片） |\n\n```bash\n# 基础描述\nmmx vision describe --image photo.jpg\n\n# URL 图片\nmmx vision describe --image https://example.com/photo.jpg\n\n# 定制问题\nmmx vision describe --image photo.jpg --prompt \"这张图里有什么？\"\n\n# 提取文字\nmmx vision describe --image doc.png --prompt \"提取图片中的文字\"\n\n# 预上传文件（避免大文件 base64 开销）\nmmx vision describe --file-id file-123456789 --prompt \"这是什么？\"\n```\n\n## 图片生成\n\n```bash\nmmx image generate --prompt <text> [flags]\n```\n\n| 参数 | 说明 |\n|------|------|\n| `--prompt <text>` | 图片描述（必填） |\n| `--aspect-ratio <ratio>` | 宽高比，如 `16:9`、`1:1` |\n| `--n <count>` | 生成数量（默认1） |\n| `--width <px>` | 宽度（512-2048，必须是8的倍数） |\n| `--height <px>` | 高度（512-2048，必须是8的倍数） |\n| `--seed <n>` | 随机种子（可复现） |\n| `--out <path>` | 精确保存路径（单图） |\n| `--out-dir <dir>` | 保存目录 |\n| `--out-prefix <prefix>` | 文件名前缀 |\n| `--response-format url\\|base64` | 返回格式（默认url） |\n| `--prompt-optimizer` | 自动优化提示词 |\n| `--aigc-watermark` | 添加AI生成水印 |\n| `--subject-ref <params>` | 角色一致性参考 |\n\n```bash\n# 基础\nmmx image generate --prompt \"赛博朋克城市夜景\" --aspect-ratio 16:9\n\n# 批量生成到目录\nmmx image generate --prompt \"极简风格logo\" --n 4 --out-dir ./logos/\n\n# 精确尺寸\nmmx image generate --prompt \"宽屏风景\" --width 1920 --height 1080\n\n# 可复现\nmmx image generate --prompt \"城堡\" --seed 42\n\n# 保存路径\nmmx image generate --prompt \"山水画\" --out ~/Pictures/landscape.jpg\n```\n\n## 视频生成\n\n```bash\nmmx video generate --prompt <text> [flags]\n```\n\n| 模型 | 说明 | 触发方式 |\n|------|------|---------|\n| Hailuo-2.3 (T2V) | 文本生视频（默认） | 直接使用 `--prompt` |\n| Hailuo-2.3 (I2V) | 图生视频 | `--first-frame` |\n| Hailuo-2.3-Fast | 快速图生视频 | `--first-frame` + fast |\n| Hailuo-02 (SEF) | 首尾帧插值 | `--first-frame` + `--last-frame` |\n| S2V-01 | 角色一致性 | `--subject-image` |\n\n| 参数 | 说明 |\n|------|------|\n| `--prompt <text>` | 视频描述（必填） |\n| `--model <model>` | 指定模型 |\n| `--first-frame <path-or-url>` | 首帧图片 |\n| `--last-frame <path-or-url>` | 尾帧图片（需配合 `--first-frame`） |\n| `--subject-image <path-or-url>` | 角色参考图 |\n| `--download <path>` | 保存路径（同步等待时） |\n| `--no-wait` / `--async` | 异步模式，立即返回任务ID |\n| `--poll-interval <seconds>` | 轮询间隔（默认5秒） |\n| `--callback-url <url>` | 完成通知Webhook |\n\n```bash\n# 同步等待\nmmx video generate --prompt \"夕阳下，一只猫坐在窗边望向远方\" --download sunset.mp4\n\n# 异步，立即返回任务ID\nmmx video generate --prompt \"机器人画画\" --async --quiet\n\n# 图生视频\nmmx video generate --prompt \"一个女人在走路\" --first-frame woman.jpg\n\n# 首尾帧插值\nmmx video generate --prompt \"向前走\" --first-frame start.jpg --last-frame end.jpg\n\n# 角色一致性\nmmx video generate --prompt \"侦探行走\" --subject-image character.jpg\n\n# 查询任务状态\nmmx video task get <task-id>\n\n# 下载已完成视频\nmmx video download <task-id> --out output.mp4\n```\n\n## 音乐生成\n\n```bash\nmmx music generate --prompt <text> [flags]\n```\n\n| 模型 | 说明 |\n|------|------|\n| music-2.6 | 推荐 |\n| music-2.6-free | 免费版（无限量） |\n| music-2.5+ | 增强版 |\n| music-2.5 | 标准版 |\n\n| 参数 | 说明 |\n|------|------|\n| `--prompt <text>` | 音乐风格描述（最多2000字符） |\n| `--lyrics <text>` | 歌词（带结构标签） |\n| `--lyrics-file <path>` | 从文件读取歌词 |\n| `--lyrics-optimizer` | 从 prompt 自动生成歌词 |\n| `--instrumental` | 纯音乐模式 |\n| `--vocals <text>` | 人声风格 |\n| `--genre <text>` | 音乐流派 |\n| `--mood <text>` | 情绪 |\n| `--instruments <text>` | 乐器 |\n| `--tempo <text>` | 节奏描述 |\n| `--bpm <n>` | 精确 BPM |\n| `--key <text>` | 调性 |\n| `--structure <text>` | 歌曲结构 |\n| `--out <path>` | 保存路径（必填） |\n| `--format <fmt>` | 音频格式（默认mp3） |\n| `--model <model>` | 模型选择 |\n| `--output-format hex\\|url` | 返回格式（默认hex） |\n\n歌词结构标签：`[Intro]` `[Verse]` `[Pre Chorus]` `[Chorus]` `[Interlude]` `[Bridge]` `[Outro]` `[Post Chorus]` `[Transition]` `[Break]` `[Hook]` `[Build Up]` `[Inst]` `[Solo]`\n\n```bash\n# 带歌词\nmmx music generate --prompt \"轻快爵士风格\" --lyrics \"La la la...\" --out summer.mp3\n\n# 自动生成歌词\nmmx music generate --prompt \"关于夏天的流行歌曲\" --lyrics-optimizer --out summer_pop.mp3\n\n# 纯音乐\nmmx music generate --prompt \"电影配乐，管弦乐\" --instrumental --out bgm.mp3\n\n# 详细参数\nmmx music generate --prompt \"温暖的早晨民谣\" \\\n  --vocals \"男声女声二重唱，和声\" \\\n  --instruments \"原声吉他，钢琴，弦乐\" \\\n  --bpm 95 \\\n  --out duet.mp3\n```\n\n## 语音合成\n\n```bash\nmmx speech synthesize --text <text> [--out <path>] [flags]\n```\n\n| 模型 | 说明 |\n|------|------|\n| speech-2.8-hd | 高清（默认） |\n| speech-2.6 | 标准版 |\n| speech-02 | 轻量版 |\n\n| 参数 | 说明 | 默认值 |\n|------|------|-------|\n| `--text <text>` | 文本（最多10k字符） | 必填 |\n| `--text-file <path>` | 从文件读取 | - |\n| `--voice <id>` | 音色ID | English_expressive_narrator |\n| `--out <path>` | 保存路径 | - |\n| `--model <model>` | 模型 | speech-2.8-hd |\n| `--speed <n>` | 语速倍数 | 1.0 |\n| `--pitch <n>` | 音调调整 | - |\n| `--volume <n>` | 音量 | - |\n| `--format <fmt>` | 音频格式 | mp3 |\n| `--sample-rate <hz>` | 采样率 | 32000 |\n| `--bitrate <bps>` | 比特率 | 128000 |\n| `--language <code>` | 语言增强 | - |\n| `--subtitles` | 包含字幕时间轴 | - |\n| `--pronunciation <from/to>` | 自定义发音 | - |\n\n查看音色列表：`mmx speech voices`\n\n```bash\n# 基础合成\nmmx speech synthesize --text \"欢迎使用 MiniMax Token Plan\" --out welcome.mp3\n\n# 指定音色\nmmx speech synthesize --text \"你好\" --voice \"温暖女声\" --out hello.mp3\n\n# 调整语速\nmmx speech synthesize --text \"快速播报新闻\" --speed 1.5 --out news_fast.mp3\n\n# 从文件读取\necho \"Breaking news.\" | mmx speech synthesize --text-file - --out news.mp3\n\n# 带字幕\nmmx speech synthesize --text \"Hello world\" --subtitles --out with_subs.mp3\n\n# 流式输出\nmmx speech synthesize --text \"Stream test\" --stream | mpv --no-terminal -\n```\n\n## 文本对话\n\n```bash\nmmx text chat --message <text> [flags]\n```\n\n| 参数 | 说明 |\n|------|------|\n| `--message <text>` | 消息内容 |\n| `--model <model>` | 模型选择 |\n| `--stream` | 流式输出 |\n\n```bash\n# 简单对话\nmmx text chat --message \"帮我生成一首关于AI的4言诗\"\n\n# 流式输出\nmmx text chat --message \"解释量子计算\" --stream\n```\n\n## 网络搜索\n\n```bash\nmmx search query <text>\n```\n\n```bash\nmmx search query \"MiniMax 最新动态\"\n```\n\n## 其他命令\n\n| 命令 | 说明 |\n|------|------|\n| `mmx auth status` | 认证状态 |\n| `mmx auth refresh` | 刷新 Token |\n| `mmx quota show` | 用量配额 |\n| `mmx config show` | 查看配置 |\n| `mmx config set <key> <value>` | 设置配置 |\n| `mmx update` | 检查更新 |\n| `mmx` | 打开交互面板 |\n\n## 默认输出路径\n\n不指定时，生成的文件默认保存到当前目录的 `minimax-output/` 文件夹。\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7cxem2f64y2vgpn368201hz982xyp2\",\n  \"slug\": \"mmx-cli\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777536228878\n}\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\nMiniMax CLI (mmx) guides agents in using the mmx command-line tool for MiniMax text, image, video, speech, music, vision, search, quota, configuration, and diagnostic workflows.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[sswhite](https://clawhub.ai/user/sswhite)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, creators, and external agents use this skill to install or configure mmx and run MiniMax multimodal generation, vision understanding, text chat, search, quota, and diagnostic commands.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: API keys may be exposed if users paste credentials into agent chats or shell commands that are stored in history.\n\nMitigation: Use a secure secret-handling path for MiniMax credentials and avoid placing API keys directly in prompts or command lines.\n\nRisk: Unpinned global installation of mmx-cli can introduce supply-chain risk.\n\nMitigation: Install a pinned, trusted mmx-cli release and review the package source before use.\n\nRisk: Prompts, local files, image URLs, search queries, and callback URLs may be sent to MiniMax or related services during command execution.\n\nMitigation: Review inputs for sensitive data before running mmx commands and use only approved callback endpoints.\n\n## Reference(s):\n\n- [MiniMax CLI repository referenced by the skill](https://github.com/MiniMax-AI/cli)\n- [ClawHub skill page](https://clawhub.ai/sswhite/skills/mmx-cli)\n- [ClawHub publisher profile](https://clawhub.ai/user/sswhite)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands, Configuration]\n\n**Output Format:** [Markdown guidance with inline bash commands and option tables]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May guide commands that generate local media files or send prompts, local files, image URLs, search queries, and callback URLs to MiniMax-related services.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata and target metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.","readmeExcerpt":"Skill: MiniMax CLI (mmx) Owner: sswhite Summary: MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-30T08:03:48.878Z | user Initial release: image/video/music/speech generation, vision understanding, text chat, and web search via mmx CLI Archive index: Archive v1.0.0: 3 files, 5","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"npm install -g mmx-cli\nmmx auth login --api-key <your-api-key>"},{"language":"text","snippet":"帮我安装 MiniMax CLI：https://github.com/MiniMax-AI/cli\n我的密钥是 <your-key>"},{"language":"bash","snippet":"mmx vision describe --image <path-or-url> [--prompt <text>]"},{"language":"bash","snippet":"# 基础描述\nmmx vision describe --image photo.jpg\n\n# URL 图片\nmmx vision describe --image https://example.com/photo.jpg\n\n# 定制问题\nmmx vision describe --image photo.jpg --prompt \"这张图里有什么？\"\n\n# 提取文字\nmmx vision describe --image doc.png --prompt \"提取图片中的文字\"\n\n# 预上传文件（避免大文件 base64 开销）\nmmx vision describe --file-id file-123456789 --prompt \"这是什么？\""},{"language":"bash","snippet":"mmx image generate --prompt <text> [flags]"},{"language":"bash","snippet":"# 基础\nmmx image generate --prompt \"赛博朋克城市夜景\" --aspect-ratio 16:9\n\n# 批量生成到目录\nmmx image generate --prompt \"极简风格logo\" --n 4 --out-dir ./logos/\n\n# 精确尺寸\nmmx image generate --prompt \"宽屏风景\" --width 1920 --height 1080\n\n# 可复现\nmmx image generate --prompt \"城堡\" --seed 42\n\n# 保存路径\nmmx image generate --prompt \"山水画\" --out ~/Pictures/landscape.jpg"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: minimax-cli\ndescription: MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。\n---\n\n# MiniMax CLI (mmx)\n\nMiniMax CLI 是 MiniMax Token Plan 的命令行工具，通过 `mmx` 命令提供文本、图片、视频、语音、音乐、视觉理解、网络检索等能力。\n\n## 安装\n\n```bash\nnpm install -g mmx-cli\nmmx auth login --api-key <your-api-key>\n```\n\nAgent 安装方式：将以下提示词复制给 AI Agent\n```\n帮我安装 MiniMax CLI：https://github.com/MiniMax-AI/cli\n我的密钥是 <your-key>\n```\n\n## 全局常用选项\n\n- `--quiet` 静默模式，减少非必要输出\n- `--output json|text` 输出格式\n- `--timeout <seconds>` 请求超时\n- `--dry-run` 预览命令而不执行\n\n## 图片理解\n\n```bash\nmmx vision describe --image <path-or-url> [--prompt <text>]\n```\n\n| 参数 | 说明 |\n|------|------|\n| `--image <path-or-url>` | 图片路径或 URL（本地路径自动 base64 编码） |\n| `--file-id <id>` | 预上传的文件 ID（跳过 base64 转换） |\n| `--prompt <text>` | 关于图片的问题（默认：描述图片） |\n\n```bash\n# 基础描述\nmmx vision describe --image photo.jpg\n\n# URL 图片\nmmx vision describe --image https://example.com/photo.jpg\n\n# 定制问题\nmmx vision describe --image photo.jpg --prompt \"这张图里有什么？\"\n\n# 提取文字\nmmx vision describe --image doc.png --prompt \"提取图片中的文字\"\n\n# 预上传文件（避免大文件 base64 开销）\nmmx vision describe --file-id file-123456789 --prompt \"这是什么？\"\n```\n\n## 图片生成\n\n```bash\nmmx image generate --prompt <text> [flags]\n```\n\n| 参数 | 说明 |\n|------|------|\n| `--prompt <text>` | 图片描述（必填） |\n| `--aspect-ratio <ratio>` | 宽高比，如 `16:9`、`1:1` |\n| `--n <count>` | 生成数量（默认1） |\n| `--width <px>` | 宽度（512-2048，必须是8的倍数） |\n| `--height <px>` | 高度（512-2048，必须是8的倍数） |\n| `--seed <n>` | 随机种子（可复现） |\n| `--out <path>` | 精确保存路径（单图） |\n| `--out-dir <dir>` | 保存目录 |\n| `--out-prefix <prefix>` | 文件名前缀 |\n| `--response-format url\\|base64` | 返回格式（默认url） |\n| `--prompt-optimizer` | 自动优化提示词 |\n| `--aigc-watermark` | 添加AI生成水印 |\n| `--subject-ref <params>` | 角色一致性参考 |\n\n```bash\n# 基础\nmmx image generate --prompt \"赛博朋克城市夜景\" --aspect-ratio 16:9\n\n# 批量生成到目录\nmmx image generate --prompt \"极简风格logo\" --n 4 --out-dir ./logos/\n\n# 精确尺寸\nmmx image generate --prompt \"宽屏风景\" --width 1920 --height 1080\n\n# 可复现\nmmx image generate --prompt \"城堡\" --seed 42\n\n# 保存路径\nmmx image generate --prompt \"山水画\" --out ~/Pictures/landscape.jpg\n```\n\n## 视频生成\n\n```bash\nmmx video generate --prompt <text> [flags]\n```\n\n| 模型 | 说明 | 触发方式 |\n|------|------|---------|\n| Hailuo-2.3 (T2V) | 文本生视频（默认） | 直接使用 `--prompt` |\n| Hailuo-2.3 (I2V) | 图生视频 | `--first-frame` |\n| Hailuo-2.3-Fast | 快速图生视频 | `--first-frame` + fast |\n| Hailuo-02 (SEF) | 首尾帧插值 | `--first-frame` + `--last-frame` |\n| S2V-01 | 角色一致性 | `--subject-image` |\n\n| 参数 | 说明 |\n|------|------|\n| `--prompt <text>` | 视频描述（必填） |\n| `--model <model>` | 指定模型 |\n| `--first-frame <path-or-url>` | 首帧图片 |\n| `--last-frame <path-or-url>` | 尾帧图片（需配合 `--first-frame`） |\n| `--subject-image <path-or-url>` | 角色参考图 |\n| `--download <path>` | 保存路径（同步等待时） |\n| `--no-wait` / `--async` | 异步模式，立即返回任务ID |\n| `--poll-interval <seconds>` | 轮询间隔（默认5秒） |\n| `--callback-url <url>` | 完成通知Webhook |\n\n```bash\n# 同步等待\nmmx video generate --prompt \"夕阳下，一只猫坐在窗边望向远方\" --download sunset.mp4\n\n# 异步，立即返回任务ID\nmmx video generate --"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7cxem2f64y2vgpn368201hz982xyp2\",\n  \"slug\": \"mmx-cli\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777536228878\n}"},{"path":"skill-card.md","content":"## Description:\n\nMiniMax CLI (mmx) guides agents in using the mmx command-line tool for MiniMax text, image, video, speech, music, vision, search, quota, configuration, and diagnostic workflows.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[sswhite](https://clawhub.ai/user/sswhite)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, creators, and external agents use this skill to install or configure mmx and run MiniMax multimodal generation, vision understanding, text chat, search, quota, and diagnostic commands.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: API keys may be exposed if users paste credentials into agent chats or shell commands that are stored in history.\n\nMitigation: Use a secure secret-handling path for MiniMax credentials and avoid placing API keys directly in prompts or command lines.\n\nRisk: Unpinned global installation of mmx-cli can introduce supply-chain risk.\n\nMitigation: Install a pinned, trusted mmx-cli release and review the package source before use.\n\nRisk: Prompts, local files, image URLs, search queries, and callback URLs may be sent to MiniMax or related services during command execution.\n\nMitigation: Review inputs for sensitive data before running mmx commands and use only approved callback endpoints.\n\n## Reference(s):\n\n- [MiniMax CLI repository referenced by the skill](https://github.com/MiniMax-AI/cli)\n- [ClawHub skill page](https://clawhub.ai/sswhite/skills/mmx-cli)\n- [ClawHub publisher profile](https://clawhub.ai/user/sswhite)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands, Configuration]\n\n**Output Format:** [Markdown guidance with inline bash commands and option tables]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May guide commands that generate local media files or send prompts, local files, image URLs, search queries, and callback URLs to MiniMax-related services.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata and target metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。 Skill: MiniMax CLI (mmx) Owner: sswhite Summary: MiniMax CLI (mmx) 多模态能力调用工具。当用户需要生成图片、视频、音乐、语音，或使用 minimax-cli/mmx 命令时触发。用途：(1) 生成图片/视频/音乐/语音；(2) 调用 MiniMax API；(3) 查询用量额度；(4) 配置或诊断 mmx。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-30T08:03:48.878Z | user Initial release: image/video/music/speech generation, vision understanding, text chat, and web search via mmx CLI Archive index: Archive v1.0.0: 3 files, 5","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":845,"uniquenessScore":54,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T12:07:16.306Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T12:07:16.306Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T15:13:19.139Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}