Command Palette

Search for a command to run...

Назад к скиллам
скилл № 95479

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от 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

  1. Use a Pay-as-you-go/Credit API Key. H3 does not use OAuth or Token Plan Subscription Keys.
  2. Reuse a saved MMX API key when available. Never print, repeat, or place a literal API key in a command transcript.
  3. Always pass --model MiniMax-H3; never rely on the configured default model.
  4. For a completed video, run one direct blocking mmx video generate command. Do not use Bash wrappers or hand-written polling loops.
  5. 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.
  6. Treat Detecting region... cn or Detecting region... global as normal stderr progress, not a submission failure.
  7. Never submit a replacement paid task because terminal waiting, status polling, or downloading was interrupted.
  8. 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.
  9. Use --async only 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 method is api-key, reuse it from MMX config. Do not add --api-key to 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_key replaces stale OAuth credentials, clears the cached region, and stores the key in ~/.mmx/config.json with 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 login and 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

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

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

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

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

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

  • 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), без исполняемых скриптов.

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

Сравнить mmx-h3-video с