minimax-mmx

MiniMax MMX-CLI 命令行工具,用于 AI Agent 调用 MiniMax 全模态能力(图片生成、视频生成、语音合成、音乐创作、图片理解、网络搜索、文本对话等)。当用户需要生成图片、视频、语音旁白、音乐,或者需要理解图片内容、执行搜索时使用此技能。安装:npm install -g mmx-cli;鉴权:mmx auth login --api-key <key>

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "minimax-mmx" with this command: npx skills add clx20000410/minimax-mmx

MMX-CLI - MiniMax 全模态命令行工具

快速开始

# 鉴权(如未配置)
mmx auth login --api-key <your-api-key>

# 查看配额
mmx quota show

核心命令

图片生成 (image-01)

mmx image generate --prompt "描述" --aspect-ratio 16:9 --out-dir ./output --quiet --output json
  • --n: 生成数量 (1-4)
  • --subject-ref: 角色一致性参考

语音合成 (speech-hd)

mmx speech synthesize --text "文本" --voice "中文主播" --out audio.mp3 --quiet --output json
  • 查看可用声音:mmx speech voices

音乐创作 (music-2.5)

mmx music generate --prompt "描述" --out music.mp3 --quiet --output json

视频生成 (MiniMax-Hailuo-2.3)

# 同步(等待完成)
mmx video generate --prompt "描述" --out video.mp4 --duration 6

# 异步(不阻塞)
mmx video generate --prompt "描述" --out video.mp4 --async
mmx video task get <task-id>  # 查询状态
mmx video download <task-id>   # 下载

图片理解

mmx vision describe --image path/to/image.jpg --quiet --output json

网络搜索

mmx search query --query "关键词" --quiet --output json

文本对话

mmx text chat --prompt "问题" --quiet --output json

Agent 优化参数

参数作用
--quiet抑制进度条、彩色字符,只输出结果
--output json输出纯 JSON,避免解析干扰
--async异步模式,长任务转后台执行
--non-interactive禁用交互式提示,CI/Agent 模式

错误处理(Exit Codes)

Code含义处理
0成功-
1通用错误查看 error.message
401鉴权失败重新 mmx auth login
400参数错误检查命令参数
408请求超时重试
429速率限制等待后重试

详细命令参考:See references/commands.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Cloudbase

CloudBase is a full-stack development and deployment toolkit for building and launching websites, Web apps, 微信小程序 (WeChat Mini Programs), and mobile apps wit...

Registry SourceRecently Updated
1.4K0binggg
Coding

Notion Publisher

Publish articles to Notion using cached local copies of the target database's default Notion template when available. Use this skill when the user types /not...

Registry SourceRecently Updated
Coding

Tuya Smart Control

Control Tuya smart home devices via natural language. Use when the user asks to control smart devices (turn on/off lights, AC, plugs, adjust brightness/tempe...

Registry SourceRecently Updated
Coding

copilot-team-scaffold

Initialize a multi-agent AI development framework for any project. Creates .github/ structure with agents, hooks, instructions, prompts, and planning-with-fi...

Registry SourceRecently Updated