
文字、图片和reference-to-video合一模型。电影般的动作,最多9个参考元素中的角色一致性,以及同步的原生音频。
文字、图片和reference-to-video合一模型。电影般的动作,最多9个参考元素中的角色一致性,以及同步的原生音频。
也称为 Alibaba Cloud HappyHorse 1.1, HappyHorse-1.1, happyhorse-1-1
happyhorse-1-1POST /v1/videos/generationsLive pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.
HappyHorse 1.1 runs through POST /v1/videos/generations. The request returns a job_id right away; poll GET /v1/jobs/{job_id} until the job completes and read the output URLs from the result. Get an API key from the EmpirioLabs dashboard.
curl https://api.empiriolabs.ai/v1/videos/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-1-1",
"prompt": "Describe what you want HappyHorse 1.1 to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/videos/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "happyhorse-1-1",
"prompt": "Describe what you want HappyHorse 1.1 to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)Request parameters supported by the HappyHorse 1.1 API on EmpirioLabs. Defaults apply when a field is omitted.
| 参数 | 类型 | 默认 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| prompt | string | - | - | Describe the scene to generate. Up to 2,500 characters. |
| mode | enum | auto | auto, t2v, i2v, r2v | Auto detects from attachments. t2v: text-to-video. i2v: animate one image. r2v: reference-to-video from up to 9 images. |
| image | string | - | - | Image URL or upload. One image for image-to-video, up to 9 for reference-to-video. Reference them in the prompt as character1, character2. |
| aspect_ratio | enum | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4 | Aspect ratio of the output. Used by text-to-video and reference-to-video; image-to-video follows the source image. |
| resolution | enum | 720p | 720p, 1080p | Output resolution. 720p renders faster; 1080p is higher fidelity. |
| duration | number | 5 | 3 to 15 | Clip length in seconds (3 to 15). |
| seed | number | - | 0 to 2147483647 | Reproducibility seed. Reuse the same seed for a repeatable result. |
| watermark | boolean | false | - | Add a watermark to the generated video. Off by default. |
模式(某一型号)- 文本转视频 - 图像到视频 - 引用视频(最多9张图片) 约束 - 720p / 1080p,每代3到15秒 - 提示最多2500字符 宽高比 - 文本和参考模式:16:9、9:16、1:1、4:3、3:4 - 图像转视频跟随源图像 原生音频自动生成。
On EmpirioLabs, HappyHorse 1.1 is billed pay as you go: 720页 $0.14 每秒钟; 1080p (简体中文). $0.18 每秒钟. The live rate card on this page always matches what the API charges.
HappyHorse 1.1 is served through POST /v1/videos/generations on api.empiriolabs.ai with standard bearer-token authentication.
Yes. The EmpirioLabs playground runs HappyHorse 1.1 in the browser with the same parameters the API exposes, so you can test prompts before writing code.
Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.
Check out our pricing or reach out if you want your own model deployed on our stack.