mmx-h3-video
Generate, monitor, and download MiniMax-H3 videos through the mmx CLI. Use for H3 text-to-video, first/last-frame video, multimodal reference…
от MiniMax-AI★ 2 245 звёзд на GitHub
Установить mmx-h3-video в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
MiniMax-H3 Video With MMX
Use this skill only for MiniMax-H3 video generation. Do not handle text, image generation, speech, music, search, legacy Hailuo models, or unrelated MMX commands.
Before a paid request, read references/h3-video.md for prompt construction, media constraints, waiting behavior, and failure handling.
Required Rules
- Use a Pay-as-you-go/Credit API Key. H3 does not use OAuth or Token Plan Subscription Keys.
- Reuse a saved MMX API key when available. Never print, repeat, or place a literal API key in a command transcript.
- Always pass
--model MiniMax-H3; never rely on the configured default model. - For a completed video, run one direct blocking
mmx video generatecommand. Do not use Bash wrappers or hand-written polling loops. - If the terminal command remains active, wait on that exact execution session. Do not run
ps, scrape process arguments, inspect the output repeatedly, kill the process, or submit another task. - Treat
Detecting region... cnorDetecting region... globalas normal stderr progress, not a submission failure. - Never submit a replacement paid task because terminal waiting, status polling, or downloading was interrupted.
- Retry the alternate region at most once, and only when the first command clearly failed before task creation because of region detection, endpoint, or authentication routing.
- Use
--asynconly when the user explicitly wants a task ID without waiting or downloading.
Resolve The CLI
Inside the minimax-cli repository, build changes and use the local artifact:
bun run build
node ./dist/mmx.mjs video generate --help
Outside the repository, use the installed mmx executable. Do not install or update MMX unless the user asks.
In commands below, replace mmx with node ./dist/mmx.mjs when testing the local repository build.
Resolve And Save The API Key
Before the first paid H3 request, inspect the active credential without exposing it:
mmx auth status --output json --quiet
- If
methodisapi-key, reuse it from MMX config. Do not add--api-keyto generation commands. - If the user already supplied a key and the runtime holds it securely as
MINIMAX_API_KEY, save it once, then use MMX config:
mmx config set --key api_key --value "$MINIMAX_API_KEY" --quiet
- Saving
api_keyreplaces stale OAuth credentials, clears the cached region, and stores the key in~/.mmx/config.jsonwith owner-only permissions. - Never reconstruct a previously supplied key into visible shell text. Use the runtime's secret/environment injection when available.
- If no saved API key or securely injected variable is available, ask the user to run
mmx auth loginand choose API key. Do not ask them to paste the key into chat again. - After saving, future Agent commands must omit both the literal key and
--api-key.
Default Completed-Video Path
Use this path when the user wants the final file:
mmx video generate \
--model MiniMax-H3 \
--prompt "<video prompt>" \
--duration <4-15> \
--download <output.mp4> \
--poll-interval 10 \
--timeout 1800 \
--non-interactive
This one CLI process submits exactly one task, waits internally between status checks, and downloads the completed video. When the execution tool returns a running session or cell ID, continue waiting on that same session until it exits.
Do not add --async to this command. Async mode returns before download handling.
Input Modes
Use exactly one mode per request.
Text-To-Video
mmx video generate \
--model MiniMax-H3 \
--prompt "A cinematic coastal sunset, slow dolly forward" \
--duration 15 \
--ratio 16:9 \
--download ./result.mp4 \
--poll-interval 10 \
--timeout 1800 \
--non-interactive
First/Last-Frame Video
--image is the first frame. It may be combined with one --last-frame.
mmx video generate \
--model MiniMax-H3 \
--prompt "The subject walks naturally from the starting pose to the ending pose" \
--image ./start.png \
--last-frame ./end.png \
--duration 15 \
--download ./result.mp4 \
--poll-interval 10 \
--timeout 1800 \
--non-interactive
Do not use the hidden --first-frame compatibility alias in new commands.
Multimodal Reference Video
Repeat each reference flag to pass multiple inputs. Do not comma-separate paths.
mmx video generate \
--model MiniMax-H3 \
--prompt "Preserve the referenced character, follow the motion and audio rhythm" \
--reference-image ./character-1.png \
--reference-image ./character-2.png \
--reference-video ./motion.mp4 \
--reference-audio ./rhythm.mp3 \
--duration 15 \
--download ./result.mp4 \
--poll-interval 10 \
--timeout 1800 \
--non-interactive
Frame mode cannot be mixed with reference mode. Reference audio requires at least one reference image or reference video.
Region Recovery
Omit --region on the first request so MMX can use o
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/h3-video.md
FAQ
Что делает скилл mmx-h3-video?
Generate, monitor, and download MiniMax-H3 videos through the mmx CLI. Use for H3 text-to-video, first/last-frame video, multimodal reference image/video/audio generation, H3 prompt improvement, media preflight, Pay-as-you-go API key selection, task waiting, downloads, and H3 failure handling.
Как установить скилл mmx-h3-video?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mmx-h3-video запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…