Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mmx-cli

БесплатноБез исполняемых скриптовНе проверен

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…

MiniMax-AIот MiniMax-AI★ 2 245 звёзд на GitHub

Об этом скилле

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:

Flag Purpose
--non-interactive Fail fast on missing args instead of prompting
--quiet Suppress spinners/progress; stdout is pure data
--output json Machine-readable JSON output
--async Return task ID immediately (video generation)
--dry-run Preview the API request without executing
--yes Skip 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]
Flag Type Description
--message <text> string, required, repeatable Message text. Prefix with role: to set role (e.g. "system:You are helpful", "user:Hello")
--messages-file <path> string JSON file with messages array. Use - for stdin
--system <text> string System prompt
--model <model> string Model ID (default: MiniMax-M3.1-Flash)
--max-tokens <n> number Max tokens (default: 4096)
--temperature <n> number Sampling temperature (0.0, 1.0]
--top-p <n> number Nucleus sampling threshold
--stream boolean Stream tokens (default: on in TTY)
--tool <json-or-path> string, repeatable Tool definition JSON or file path
# Single message
mmx text chat --message "user:What is MiniMax?" --output json --quiet

# Multi-turn
mmx text chat \
  --system "You are a coding assistant." \
  --message "user:Write fizzbuzz in Python" \
  --output json

# From file
cat conversation.json | mmx text chat --messages-file - --output json

stdout: response text (text mode) or full response object (json mode).


image generate

Generate images. Default model: image-01. Use --model MiniMax-H3-Image for higher-resolution text-to-image (up to 20 MP) or for image editing with --image.

mmx image generate --prompt <text> [flags]
Flag Type Description
--prompt <text> string, required Image description
--aspect-ratio <ratio> string e.g. 16:9, 1:1. Ignored if --width and --height are both set
--n <count> number Number of images (default: 1)
--seed <n> number Random seed for reproducible generation
--width <px> number Width in pixels (512–2048, multiple of 8). Requires --height
--height <px> number Height in pixels (512–2048, multiple of 8). Requires --width
--prompt-optimizer boolean Optimize prompt before generation
--aigc-watermark boolean Embed AI-generated content watermark
--subject-ref <params> string Subject reference: type=character,image=path-or-url
--response-format <format> string url (default) or base64. Base64 bypasses CDN download
--out-dir <dir> string Download images to directory
--out-prefix <prefix> string Filename prefix (default: image)
--model <model> string image-01 (default), image-01-live, or MiniMax-H3-Image; other values go to the image-01 endpoint unchanged

MiniMax-H3-Image only (--seed, --prompt-optimizer, --subject-ref are rejected; --width/--height become --size):

Flag Type Description
--image <path-or-url> string, repeatable 1–16 reference images → image editing (/v1/images/edits). Order = Picture 1, 2, …
--size <WxH> string auto or e.g. 2720x1536; area 655,360–20,000,000 px, ratio 1:3–3:1. Not with --aspect-ratio/--area
--aspect-ratio <X:Y> string auto (default) or X:Y (integers 1–300) between 1:3 and 3:1
--area <level> string 1K, 2K, 4K (default)
--n <count> number 1–10
--output-format <fmt> string jpg (default), png, webp
--output-compression <q> number 0–100 (default 95), jpg/webp only
--no-prompt-enhance boolean Text-to-image only; needs --size or a concrete --aspect-ratio

H3-Image is synchronous and not idempotent — do not re-run a command just because it was slow; each run is billed. Partia

Полный SKILL.md на GitHub

Установить mmx-cli в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

h3-video/SKILL.mdh3-video/references/h3-video.md

FAQ

Что делает скилл mmx-cli?

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.

Как установить скилл mmx-cli?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mmx-cli запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mmx-cli с