ベルトCLIスキルをインストール:
npx skills add belt-sh/cli
HappyHorse 1.0 ビデオ生成
AlibabaのHappyHorse 1.0モデルを使用して、物理的にリアルなビデオを生成・編集します。inference.sh CLI経由で実行できます。
クイックスタート
inference.sh CLI(
belt)が必要です。インストール手順
belt login
belt app run alibaba/happyhorse-1-0-t2v --input '{"prompt": "a horse galloping across a sunlit meadow"}'
HappyHorse モデル
| モデル | アプリID | 最適な用途 |
|---|---|---|
| T2V | alibaba/happyhorse-1-0-t2v | テキスト→ビデオ、物理的にリアルな動き |
| I2V | alibaba/happyhorse-1-0-i2v | 静止画像のアニメーション化 |
| R2V | alibaba/happyhorse-1-0-r2v | 最大9枚の参照画像からキャラクターを保存 |
| Video Edit | alibaba/happyhorse-1-0-video-edit | 自然言語で既存ビデオを編集 |
すべてのモデルは720P/1080P解像度、最大15秒の長さに対応しています。
使用例
テキスト→ビデオ
belt app run alibaba/happyhorse-1-0-t2v --input '{
"prompt": "a golden retriever running through autumn leaves in a park, slow motion",
"duration": 10,
"resolution": "1080P",
"ratio": "16:9"
}'
画像→ビデオ
静止画像をアニメーション化します:
belt app run alibaba/happyhorse-1-0-i2v --input '{
"first_frame": "https://your-image.jpg",
"prompt": "gentle camera zoom, clouds moving in the sky",
"duration": 8,
"resolution": "720P"
}'
参照→ビデオ(キャラクター保存)
参照画像(最大9枚)からキャラクターを保存したビデオを生成します:
belt app run alibaba/happyhorse-1-0-r2v --input '{
"prompt": "a woman walking through a busy market street",
"reference_images": ["https://portrait.jpg"],
"duration": 10,
"resolution": "720P"
}'
マルチキャラクター参照
belt app run alibaba/happyhorse-1-0-r2v --input '{
"prompt": "two friends sitting at a cafe having coffee",
"reference_images": ["https://person1.jpg", "https://person2.jpg"],
"ratio": "16:9"
}'
ビデオ編集
自然言語の指示で既存ビデオを編集します:
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "change the background to a snowy mountain landscape"
}'
参照画像を使ったビデオ編集
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "replace the person with the character from the reference image",
"reference_images": ["https://character.jpg"]
}'
オーディオ制御付きビデオ編集
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "make the scene look like a rainy day",
"audio_setting": "generate"
}'
料金
| 解像度 | 価格 |
|---|---|
| 720P | 秒間$0.14 |
| 1080P | 秒間$0.24 |
ビデオ編集は入力+出力の時間に対して課金されます。
パラメータ(T2V)
| パラメータ | 型 | デフォルト | 説明 |
|---|---|---|---|
prompt | string | 必須 | ビデオのテキストによる説明 |
duration | integer | 5 | 秒単位の長さ(3~15) |
resolution | enum | 720P | 720P または 1080P |
ratio | enum | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
seed | integer | ランダム | 再現可能な生成 |
watermark | boolean | false | HappyHorse透かしを追加 |
パラメータ(I2V)
| パラメータ | 型 | デフォルト | 説明 |
|---|---|---|---|
first_frame | file | 必須 | 最初のフレーム画像(JPEG、PNG、WebP) |
prompt | string | - | オプションのテキスト説明 |
duration | integer | 5 | 秒単位の長さ(3~15) |
resolution | enum | 720P | 720P または 1080P |
seed | integer | ランダム | 再現可能な生成 |
パラメータ(R2V)
| パラメータ | 型 | デフォルト | 説明 |
|---|---|---|---|
prompt | string | 必須 | シーンのテキストによる説明 |
reference_images | array | 必須 | 最大9枚のキャラクター参照画像 |
duration | integer | 5 | 秒単位の長さ(3~15) |
resolution | enum | 720P | 720P または 1080P |
ratio | enum | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
seed | integer | ランダム | 再現可能な生成 |
パラメータ(Video Edit)
| パラメータ | 型 | デフォルト | 説明 |
|---|---|---|---|
video | file | 必須 | 編集するビデオ(MP4/MOV、H.264) |
prompt | string | 必須 | 編集指示 |
reference_images | array | - | 最大5枚の参照画像 |
audio_setting | enum | auto | auto、generate、またはkeep_original |
resolution | enum | 720P | 720P または 1080P |
seed | integer | ランダム | 再現可能な生成 |
HappyHorseアプリの検索
belt app search "happyhorse"
関連スキル
# フルプラットフォームスキル(全アプリ)
npx skills add inference-sh/skills@infsh-cli
# 全ビデオ生成モデル
npx skills add inference-sh/skills@ai-video-generation
# Seedance 2.0
npx skills add inference-sh/skills@seedance
# Google Veo
npx skills add inference-sh/skills@google-veo
# 画像生成(画像→ビデオ用)
npx skills add inference-sh/skills@ai-image-generation
すべてのビデオアプリを一覧表示: belt app list --category video
ドキュメント
- アプリの実行 - CLIを介したアプリの実行方法
- ストリーミング結果 - リアルタイムの進捗更新
- コンテンツパイプラインの例 - メディアワークフローの構築