Xpersona
M

MiniMax MMX

CLAWHUB · Unverified

MiniMax MMX-CLI 命令行工具,用于 AI Agent 调用 MiniMax 全模态能力(图片生成、视频生成、语音合成、音乐创作、图片理解、网络搜索、文本对话等)。当用户需要生成图片、视频、语音旁白、音乐,或者需要理解图片内容、执行搜索时使用此技能。安装:npm install -g mmx-cli;... Skill: MiniMax MMX Owner: clx20000410 Summary: MiniMax MMX-CLI 命令行工具,用于 AI Agent 调用 MiniMax 全模态能力(图片生成、视频生成、语音合成、音乐创作、图片理解、网络搜索、文本对话等)。当用户需要生成图片、视频、语音旁白、音乐,或者需要理解图片内容、执行搜索时使用此技能。安装:npm install -g mmx-cli;... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-09T03:19:08.288Z | user Initial release Archive index: Archive v1.0.0: 4 files, 4214 bytes Files: references/commands.md (2638b), skill-card.md (2110b), SKILL.

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177xrbesctg0rk7c93nv49zkh83k9sw:minimax-mmx
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. 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: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-clx20000410-minimax-mmx/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,813 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

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

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

## 快速开始

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

# 查看配额
mmx quota show
```

## 核心命令

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

### 语音合成 (speech-hd)
```bash
mmx speech synthesize --text "文本" --voice "中文主播" --out audio.mp3 --quiet --output json
```
- 查看可用声音:`mmx speech voices`

### 音乐创作 (music-2.5)
```bash
mmx music generate --prompt "描述" --out music.mp3 --quiet --output json
```

### 视频生成 (MiniMax-Hailuo-2.3)
```bash
# 同步(等待完成)
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>   # 下载
```

### 图片理解
```bash
mmx vision describe --image path/to/image.jpg --quiet --output json
```

### 网络搜索
```bash
mmx search query --query "关键词" --quiet --output json
```

### 文本对话
```bash
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](references/commands.md)

_meta.json

{
  "ownerId": "kn71qk5py8pw9hwhmz2c2w2m3n82wkj0",
  "slug": "minimax-mmx",
  "version": "1.0.0",
  "publishedAt": 1775704748288
}

references/commands.md

# MMX-CLI 详细命令参考

## 完整帮助
```bash
mmx --help                    # 全局帮助
mmx <resource> --help         # 各模块帮助
```

## auth - 鉴权管理
```bash
mmx auth login [--method oauth|api-key] [--api-key <key>]
mmx auth status              # 查看当前鉴权状态和配额
mmx auth refresh             # 刷新 OAuth token
mmx auth logout              # 登出
```

## text - 文本对话
```bash
mmx text chat --prompt <text> [--model <model>] [--stream]
```

## speech - 语音合成
```bash
mmx speech synthesize --text <text> --voice <voice-id> --out <file>
mmx speech voices            # 列出可用声音
```

常用声音:
- `中文主播` - 标准中文女声
- `中文客服` - 中文客服风格
- `英文主播` - 标准英文女声

## image - 图片生成
```bash
mmx image generate \
  --prompt <text> \
  [--aspect-ratio 1:1|16:9|9:16|3:4|4:3] \
  [--n <count>] \
  [--subject-ref type=character,image=<path>] \
  [--out-dir <dir>] \
  [--out-prefix <prefix>]
```

示例:
```bash
# 单张图片
mmx image generate --prompt "未来城市天际线" --out-dir ./images --quiet

# 多张图片
mmx image generate --prompt "产品展示图" --n 4 --out-dir ./products --quiet

# 角色一致性
mmx image generate --prompt "穿西装的男人" --subject-ref type=character,image=ref.png --quiet
```

## video - 视频生成
```bash
# 生成视频
mmx video generate \
  --prompt <text> \
  [--model MiniMax-Hailuo-2.3-Fast-6s-768p|MiniMax-Hailuo-2.3-6s-768p] \
  [--duration 6] \
  [--out <file>] \
  [--async]

# 查询异步任务
mmx video task get <task-id>

# 下载视频
mmx video download <task-id> [--out <file>]
```

## music - 音乐生成
```bash
mmx music generate \
  --prompt <text> \
  [--lyrics <text>] \
  [--instrumental] \
  [--out <file>]
```

## vision - 图片理解
```bash
mmx vision describe \
  --image <path|url> \
  [--detail low|high]
```

## search - 网络搜索
```bash
mmx search query \
  --query <text> \
  [--limit <count>]
```

## quota - 配额查询
```bash
mmx quota show
```

输出示例:
```
| MiniMax-M*          102 / 4,500  [................]   2% |
| speech-hd           0 / 19,000  [................]   0% |
| music-2.5           1 / 7        [██..............]  14% |
| image-01            0 / 200      [................]   0% |
```

## config - 配置管理
```bash
mmx config show                    # 显示当前配置
mmx config set <key> <value>      # 设置配置项
mmx config export-schema           # 导出配置 schema
```

## update - 更新
```bash
mmx update                         # 检查并更新到新版本
```

skill-card.md

## Description:

MiniMax MMX helps agents use the MMX CLI to access MiniMax multimodal capabilities, including image generation, video generation, speech synthesis, music creation, image understanding, web search, and text chat.

This skill is ready for commercial/non-commercial use.

## Publisher:

[clx20000410](https://clawhub.ai/user/clx20000410)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to invoke MiniMax's MMX CLI for multimodal generation, analysis, search, and chat tasks from shell commands.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill asks users to install an unpinned global npm CLI package.

Mitigation: Install only if the mmx-cli package and MiniMax service are trusted, and prefer a pinned or local install.

Risk: Command-line or chat-based API key entry can expose credentials through shell history, logs, or agent transcripts.

Mitigation: Avoid entering API keys directly in command lines or agent chats; use a safer local authentication flow or secret handling mechanism when available.

Risk: Prompts, images, search queries, and generated media requests are sent to an external provider.

Mitigation: Do not send confidential prompts, images, or queries unless sharing them with the MiniMax service is intended and approved.

## Reference(s):

- [MMX-CLI detailed command reference](references/commands.md)

## Skill Output:

**Output Type(s):** [Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with inline bash command examples and JSON-oriented CLI output guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Commands may produce JSON responses and generated media files through the external MiniMax service.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users 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.

Sponsored

Ads related to MiniMax MMX and adjacent AI workflows.