hailuo-02-text-to-video-standard API
MiniMax / Hailuo
透過 RunAPI 使用 Hailuo 系列的 hailuo-02-text-to-video-standard。按次收費,無需訂閱,失敗的生成不扣費。
可正常運作
·
video
·
可商用
curl -X POST https://runapi.ai/api/v1/hailuo/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hailuo-02-text-to-video-standard",
"prompt": "Generate a 6-second clip of a glass marble rolling across a wooden desk and falling off the edge."
}'
import { HailuoClient } from "@runapi.ai/hailuo";
const client = new HailuoClient();
const result = await client.textToVideo.run({
model: "hailuo-02-text-to-video-standard",
prompt: "Generate a 6-second clip of a glass marble rolling across a wooden desk and falling off the edge.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Hailuo\HailuoClient;
$client = new HailuoClient();
$result = $client->textToVideo->run([
'model' => 'hailuo-02-text-to-video-standard',
'prompt' => 'Generate a 6-second clip of a glass marble rolling across a wooden desk and falling off the edge.',
]);
require "runapi/hailuo"
client = RunApi::Hailuo::Client.new
result = client.text_to_video.run(
model: "hailuo-02-text-to-video-standard",
prompt: "Generate a 6-second clip of a glass marble rolling across a wooden desk and falling off the edge."
)
npx skills add runapi-ai/hailuo -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
切換 variant
OVERVIEW
hailuo-02-text-to-video-standard 針對 Hailuo 系列中品質與成本的最佳平衡點。
- 按次收費,美元計價
- 生成失敗不收費
- 如模型支援,提供串流輸出
- Model skill setup
PRICING
收費
失敗的生成不會收費
Text to video
$0.30-$0.50
/ video
Duration seconds: 6
$0.30
Duration seconds: 10
$0.50
規格說明
技術詳情
| 模型 ID | hailuo-02-text-to-video-standard |
| 供應商 | MiniMax |
| 模式 | video |
| 任務類型 | asynchronous |
| 計費單位 | call |
| API endpoint | /api/v1/hailuo/text_to_video |
| 商業授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可正常運作 |
SKILLS
快速開始 — hailuo-02-text-to-video-standard
結構一致 · variant 已固定於 model 中
# Install the model skill for app development workflows
npx skills add runapi-ai/hailuo -g
Or use this setup request in your coding tool:
Install the Hailuo skill for this app: 1. Add runapi-ai/hailuo with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
運作方式
四步使用 hailuo-02-text-to-video-standard
01
安裝
為此模型系列安裝 model skill。
02
設定
將 model 欄位設為本頁顯示的完整 model ID。
03
呼叫
連同 prompt、inputs 及 callback 設定,送出一個 typed request。
04
接收
從 RunAPI 讀取 task response、webhook callback 或 cached output URL。
DIFFERENCES
hailuo-02-text-to-video-standard 有咩不同
VS HAILUO-02-IMAGE-TO-VIDEO-PRO
最高 768p 文字生成影片;比 Pro 平約 50%
1080p image-anchored video; image sets first frame
VS HAILUO-02-IMAGE-TO-VIDEO-STANDARD
最高 768p 文字生成影片;比 Pro 平約 50%
最高 768p 圖像錨定影片;經濟層級
VS HAILUO-02-TEXT-TO-VIDEO-PRO
最高 768p 文字生成影片;比 Pro 平約 50%
1080p native text-to-video output
使用場景
最適合
廣告及社交內容
由文字 brief 生成產品發佈短片同短版廣告,將製作時間由幾星期縮短到幾個鐘。
電子學習
無需攝影機或團隊,都可以大規模將課程腳本轉成動畫解說影片。
創作者流程
直接由 prompt 為社交平台製作易爆紅的短內容。
FAQ
關於 hailuo-02-text-to-video-standard 的常見問題
模型 ID 會否在不同版本之間保持穩定?
RunAPI 會保持 model ID 穩定,並處理相容的版本更新,而不需要改動你的 request 格式。
這個 variant 的 rate limit 係多少?
每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。
之後可以切換 variant 嗎?
可以——variant 只係一個旗標。只要更改 model 參數就可以切換。
支援 streaming 嗎?
在可用 streaming 的情況下,RunAPI 會端到端串流。
我應該在邊度回報品質問題?
可以在公開 GitHub repo 開 issue,或者電郵支援團隊。
Hailuo 的其他 variant
hailuo-02-image-to-video-standard
最平
02-image-to-video-standard
$0.500 / call
hailuo-2.3-image-to-video-standard
2.3-image-to-video-standard
$0.500 / call
hailuo-02-image-to-video-pro
高質
02-image-to-video-pro
$0.570 / call
hailuo-02-text-to-video-pro
高質
02-text-to-video-pro
$0.570 / call
hailuo-2.3-image-to-video-pro
高質
2.3-image-to-video-pro
$0.900 / call
其他模型的替代方案
GE
Gemini Omni
Voice, character, and multimodal video generation resources for narration, dialogue, and agent media workflows.
GR
Grok Imagine
Grok Imagine API access for image and video generation from text, including text-to-image, image-to-image, text-to-video, and image-to-video.
HA
HappyHorse
Text, image, and edit-video generation with 720p and 1080p output, duration control, first-frame image support, ordered reference images for character-guided clips, and source-video editing.
立即開始