用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/EKKOLearnAI/hermes-studio --skill minimax-image-to-video命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | minimax-image-to-video |
| description | Animate an image through Hermes Web UI using the MiniMax image-to-video API. |
| version | 1.0.0 |
| author | Ekko |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["MiniMax","image-to-video","video-generation","media"]}} |
| prerequisites | {"commands":["curl"]} |
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.
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/hermes/media/minimax-image-to-video
Resolve the Hermes Web UI base URL in this order:
HERMES_WEB_UI_URL, if set.http://127.0.0.1:${PORT}, if PORT is set.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:
AUTH_TOKEN, if set.${HERMES_WEB_UI_HOME}/.token, if HERMES_WEB_UI_HOME is set.${HERMES_WEBUI_STATE_DIR}/.token, if HERMES_WEBUI_STATE_DIR is set.~/.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:
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/hermes/media/minimax-image-to-video" \
-H \
-H \
-d
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.
Generate or edit images through Hermes Web UI using the selected/requested profile's configured API-key image provider from config.yaml.
Animate a local image into a short mp4 video through Hermes Web UI using xAI Grok Imagine.
Create rich diagrams, data visualizations, technical architecture views, and editorial content cards directly in Markdown using the Markdown Viewer Agent Skills pack. Use for Mermaid-like diagram requests, PlantUML architecture diagrams, Vega charts, JSON Canvas maps, infographics, UML, cloud/network/security/data/IoT diagrams, and polished Markdown documentation visuals.
基于 SOC 职业分类