minimax-image-to-video
Skill này làm gì
Skill này biến ảnh thành video ngắn bằng MiniMax, truy cập qua Hermes Web UI. Dành cho người muốn có đoạn phim chuyển động từ một bức ảnh và đã có thiết lập MiniMax.
Khi nào nên dùng
- ✓Khi bạn muốn một ảnh được tạo chuyển động bằng MiniMax thành video MP4 ngắn.
- ✓Khi bạn cần video hoàn thành được tải về và lưu vào vị trí bạn chọn.
- ✓Khi bạn muốn làm chuyển động một ảnh có sẵn bằng dịch vụ MiniMax.
Liên kết skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/minimax-image-to-video/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm chuyển động ảnh sản phẩm này bằng MiniMax và lưu video vào thư mục Desktop của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gửi ảnh đến endpoint media của Hermes Web UI. Máy chủ dùng khóa MiniMax của hồ sơ đã chọn, chờ tác vụ video hoàn thành, tải file MP4 về và lưu vào nơi bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
HERMES_WEB_UI_URL, if set.http://127.0.0.1:${PORT}, ifPORTis 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, ifHERMES_WEB_UI_HOMEis set.${HERMES_WEBUI_STATE_DIR}/.token, ifHERMES_WEBUI_STATE_DIRis 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:
- One image input:
image_url,image_base64withmime_type, orimage_path.
Optional JSON fields:
prompt: motion and style instructions, up to 2000 characters.model: defaults toMiniMax-Hailuo-2.3. Supported values areMiniMax-Hailuo-2.3,MiniMax-Hailuo-2.3-Fast,MiniMax-Hailuo-02,I2V-01-Director,I2V-01-live, andI2V-01.duration: defaults to 6 seconds. Hailuo models also support 10 seconds at compatible resolutions.resolution: defaults to768Pfor Hailuo models and720Pfor I2V models.1080Pis limited to 6-second videos.prompt_optimizer,fast_pretreatment, andcallback_url: supported request options.aigc_watermark: optional China-region watermark flag.region:global_enorcn_zh. When omitted, the server infers the region from the selected profile provider (minimaxorminimax-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.
Câu hỏi thường gặp
Khóa MiniMax lấy từ đâu?
Máy chủ đọc nó từ hồ sơ đã chọn, nên bạn không cần dán khóa vào chat.
Điều gì xảy ra nếu việc tạo video thất bại?
Agent dừng và báo lỗi thay vì thử một dịch vụ khác.
Tôi có thể chọn nơi lưu video không?
Có. Skill có thể lưu file MP4 hoàn chỉnh vào đường dẫn bạn yêu cầu.
Chi tiết
Mô tả gốc của tác giả
Animate an image through Hermes Web UI using the MiniMax image-to-video API.
repo: EKKOLearnAI/ekko-studio
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11586
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
1password
12kGiúp agent của bạn dùng 1Password CLI để lấy bí mật cho lệnh và file cấu hình mà không hiển thị chúng trong chat, nhật ký hay file đã lưu.
apple-notes
12kGiúp agent của bạn tạo, tìm, đọc, sửa, di chuyển hoặc xóa Apple Notes trên Mac, bằng công cụ dòng lệnh memo.
apple-reminders
12kGiúp agent của bạn liệt kê, tạo, sửa, đánh dấu hoàn thành hoặc xóa Apple Reminders và danh sách nhắc việc trên Mac, bằng công cụ remindctl.
document-to-action-items
12kGiúp agent của bạn biến tài liệu, bản ghi cuộc họp hoặc các ghi chú thành bảng việc cần làm rõ ràng gồm người phụ trách, thời hạn và quyết định.
Skill tương tự
blender-motion-state-inspection
280kCho phép kiểm tra chi tiết trong hoạt ảnh 3D. Hữu ích để kiểm tra tư thế, chuyển động và độ thẳng hàng của nhân vật trong hoạt ảnh.
manim-video
280kGiúp agent tạo video giải thích hoạt hình. Dùng Manim để tạo biểu đồ và sơ đồ rõ ràng cho các khái niệm kỹ thuật.
remotion-video-creation
280kHướng dẫn agent tạo video bằng React với thư viện Remotion. Bao gồm các thực hành tốt nhất về hoạt ảnh, âm thanh, phụ đề và các yếu tố hình ảnh khác.