Qwen

HappyHorse 1.0

Video Generation
alibaba/happyhorse-1.0

HappyHorse 1.0 是 Alibaba 通義旗下的影片生成模型,專注於高保真動態合成。模型能準確理解文字語義,輸出流暢、主體穩定的高品質影片片段。支援文字轉影片生成並可同步音訊,透過 OpenAI-compatible 協議存取。

時長
3-15s
音訊
支援
發布日期
2026-06-24
生成模式
t2v文生影片i2v圖生影片v2v影片參考
解析度
720p1080p
長寬比
16:99:161:1
能力
影片輸入
可用供應商
BaiLianAliyun
支援的協定
OpenAIopenai

定價

$0.13/秒 起
解析度模式音訊每秒價格
720p任意任意$0.13/秒
1080p任意任意$0.23/秒
其他所有組合$0.23/秒

依生成影片的秒數計費。實際支援的參數組合與價格以 API 即時回傳為準,且可能隨模型版本而異。

程式碼範例

import time
import requests
BASE = "https://api.ofox.run/v1/videos"
HEADERS = {"Authorization": "Bearer YOUR_OFOX_API_KEY"}
# Create the generation task
task = requests.post(BASE, headers=HEADERS, json={
"model": "alibaba/happyhorse-1.0",
"prompt": "A golden retriever running on the beach at sunset",
"duration": 3,
"resolution": "1080p",
"generate_audio": True,
}).json()
# Poll until the task reaches a terminal state
while True:
task = requests.get(f"{BASE}/{task['id']}", headers=HEADERS).json()
if task["status"] in ("completed", "failed", "cancelled", "expired"):
break
time.sleep(10)
# Prefer mirror_urls (persistent) then fall back to unsigned_urls (24h)
print((task.get("mirror_urls") or task.get("unsigned_urls") or [None])[0])

常見問題

在 Ofox.ai 上使用 HappyHorse 1.0,每秒生成影片的費用 $0.13 起。實際費率取決於解析度、生成模式與音訊。用多少付多少,沒有月費。