Skills

Mmx CLI

Use mmx to generate text, images, video, and speech, and to transcribe audio, via the...

Install

npx skills add MiniMax-AI/cli --skill mmx-cli -g -a claude-code -y
Repository
MiniMax-AI/cli2.2k
Category
Media
Updated
16d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Use mmx to generate text, images, video, and speech, and to transcribe audio, via the MiniMax AI platform. Use when the user wants to create media content, chat with MiniMax models, transcribe audio to text, perform web search, or manage MiniMax API resources from the terminal.

MiniMax CLI, Agent Skill Guide

Use mmx to generate text, images, video, speech, transcribe audio, and perform web search via the MiniMax AI platform.

Prerequisites

# Install
npm install -g mmx-cli

# Auth (OAuth persists to ~/.mmx/credentials.json, API key persists to ~/.mmx/config.json)
mmx auth login --api-key sk-xxxxx

# Verify active auth source
mmx auth status

# Or pass per-call
mmx text chat --api-key sk-xxxxx --message "Hello"

Region is auto-detected. Override with --region global or --region cn.


Agent Flags

Always use these flags in non-interactive (agent/CI) contexts:

FlagPurpose
--non-interactiveFail fast on missing args instead of prompting
--quietSuppress spinners/progress; stdout is pure data
--output jsonMachine-readable JSON output
--asyncReturn task ID immediately (video generation)
--dry-runPreview the API request without executing
--yesSkip confirmation prompts

Commands

text chat

Chat completion. Default model: MiniMax-M3.1-Flash. An explicit --model or saved default-text-model takes precedence. This model currently requires M Plan or MiniMax Code; with a pay-as-you-go key, use --model MiniMax-M3. Thinking is enabled by default with max effort. See the model guide.

mmx text chat --message <text> [flags]
Read the whole SKILL.md on GitHub

More in Media