Qwen

HappyHorse 1.1

Video Generation
alibaba/happyhorse-1.1

HappyHorse 1.1 是 Alibaba HappyHorse 1.0 影片生成模型的遞進升級版,進一步提升畫面保真度與主體一致性。在文字轉影片的基礎上,新增多圖參考的圖片轉影片以及影片風格化編輯功能,適合創意內容製作場景。透過 OpenAI-compatible 協議存取。

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

定價

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

依生成影片的秒數計費。實際支援的參數組合與價格以 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.1",
"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.1,每秒生成影片的費用 $0.13 起。實際費率取決於解析度、生成模式與音訊。用多少付多少,沒有月費。