Loading model…正在加载模型详情…
Loading model…正在加载模型详情…
用阿里巴巴的 HappyHorse-1.0 把文字场景变成视频,探索故事分镜、视觉创意与短片构思。
A Pixar-style short about a nervous little traffic cone who dreams of being a finish line pylon at a major race. Other cones mock its ambitions. A construction worker accidentally places it at a marathon finish line. The cone's painted face shifts from terror to joy as runners pass. Confetti falls on its cone head. Other cones watch on TV, inspired. Audio: Traffic sounds becoming crowd cheers, inspirational swelling music.
8mm vintage film style, grainy texture, slight light leaks. A group of friends laughing and running on a beach in the 1970s. Sun-drenched colors, nostalgic atmosphere, handheld camera shaking slightly. Authentic retro look.
First-person POV (GoPro style), a high-speed mountain bike descent through a narrow, rocky forest trail. The camera vibrates with the bumps, trees rushing past in a blur. Intense sunlight filtering through the canopy. Adrenaline-pumping action, immersive sound of tires on gravel.
HappyHorse-1.0 是阿里巴巴 ATH 团队开发的 AI 视频生成模型。阿里巴巴介绍称,它能够将自然语言转化为动态场景,用于故事创作、视觉探索和营销构思。
UniRoute 提供其文生视频版本。写下场景描述,选择分辨率与时长组合,查看报价后即可创建视频任务。
HappyHorse-1.0 是 HappyHorse 系列的早期版本。UniRoute 也收录了 HappyHorse-1.1,可以打开对应页面,对比当前可用的生成选项与价格。
目前通过 UniRoute 使用 HappyHorse-1.0 可以做什么。
描述主体、动作、环境与运镜,再选择输出规格,把文字构思变成动态场景。
HappyHorse-1.0 的其他模式(图生视频、参考生视频和视频编辑)暂未在 UniRoute 开放。
可调用的版本,以及各自的选项和价格。
| 版本 | 模型 ID | 模式 | 输入 | 输出 | 价格 |
|---|---|---|---|---|---|
| HappyHorse-1.0 文生视频 | happyhorse/text-to-video | 文生视频 | 文字提示词和尺寸选项 | 分辨率:720p、1080p;时长:5s、10s | $0.88 至 $3.00 / 次请求 |
按请求计价,所选规格决定价格。
| HappyHorse-1.0 文生视频 | |
|---|---|
| 720p · 5s | $0.88 |
| 720p · 10s | $1.75 |
| 1080p · 5s | $1.50 |
| 1080p · 10s | $3.00 |
金额四舍五入到分;工作区中的实时报价显示精确金额。价格更新于 2026-11-08。
按用量计费,统一使用一个美元钱包余额。每次请求前都会先看到报价。
用媒体 API 在你自己的代码里调用 HappyHorse-1.0。
# Requires bash, curl and jq. Set API_KEY to your own unified UniRoute Key.set -euo pipefail: "${API_KEY:?Set API_KEY first}"BASE='https://api.uniroute.app/v1/media'MODEL='happyhorse/text-to-video'OPTION='720p:5'PROMPT='A calm sunrise over a mountain lake'curl -fsS --max-time 60 "$BASE/catalog" -H "Authorization: Bearer $API_KEY" | jq -e '.data.models'BODY=$(jq -n --arg model "$MODEL" --arg option "$OPTION" --arg prompt "$PROMPT" '{model:$model,option:$option,prompt:$prompt}')QUOTE_BODY=$(printf '%s' "$BODY" | jq '{model,option}')QUOTE=$(curl -fsS --max-time 60 "$BASE/quote" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' -d "$QUOTE_BODY")CAP=$(printf '%s' "$QUOTE" | jq -er '.data.quoted_usd')BODY=$(printf '%s' "$BODY" | jq --arg cap "$CAP" '. + {max_cost_usd:$cap}')IDEMPOTENCY="example-$(date +%s)-$$"create() { curl -fsS --max-time 60 "$BASE/tasks" -H "Authorization: Bearer $API_KEY" -H "Idempotency-Key: $IDEMPOTENCY" -H 'Content-Type: application/json' -d "$BODY"; }TASK_ID=$(create | jq -er '.data.task_id')# The same request and idempotency key must return the original task without charging again.REPLAY_ID=$(create | jq -er '.data.task_id')[ "$TASK_ID" = "$REPLAY_ID" ]for attempt in $(seq 1 120); do TASK=$(curl -fsS --max-time 60 "$BASE/tasks/$TASK_ID" -H "Authorization: Bearer $API_KEY") printf '%s' "$TASK" | jq -e '.data | {task_id,status,billing}' if printf '%s' "$TASK" | jq -e '.data.status == "success" and .data.billing.state == "charged"' >/dev/null; then index=0 while IFS= read -r url; do index=$((index+1)) curl -fL --max-time 120 "$url" -o "$TASK_ID-$index.bin" done < <(printf '%s' "$TASK" | jq -er '.data.urls[].url') break fi if printf '%s' "$TASK" | jq -e '.data.status == "failed" and .data.billing.state == "released"' >/dev/null; then exit 1; fi if [ "$attempt" = 120 ]; then echo "Polling limit reached. Keep task ID $TASK_ID and query it later; do not create a new task." >&2 exit 1 fi sleep 5donecurl -fsS --max-time 60 "$BASE/tasks?limit=20" -H "Authorization: Bearer $API_KEY" | jq -e '.data'# Check this task and the caller Key in Console usage; billing.charged_usd is the actual USD charge.| 名称 | 位置 | 说明 |
|---|---|---|
model | 请求体 | 要运行的模型 ID。 |
option | 请求体 | 该模型提供的规格之一:720p:5, 720p:10, 1080p:5, 1080p:10。 |
prompt | 请求体 | 描述要生成内容的文字提示词。 |
max_cost_usd | 请求体 | 本次任务的最高费用(美元),取自报价。 |
Idempotency-Key | 请求头 | 每个任务唯一的键;重复请求会返回原任务,不会重复扣费。 |
HappyHorse-1.0 的常见用法。
在规划完整制作之前,用文字镜头描述探索人物、环境和运镜方向。
将活动构思变成视频草稿,再调整提示词,尝试不同动作、风格和氛围。
通过 API 在应用中提供根据提示词生成视频的功能,每次请求先报价,再轮询任务状态。
关于 HappyHorse-1.0 的常见问题。
HappyHorse-1.0 是阿里巴巴 ATH 团队开发的 AI 视频生成模型。UniRoute 通过本页和媒体 API 提供其文生视频版本。
当前可调用的版本接受文字提示词,以及分辨率与时长组合。本页“规格”和“API”部分列出了可用设置。
可以。HappyHorse-1.1 在 UniRoute 上有独立的系列页面,可通过版本链接对比它与 HappyHorse-1.0 当前可用的选项和价格。
$0.88 起 / 条。每次请求按所选输出规格对整段视频计价,全部选项见“价格”一节,价格更新于 2026-11-08。
先为模型和规格查询报价,带上 Idempotency-Key 与最高费用创建媒体任务,再轮询直到视频就绪。本页“API”一节提供了完整示例。
没有。生成费用从你的钱包余额中扣除。你可以直接打开工作区查看价格,注册账号后可看到针对当前设置的实时报价,只有被接受的请求才会计费。