Loading...
Loading...
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.
npx skill4agent add acedatacloud/skills hailuo-videoSetup: See authentication for token setup.
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 viawithPOST /hailuo/tasks.{"id": "..."}
| Model | Type | Best For |
|---|---|---|
| Text-to-Video | Creating video from text description |
| Image-to-Video | Animating a still image |
| Image-to-Video (Director) | Precise control over animation from image |
POST /hailuo/videos
{
"action": "generate",
"prompt": "a time-lapse of flowers blooming in a meadow",
"model": "minimax-t2v"
}POST /hailuo/videos
{
"action": "generate",
"prompt": "gentle wind blows through the scene",
"model": "minimax-i2v",
"first_image_url": "https://example.com/landscape.jpg"
}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"
}| Parameter | Required | Values | Description |
|---|---|---|---|
| Yes | | Action type |
| Yes | string | Video description |
| Yes | | Model |
| For i2v | string | Source image URL (required for image-to-video) |
| No | string | Async callback URL |
first_image_urlminimax-i2vminimax-i2v-directorminimax-i2v-directoraction"generate"