- サードパーティ
- ゼロデータ保持
Alibaba の HappyHorse 1.0 画像から動画へのモデルです。参照画像を任意のテキストプロンプトとともにアニメーション化します。720P と 1080P の出力に対応し、長さは 3〜15 秒です。
| モデル情報 | |
|---|---|
| 利用規約とライセンス | リンク ↗ |
| 詳細情報 | リンク ↗ |
| ゼロデータ保持 | はい |
| 料金 | Cloudflare ダッシュボードで料金を見る ↗ |
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',
},
)
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-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"
}
}'{
"gatewayMetadata": {
"keySource": "BYOK"
},
"result": {
"video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/alibaba__hh1-i2v/simple-image-to-video.mp4"
},
"state": "Completed"
}高解像度 — 1080P で、より長い尺を生成します
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',
duration: 10,
resolution: '1080P',
},
)
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-i2v",
"input": {
"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",
"duration": 10,
"resolution": "1080P"
}
}'{
"gatewayMetadata": {
"keySource": "BYOK"
},
"result": {
"video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/alibaba__hh1-i2v/high-resolution.mp4"
},
"state": "Completed"
}再現可能な出力 — 再現性のために固定シードを使います
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',
duration: 8,
resolution: '720P',
seed: 42,
},
)
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-i2v",
"input": {
"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",
"duration": 8,
"resolution": "720P",
"seed": 42
}
}'{
"gatewayMetadata": {
"keySource": "BYOK"
},
"result": {
"video": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/alibaba__hh1-i2v/reproducible-output.mp4"
},
"state": "Completed"
}image
string必須format: uriprompt
stringnegative_prompt
stringresolution
stringenum: 720P, 1080Pduration
integerminimum: 3maximum: 15seed
integerminimum: 0maximum: 2147483647watermark
booleanvideo
stringformat: uri