Skip to content

Instantly share code, notes, and snippets.

@up1
Last active April 17, 2026 05:06
Show Gist options
  • Select an option

  • Save up1/b9b67269ec59ced4df5a59f48a12423c to your computer and use it in GitHub Desktop.

Select an option

Save up1/b9b67269ec59ced4df5a59f48a12423c to your computer and use it in GitHub Desktop.
Hello MiniMax CLI
$npm install -g mmx-cli
$mmx
███╗ ███╗███╗ ███╗██╗ ██╗
████╗ ████║████╗ ████║╚██╗██╔╝
██╔████╔██║██╔████╔██║ ╚███╔╝
██║╚██╔╝██║██║╚██╔╝██║ ██╔██╗
██║ ╚═╝ ██║██║ ╚═╝ ██║██╔╝ ██╗
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
Usage: mmx <resource> <command> [flags]
Resources:
auth Authentication (login, status, refresh, logout)
text Text generation (chat)
speech Speech synthesis (synthesize, voices)
image Image generation (generate)
video Video generation (generate, task get, download)
music Music generation (generate, cover)
search Web search (query)
vision Image understanding (describe)
quota Usage quotas (show)
config CLI configuration (show, set, export-schema)
update Update mmx to a newer version
# ทำการ login ไปยัง minimax account ด้วย API-key ได้เลย
$mmx auth login --api-key sk-xxxxx
$npx skills add MiniMax-AI/cli -y -g
███████╗██╗ ██╗██╗██╗ ██╗ ███████╗
██╔════╝██║ ██╔╝██║██║ ██║ ██╔════╝
███████╗█████╔╝ ██║██║ ██║ ███████╗
╚════██║██╔═██╗ ██║██║ ██║ ╚════██║
███████║██║ ██╗██║███████╗███████╗███████║
╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝
┌ skills
◇ Source: https://github.com/MiniMax-AI/cli.git
◇ Repository cloned
◇ Found 1 skill
● Skill: mmx-cli
│ Use mmx to generate text, images, video, speech, and music via the MiniMax AI platform. Use when the user wants to create media content, chat with MiniMax models, perform web search, or manage MiniMax API resources from the terminal.
◇ 45 agents
● Installing to: Antigravity, Claude Code, Cline, Codex, Continue, Cursor, Droid, Gemini CLI, GitHub Copilot, Kimi Code CLI, Kiro CLI, OpenCode, Qwen Code, Windsurf
◇ Installation Summary ──────────────────────────────────────────────────╮
│ │
│ ~/.agents/skills/mmx-cli │
│ universal: Antigravity, Cline, Codex, Cursor, Gemini CLI +7 more │
│ symlink → Claude Code, Continue, Droid, Kiro CLI, Qwen Code +1 more │
│ │
├─────────────────────────────────────────────────────────────────────────╯
◇ Security Risk Assessments ──────────────────────────────╮
│ │
│ Gen Socket Snyk │
│ mmx-cli Safe 0 alerts High Risk │
│ │
│ Details: https://skills.sh/MiniMax-AI/cli │
│ │
├──────────────────────────────────────────────────────────╯
◇ Installation complete
◇ Installed 1 skill ──────────────────────────────────────────────────────╮
│ │
│ ✓ ~/.agents/skills/mmx-cli │
│ universal: Antigravity, Cline, Codex, Cursor, Gemini CLI +7 more │
│ symlinked: Claude Code, Continue, Droid, Kiro CLI, Qwen Code +1 more │
│ │
├──────────────────────────────────────────────────────────────────────────╯
└ Done! Review skills before use; they run with full agent permissions.
# Simple Chat
$mmx text chat --message "Explain microservices in short term"
# Simple Chat with streaming response
$mmx text chat --message "Explain microservices in short term" --stream
# Chat with system prompt
$mmx text chat --system "You are a backend engineer" --message "Review my architecture"
# Generate image
$mmx image generate --prompt "Logo design for my web site" --n 3 --aspect-ratio 16:9
# Generate VDO
$mmx video generate --prompt "Cat walks on rocks" --async
# Image analysis
$mmx vision describe --image <path of image> --prompt "What objects are in this image?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment