- Third-party
Alibaba's HappyHorse 1.1 image-to-video model. Animates a reference image with an optional text prompt, with smoother motion, natural skin textures, and improved close-up quality over 1.0. Supports 720P and 1080P output with durations from 3 to 15 seconds.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run(
'alibaba/hh1.1-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',
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "alibaba/hh1.1-i2v",
"input": {
"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"
}
}'{
"state": "Completed",
"result": {
"video": "https://examples.aig.cloudflare.com/alibaba/hh1.1-i2v/simple-image-to-video.mp4"
},
"gatewayMetadata": {
"keySource": "Unified"
}
}Parameters
image
stringrequiredformat: uriprompt
stringnegative_prompt
stringresolution
stringenum: 720P, 1080Pduration
integerminimum: 3maximum: 15seed
integerminimum: 0maximum: 2147483647watermark
booleanvideo
stringformat: uri