
阿里巴巴视频新
HappyHorse 1.1 I2V
HappyHorse 1.1 I2V 是 阿里巴巴 提供的视频生成模型。以异步任务方式调用:提交后轮询任务状态,完成时返回可直接播放的视频链接。
价格
输入$75.00每 1M tokens
输出$75.00每 1M tokens
价格以美元计,按实际用量从余额扣除。充值达到档位另有赠送。
$100+ · +3%$200+ · +5%$500+ · +8%$1000+ · +10%
API 调用
- 接口地址
- https://aitree.ai/v1
- 认证方式
- 请求头 Authorization: Bearer <你的 API Key>
# 1. submit
curl https://aitree.ai/v1/video/generations \
-H "Authorization: Bearer $AITREE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "happyhorse-1.1-i2v", "prompt": "drone shot through a forest of light", "seconds": "5" }'
# 2. poll until status is "succeeded"
curl https://aitree.ai/v1/video/generations/$TASK_ID \
-H "Authorization: Bearer $AITREE_API_KEY"参数
| 参数 | 类型 | 说明 |
|---|---|---|
| model | string | 模型 ID,填写 happyhorse-1.1-i2v |
| prompt | string | 描述画面或镜头内容的提示词 |
| seconds | integer | 视频时长(秒) |
| size | string | 输出尺寸,例如 1024x1024 |
| images | string[] | 可选的首帧参考图 URL(图生视频) |