Skip to content
Alibaba logo

HappyHorse 1.0 I2V

Image-to-VideoAlibabaProxied

Alibaba's HappyHorse 1.0 image-to-video model. Animates a reference image with an optional text prompt. Supports 720P and 1080P output with durations from 3 to 15 seconds.

Model Info
Terms and Licenselink
More informationlink
PricingView pricing in the Cloudflare dashboard

Usage

TypeScript
const response = await env.AI.run(
'alibaba/hh1-i2v',
{
image:
'https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png',
prompt: 'A gentle camera push-in on the scene with soft ambient lighting',
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200

Examples

High Resolution — Generate at 1080P with a longer duration
TypeScript
const response = await env.AI.run(
'alibaba/hh1-i2v',
{
image:
'https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png',
prompt: 'Subject begins rapping confidently to the beat, head bobbing',
resolution: '1080P',
duration: 10,
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200
Reproducible Output — Use a fixed seed for reproducibility
TypeScript
const response = await env.AI.run(
'alibaba/hh1-i2v',
{
image:
'https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png',
prompt: 'Camera orbits slowly around the subject under streetlamp light',
resolution: '720P',
duration: 8,
seed: 42,
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200

Parameters

image
stringrequiredformat: uri
prompt
string
negative_prompt
string
resolution
stringenum: 720P, 1080P
duration
integerminimum: 3maximum: 15
seed
integerminimum: 0maximum: 2147483647
watermark
boolean

API Schemas (Raw)

Input
Output