Hailuo 視頻生成 / 用 Minimax 的 Hailuo AI 與 Hailuo API 重新定義視頻創作!
利用圖生視頻、文生視頻和主體參考等功能,釋放你的想像力,即刻生成精彩視頻!
Hailuo API Pricing
Pay-as-you-go access through PiAPI.
Hailuo v2.3 FastFast
$0.16
- Fast video generation
- 768p output
Hailuo v2.3
$0.23-$0.45
- Text-to-video and image-to-video
- Higher-quality output
Features
Capabilities from the production model page.
文生視頻(T2V-01)
只需輸入文字提示,Hailuo AI 即可生成精彩視頻!在 Playground 中體驗,或透過 Hailuo API 直接呼叫!
圖生視頻(I2V)
想根據圖片生成視頻?拖入你的圖像並配上文字提示,見證 I2V-01(及 I2V-01-live)的強大能力!
主體參考(S2V)
上傳參考圖像並描述場景,感受革命性的角色一致性帶來的驚喜!
支援重新生成功能
對某段生成的視頻感興趣,想換個風格再試一次?我們透過 API 端點支援 Hailuo 的重新生成功能。
支援批量生成
需要為自己的網站或資料庫批量執行文生視頻任務?請在 Discord 上聯繫我們並提供你的提示詞,我們將盡快回覆!
雙模式 API 服務
Hailuo API 同時支援託管自有帳號模式和按需付費模式。根據你的開發需求選擇最合適的方式,甚至可以混合使用兩種模式,兼顧穩定性與成本。
非同步 API 呼叫
我們的非同步功能允許用戶提交任務後程式繼續運行,直到回呼函式觸發,無需等待中斷。
浮水印移除
訂閱 PiAPI 高級訂閱方案後,用戶可移除生成視頻右下角的「Hailuo」浮水印。
優先生成
訂閱 PiAPI 高級訂閱方案後,用戶可享受最高優先級的生成服務,非常適合高峰負載和高需求時段!
商業用途
高級方案訂閱用戶可將生成的視頻用於商業用途,滿足其業務需求。
Get started
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "hailuo",
"task_type": "video_generation",
"input": {
"model": "v2.3",
"prompt": "A playful cat explores a sunlit garden",
"resolution": 768,
"duration": 6,
"expand_prompt": true
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"video_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run hailuo \ model=v2.3 \ prompt="A playful cat explores a sunlit garden" \ resolution=768 \ duration=6 \ expand_prompt=true ✓ Task completed! https://img.theapi.app/ephemeral/…
Frequently asked questions
什麼是 Hailuo AI 視頻生成器?
什麼是 Hailuo API?
Hailuo Video API 由 PiAPI 提供,使開發者能夠將 Hailuo 的視頻生成能力整合到自己的應用程式中!
使用 Hailuo AI 可以製作哪些類型的視頻?
你可以使用 Hailuo AI 視頻生成器輕鬆創作各種精彩視頻,在幾分鐘內將你的創意轉化為引人入勝的視覺內容!
目前視頻生成有哪些限制?
儘管當前模型表現出色,但仍存在一些限制。例如,在複雜的動作場景(如汽車在雪地漂移)中可能出現物體形變;偶爾原本應運動的物體會保持靜止;精確的文字顯示也有待進一步改進。
生成過程中是否支援視頻預覽功能?
目前 Hailuo 尚未在網頁應用程式中提供此功能,但一旦推出,PiAPI 將第一時間將該功能整合進來。
Hailuo API 生成的視頻可以用於商業用途嗎?
PiAPI 不對生成視頻的使用方式設置任何限制。請同時參閱 Hailuo 的使用條款以了解更多詳情。
More questions? See the API docs.
我們的部落格
查看我們的部落格獲取相關內容!



