本文へスキップ
Skillpedia
モーションとアニメーション12k · #11586

minimax-image-to-video

できること

このスキルは、MiniMaxを使って画像を短い動画に変換します。Hermes Web UIを経由して利用します。画像から動くクリップがほしく、すでにMiniMaxの設定がある人向けです。

使う場面

  • ✓MiniMaxを使って画像をアニメーション化し、短いMP4動画にしたいとき。
  • ✓完成した動画をダウンロードして、選んだ場所に保存したいとき。
  • ✓すでに持っている画像を、MiniMaxのサービスでアニメーション化したいとき。

スキルのリンク

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/minimax-image-to-video/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/minimax-image-to-video/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この商品の写真をMiniMaxでアニメーション化して、動画をデスクトップに保存してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは画像をHermes Web UIのメディアのエンドポイントに送ります。サーバーは選ばれたプロファイルのMiniMaxのキーを使い、動画の作成が終わるまで待って、MP4をダウンロードして、あなたが指定した場所に保存します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

MiniMax Image To Video

Use this skill when the user wants to animate an image with MiniMax.

If the Hermes Web UI endpoint returns an authentication, connection, or generation error, stop and report that error to the user.

Workflow

Call the local Hermes Web UI media endpoint. The server resolves the selected profile's MiniMax API key, creates an image-to-video task through the official v1 API, polls it, downloads the finished mp4, and optionally saves it to a requested path.

Endpoint:

POST <Hermes Web UI base URL>/api/studio/media/minimax-image-to-video

Resolve the Hermes Web UI base URL in this order:

  1. HERMES_WEB_UI_URL, if set.
  2. http://127.0.0.1:${PORT}, if PORT is set.
  3. http://127.0.0.1:8648.

Use http://127.0.0.1:8647 for the development API backend and http://127.0.0.1:6060 for the default Docker Compose external URL.

Always send the Hermes Web UI server bearer token. Resolve it in this order:

  1. AUTH_TOKEN, if set.
  2. ${HERMES_WEB_UI_HOME}/.token, if HERMES_WEB_UI_HOME is set.
  3. ${HERMES_WEBUI_STATE_DIR}/.token, if HERMES_WEBUI_STATE_DIR is set.
  4. ~/.hermes-web-ui/.token.

If the run instructions include [Current Hermes profile: <name>], send the exact profile in X-Hermes-Profile. If no profile is provided, omit that header.

Required JSON fields:

  • One image input: image_url, image_base64 with mime_type, or image_path.

Optional JSON fields:

  • prompt: motion and style instructions, up to 2000 characters.
  • model: defaults to MiniMax-Hailuo-2.3. Supported values are MiniMax-Hailuo-2.3, MiniMax-Hailuo-2.3-Fast, MiniMax-Hailuo-02, I2V-01-Director, I2V-01-live, and I2V-01.
  • duration: defaults to 6 seconds. Hailuo models also support 10 seconds at compatible resolutions.
  • resolution: defaults to 768P for Hailuo models and 720P for I2V models. 1080P is limited to 6-second videos.
  • prompt_optimizer, fast_pretreatment, and callback_url: supported request options.
  • aigc_watermark: optional China-region watermark flag.
  • region: global_en or cn_zh. When omitted, the server infers the region from the selected profile provider (minimax or minimax-cn).
  • output_path: local mp4 destination; the server media directory is used when omitted.
  • timeout_ms: maximum polling time; defaults to 600000.

Example:

TOKEN="${AUTH_TOKEN:-}"
if [ -z "$TOKEN" ] && [ -n "${HERMES_WEB_UI_HOME:-}" ] && [ -f "$HERMES_WEB_UI_HOME/.token" ]; then
  TOKEN="$(cat "$HERMES_WEB_UI_HOME/.token")"
fi
if [ -z "$TOKEN" ] && [ -n "${HERMES_WEBUI_STATE_DIR:-}" ] && [ -f "$HERMES_WEBUI_STATE_DIR/.token" ]; then
  TOKEN="$(cat "$HERMES_WEBUI_STATE_DIR/.token")"
fi
if [ -z "$TOKEN" ] && [ -f "$HOME/.hermes-web-ui/.token" ]; then
  TOKEN="$(cat "$HOME/.hermes-web-ui/.token")"
fi
if [ -z "$TOKEN" ]; then
  echo "Missing Hermes Web UI token." >&2
  exit 1
fi

BASE_URL="${HERMES_WEB_UI_URL:-http://127.0.0.1:${PORT:-8648}}"
BASE_URL="${BASE_URL%/}"

curl -sS -X POST "$BASE_URL/api/studio/media/minimax-image-to-video" \
  -H "Authorization: Bearer $TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "prompt": "Add a gentle camera push while the clouds drift across the sky",
    "image_url": "https://example.com/source.png",
    "duration": 6,
    "output_path": "/absolute/path/to/output.mp4"
  }'

If the response has code: "missing_minimax_token", tell the user to configure the MiniMax API-key provider for the selected profile. International profiles use MINIMAX_API_KEY; China profiles use MINIMAX_CN_API_KEY. MiniMax Coding Plan OAuth credentials do not authorize video generation.

Return the generated output_path.

よくある質問

MiniMaxのキーはどこから来ますか?

サーバーが選択されたプロファイルから読むため、キーをチャットに貼る必要はありません。

生成に失敗したらどうなりますか?

エージェントは停止してエラーを報告し、別のサービスを試すことはしません。

動画の保存先を選べますか?

はい。このスキルは、依頼された場所に完成したMP4を保存できます。

詳細

作者による元の説明

Animate an image through Hermes Web UI using the MiniMax image-to-video API.

repo: EKKOLearnAI/ekko-studio

人気

GitHubのスター
12k
ランキング
#11586
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル