mcpField
H
hailuo-video

hailuo-video

github.com/acedatacloudCreative & media17227 installsUpdated today
Repository

About hailuo-video

hailuo-video is an OpenClaw skill for generating videos through AceDataCloud’s Hailuo (MiniMax) API. It supports text prompts and image-based animation, including a director mode for finer control.

Key features

  1. 01Text-to-video generation
  2. 02Image-to-video animation
  3. 03Director mode for finer animation control
  4. 04Asynchronous task polling

Use cases

  1. 01Create a clip from a text description
  2. 02Animate a still image into a video
  3. 03Control camera and motion in image animation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/acedatacloud/skills --skill hailuo-video

After installing, type/hailuo-videoin Claude Code to confirm it loaded.

Details

From the project README

Hailuo Video Generation

Generate AI videos through AceDataCloud's Hailuo (MiniMax) API.

First-time setup

  1. Install the official Skill with clawhub install @acedatacloud/hailuo. Check that the ClawHub publisher is @acedatacloud.
  2. Sign in at AceDataCloud → Applications, open General application, and check Hailuo access, balance, and current pricing. Copy its API key, or select Manage Keys → Create for a separate key. Copy the key value without Bearer ; a platform-... management token is not a service API key.
  3. If you enable Allowed APIs restrictions, include /hailuo/videos and /hailuo/tasks. Advanced workflows below may call additional routes.
  4. On the OpenClaw Gateway host, put ACEDATACLOUD_API_TOKEN=your_api_key_here in ~/.openclaw/.env, then restart the Gateway and start a new session. For a direct terminal test, run export ACEDATACLOUD_API_TOKEN="your_api_key_here" in that shell. Never put the key in a prompt or commit an .env file.
  5. Run the Quick Start below. If this workflow returns a task ID, query that same task until it finishes; do not submit the same billable request again just to check progress.

Illustrated key setup, first run, and troubleshooting · Token details

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/tasks with {"id": "..."}.

Models

ModelTypeBest For
minimax-t2vText-to-VideoCreating video from text description
minimax-i2vImage-to-VideoAnimating a still image
minimax-i2v-directorImage-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

ParameterRequiredValuesDescription
actionYes"generate"Action type
promptYesstringVideo description
modelYes"minimax-t2v", "minimax-i2v", "minimax-i2v-director"Model
first_image_urlFor i2vstringSource image URL (required for image-to-video)
callback_urlNostringAsync callback URL

Gotchas

  • first_image_url is required for minimax-i2v and minimax-i2v-director models
  • Director mode (minimax-i2v-director) provides finer camera/motion control than standard i2v
  • The action field currently only supports "generate" — no extend or edit
  • Flat pricing per generation regardless of model

Comments

Markdown supported