Hailuo(海螺)影片生成 API 推廣短文
Hailuo(海螺 AI)是 MiniMax 的影片模型。Ace Data Cloud 提供文字生成影片和首幀圖片生成影片的介面。
¶ 支援的模型
| 模型 | 模式 | 說明 |
|---|---|---|
minimax-t2v |
文字生成影片 | 僅傳入 prompt 即可生成 6 秒高畫質影片 |
minimax-i2v |
圖片生成影片 | 必須傳入 first_image_url(首幀),讓靜態圖片動起來 |
| minimax-i2v-director | 圖片生成影片導演模式 | 輸入圖片和鏡頭提示詞 |
¶ 呼叫範例
# 文生视频
curl -X POST 'https://api.acedata.cloud/hailuo/videos' \
-H 'authorization: Bearer {YOUR_TOKEN}' \
-H 'content-type: application/json' \
-d '{
"action": "generate",
"model": "minimax-t2v",
"prompt": "a cat playing piano in a jazz bar, warm lighting"
}'
# 图生视频(首帧驱动)
curl -X POST 'https://api.acedata.cloud/hailuo/videos' \
-H 'authorization: Bearer {YOUR_TOKEN}' \
-H 'content-type: application/json' \
-d '{
"action": "generate",
"model": "minimax-i2v",
"prompt": "the character starts walking forward",
"first_image_url": "https://example.com/start.jpg"
}'
任務非同步執行,透過 task_id 輪詢 /hailuo/tasks 查詢狀態,或在請求中加入 callback_url 接收回呼。
¶ 適用場景
- 靜態圖片行銷素材活化 —— 用 minimax-i2v 把現有產品圖、海報做成 6 秒短影片
- 創意短片快速試錯 —— prompt → 影片,生成耗時以實際任務為準
- 多語言內容 —— 提示詞可嘗試中文或英文,依成品效果調整
