mmx-cli
하는 일
이 도구를 사용하면 컴퓨터에서 바로 MiniMax AI 플랫폼으로 텍스트, 이미지, 영상, 오디오, 음악을 만들 수 있습니다. 웹을 검색하고 AI 모델과 대화하는 데에도 쓸 수 있습니다.
사용하는 경우
- ✓설명으로 이미지를 생성하고 싶을 때.
- ✓텍스트를 바탕으로 짧은 영상을 만들고 싶을 때.
- ✓텍스트를 음성이나 음악으로 바꾸고 싶을 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mmx-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“재미있는 모자를 쓴 고양이 이미지를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
`mmx image generate --prompt "a cat"`처럼 터미널에 명령을 입력합니다. 도구가 요청을 MiniMax 플랫폼으로 보내고 결과를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
MiniMax CLI — Agent Skill Guide
Use mmx to generate text, images, video, speech, music, and perform web search via the MiniMax AI platform.
When to Use
Use this skill when the user wants to generate or inspect text, images, video, speech, music, web-search results, or MiniMax API resources through the mmx terminal CLI.
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. Pass --model MiniMax-M2.7 for the previous-generation default when reproducing older outputs.
mmx text chat --message <text> [flags]
# Single message (uses MiniMax-M3 by default)
mmx text chat --message "user:What is MiniMax?" --output json --quiet
# Multi-turn with system prompt
mmx text chat \
--system "You are a coding assistant." \
--message "user:Write fizzbuzz in Python" \
--output json
# Pin to the previous-generation model
mmx text chat --model MiniMax-M2.7 --message "user:Hello" --output json
# From file
cat conversation.json | mmx text chat --messages-file - --output json
image generate
Generate images through MiniMax. Use this command for text-to-image tasks, thumbnails, concept art, social visuals, and quick prompt iteration. Model: image-01.
mmx image generate --prompt <text> [flags]
# Machine-readable response for agents
mmx image generate --prompt "A cat in a spacesuit" --output json --quiet
# Save multiple generated images to a directory
mmx image generate --prompt "Logo" --n 3 --out-dir ./gen/ --quiet
# Select region explicitly when a workflow must stay on one MiniMax endpoint family
mmx image generate --prompt "Product hero image" --region global --output json --quiet
mmx image generate --prompt "Product hero image" --region cn --output json --quiet
Agent notes:
- Prefer
--output json --quiet --non-interactivewhen another tool will parse the result. - Use
--dry-runbefore API-backed calls when validating arguments or CI examples. - Keep generated media in a task-local output directory and validate returned file paths or URLs before reusing them.
video generate
Generate video. The current v2 default is MiniMax-H3 (2K, 4–15 seconds); the legacy v1 Hailuo models remain available when explicitly selected. Requests use the regional v2 endpoint: https://api.minimax.io/v2/video_generation (global) or https://api.minimaxi.com/v2/video_generation (China).
mmx video generate --prompt <text> [flags]
For MiniMax-H3, the request content is an ordered array of {type, role, ...} items. Text content is required (up to 7,000 characters); image, video, and audio URLs may use first_frame, last_frame, reference_image, reference_video, and reference_audio roles. Frame roles and reference roles are mutually exclusive, and reference audio requires an image or video. Set --resolution 2K, --duration to an integer from 4 through 15, and --ratio to adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16. China requests may also set aigc_watermark. The create response returns task_id; query with GET /v2/query/video_generation/{task_id}, list with GET /v2/query/video_generation, and delete with DELETE /v2/video_generation/{task_id}. Query responses expose status, error, output URL, resolution, duration, ratio, task type/modality, and usage seconds/image count.
Pricing for MiniMax-H3 video is metered by 2K output seconds: global USD 0.13/second, China CNY 0.8/second. Reference video input is global USD 0.02/second and China CNY 0.8/second; reference audio is free; five reference images are free, then global USD 0.03/image or China CNY 0.2/image.
…
자주 묻는 질문
먼저 뭔가 설치해야 하나요?
네. 컴퓨터에 「mmx-cli」 도구를 설치하고 MiniMax 계정으로 로그인해야 합니다.
AI와 대화하려면 어떻게 하나요?
`mmx text chat --message "your question"` 명령을 사용하세요.
영상을 만들 수 있나요?
네. `mmx video generate --prompt "video description"` 명령을 사용하고, 원하는 길이와 해상도를 지정하면 됩니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 48k
- 순위
- #5218
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.