Skip to content

Commit 0661c07

Browse files
committed
docs: clarify agent usage, add region/token plan info
- Highlight AI agent support in subtitles and install section - Distinguish human vs agent install commands - Add Token Plan requirement with Global/CN platform and API domains - Add install command to SKILL.md prerequisites Made-with: Cursor
1 parent 10327ce commit 0661c07

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<strong>The official CLI for the MiniMax AI Platform</strong><br>
7-
Generate text, images, video, speech, and music — all from your terminal.
7+
Generate text, images, video, speech, and music — from your terminal or AI agent.
88
</p>
99

1010
<p align="center">
@@ -31,15 +31,21 @@
3131
## Install
3232

3333
```bash
34-
# Install CLI
34+
# For humans: install CLI globally
3535
npm install -g mmx-cli
3636

37-
# Install CLI Skill (for AI agents / Cursor)
37+
# For AI agents (Cursor, Claude Code, OpenCode, etc.): add skill to your agent
3838
npx skills add MiniMax-AI/cli -y -g
3939
```
4040

4141
> Requires [Node.js](https://nodejs.org) 18+
4242
43+
> **Requires a MiniMax Token Plan**
44+
> | Region | Platform | API Endpoint |
45+
> |--------|----------|--------------|
46+
> | Global | [platform.minimax.io](https://platform.minimax.io) | `api.minimax.io` |
47+
> | CN | [platform.minimaxi.com](https://platform.minimaxi.com) | `api.minimaxi.com` |
48+
4349
## Quick Start
4450

4551
```bash

README_CN.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<strong>MiniMax AI 开放平台官方命令行工具</strong><br>
7-
在终端生成文字、图像、视频、语音和音乐。
7+
在终端或 AI Agent 中生成文字、图像、视频、语音和音乐。
88
</p>
99

1010
<p align="center">
@@ -31,15 +31,21 @@
3131
## 安装
3232

3333
```bash
34-
# 安装 CLI
34+
# 直接使用:全局安装 CLI
3535
npm install -g mmx-cli
3636

37-
# 安装 CLI Skill(AI Agent / Cursor 使用)
37+
# AI Agent 使用(Cursor、Claude Code 等):添加 Skill 到你的 Agent
3838
npx skills add MiniMax-AI/cli -y -g
3939
```
4040

4141
> 需要 [Node.js](https://nodejs.org) 18+
4242
43+
> **需要 MiniMax Token 套餐**
44+
> | 区域 | 开放平台 | API 地址 |
45+
> |------|----------|----------|
46+
> | 国际版 | [platform.minimax.io](https://platform.minimax.io) | `api.minimax.io` |
47+
> | 国内版 | [platform.minimaxi.com](https://platform.minimaxi.com) | `api.minimaxi.com` |
48+
4349
## 快速开始
4450

4551
```bash

skill/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Use `mmx` to generate text, images, video, speech, music, and perform web search
1010
## Prerequisites
1111

1212
```bash
13+
# Install
14+
npm install -g mmx-cli
15+
1316
# Auth (persisted to ~/.mmx/credentials.json)
1417
mmx auth login --api-key sk-xxxxx
1518

0 commit comments

Comments
 (0)