# Mmx CLI

Generate text, images, video, speech, and music via the MiniMax AI platform.

- Repository: https://github.com/agentscope-ai/OpenJudge (1020 stars)
- Category: Media
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add agentscope-ai/OpenJudge --skill mmx-cli -g -a claude-code -y`
Codex: `npx skills add agentscope-ai/OpenJudge --skill mmx-cli -g -a codex -y`
Cursor: `npx skills add agentscope-ai/OpenJudge --skill mmx-cli -g -a cursor -y`
Gemini CLI: `npx skills add agentscope-ai/OpenJudge --skill mmx-cli -g -a gemini-cli -y`

## Description

Generate text, images, video, speech, and music via the MiniMax AI platform. Covers text generation (MiniMax-M3 model), image generation (image-01), video generation (Hailuo-2.3), speech synthesis (speech-2.8-hd, 300+ voices), music generation (music-2.6 with lyrics, cover, and instrumental), and web search. Use when the user needs to create AI-generated multimedia content, produce narrated audio from text, compose music, or search the web through MiniMax AI services.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# mmx-cli Skill

Generate multimedia content (text, images, video, speech, music) via the
[MiniMax AI](https://github.com/MiniMax-AI/cli) platform.

## Install

```bash
npx skills add MiniMax-AI/cli@skill -g -y
```

Or manually:

```bash
npm install -g @minimax-ai/cli
```

Set your API key:

```bash
export MINIMAX_API_KEY=your_api_key_here
```

## Capabilities

| Capability | Command | Model |
|------------|---------|-------|
| Text generation | `mmx text generate` | MiniMax-M3 |
| Image generation | `mmx image generate` | image-01 |
| Video generation | `mmx video generate` | Hailuo-2.3 |
| Speech synthesis | `mmx speech generate` | speech-2.8-hd |
| Music generation | `mmx music generate` | music-2.6 |
| Web search | `mmx search` |, |

## Quick Examples

```bash
# Generate text
mmx text generate "Summarize the key benefits of reinforcement learning"

# Generate an image
mmx image generate "A futuristic city skyline at sunset, photorealistic"

# Generate a short video clip
mmx video generate "A golden retriever playing in autumn leaves"

# Synthesize speech from text
mmx speech generate --text "Hello, welcome to the demo." --voice Calm_Woman

# Generate music with lyrics
mmx music generate --lyrics "Rise and shine, a brand new day" --style "pop upbeat"

# Web search
mmx search "latest advances in LLM evaluation"
```

## Gather from user before running

| Info | Required? | Notes |
|------|-----------|-------|
| MINIMAX_API_KEY | Yes | From [MiniMax platform](https://www.minimaxi.com/) |
| Prompt or text | Yes | Describe what to generate |
| Voice name | No | For speech; run `mmx speech list-voices` to browse 300+ options |
| Output path | No | Default saves to current directory |

## Tips

The rest: https://github.com/agentscope-ai/OpenJudge/blob/HEAD/skills/mmx-cli/SKILL.md
