- サードパーティ
Alibaba の HappyHorse 1.1 テキストから動画へのモデルです。テキストプロンプトから動画を生成し、1.0 より動的な表現力、画質、指示追従性が向上しています。解像度、アスペクト比、長さ(3〜15 秒)を設定できます。
| モデル情報 | |
|---|---|
| 利用規約とライセンス | リンク ↗ |
| 詳細情報 | リンク ↗ |
| 料金 | Cloudflare ダッシュボードで料金を見る ↗ |
const response = await env.AI.run(
'alibaba/hh1.1-t2v',
{ prompt: 'A little girl walking on the road' },
)
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-t2v",
"input": {
"prompt": "A little girl walking on the road"
}
}'{
"state": "Completed",
"result": {
"video": "https://examples.aig.cloudflare.com/alibaba/hh1.1-t2v/simple-text-to-video.mp4"
},
"gatewayMetadata": {
"keySource": "Unified"
}
}prompt
string必須minLength: 1maxLength: 2500resolution
stringenum: 720P, 1080Pratio
stringenum: 16:9, 9:16, 1:1, 4:3, 3:4duration
integerminimum: 3maximum: 15seed
integerminimum: 0maximum: 2147483647watermark
booleanvideo
stringformat: uri