Agent Skills
› NeverSight/learn-skills.dev
› hailuo-video
hailuo-video
GitHub通过 AceDataCloud API 调用 Hailuo (MiniMax) 生成 AI 视频。支持文本转视频、图片转视频及导演模式,提供精准控制。
Trigger Scenarios
根据文本描述生成视频
将静态图片转换为动态视频
使用导演模式对图片动画进行精细控制
Install
npx skills add NeverSight/learn-skills.dev --skill hailuo-video -g -y
SKILL.md
Frontmatter
{
"name": "hailuo-video",
"license": "Apache-2.0",
"metadata": {
"author": "acedatacloud",
"version": "1.0"
},
"description": "Generate AI videos with Hailuo (MiniMax) via AceDataCloud API. Use when creating videos from text descriptions or animating images into video. Supports text-to-video and image-to-video with director mode for precise control.",
"compatibility": "Requires ACEDATACLOUD_API_TOKEN in .env file (see _shared\/authentication.md)."
}
Hailuo Video Generation
Generate AI videos through AceDataCloud's Hailuo (MiniMax) API.
Setup: See authentication for token setup.
Quick Start
curl -X POST https://api.acedata.cloud/hailuo/videos \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "generate", "prompt": "a dolphin jumping through ocean waves at golden hour", "model": "minimax-t2v"}'
Async: See async task polling. Poll via
POST /hailuo/taskswith{"id": "..."}.
Models
| Model | Type | Best For |
|---|---|---|
minimax-t2v |
Text-to-Video | Creating video from text description |
minimax-i2v |
Image-to-Video | Animating a still image |
minimax-i2v-director |
Image-to-Video (Director) | Precise control over animation from image |
Workflows
1. Text-to-Video
POST /hailuo/videos
{
"action": "generate",
"prompt": "a time-lapse of flowers blooming in a meadow",
"model": "minimax-t2v"
}
2. Image-to-Video
Animate a still image into a video clip.
POST /hailuo/videos
{
"action": "generate",
"prompt": "gentle wind blows through the scene",
"model": "minimax-i2v",
"first_image_url": "https://example.com/landscape.jpg"
}
3. Image-to-Video (Director Mode)
More precise control over the animation.
POST /hailuo/videos
{
"action": "generate",
"prompt": "camera slowly zooms in while leaves fall gently",
"model": "minimax-i2v-director",
"first_image_url": "https://example.com/scene.jpg"
}
Parameters
| Parameter | Required | Values | Description |
|---|---|---|---|
action |
Yes | "generate" |
Action type |
prompt |
Yes | string | Video description |
model |
Yes | "minimax-t2v", "minimax-i2v", "minimax-i2v-director" |
Model |
first_image_url |
For i2v | string | Source image URL (required for image-to-video) |
callback_url |
No | string | Async callback URL |
Gotchas
first_image_urlis required forminimax-i2vandminimax-i2v-directormodels- Director mode (
minimax-i2v-director) provides finer camera/motion control than standard i2v - The
actionfield currently only supports"generate"— no extend or edit - Flat pricing per generation regardless of model
Version History
- e0220ca Current 2026-07-05 22:54


