belt CLI スキルのインストール:
npx skills add belt-sh/cli
画像から動画へ
静止画像を inference.sh CLI を使ってアニメーション動画に変換します。
クイックスタート
inference.sh CLI(
belt)が必要です。インストール手順
belt login
# 静止画像を生成
belt app run falai/flux-dev-lora --input '{
"prompt": "serene mountain lake at sunset, snow-capped peaks reflected in still water, golden hour light, landscape photography",
"width": 1248,
"height": 832
}'
# 画像をアニメーション化
belt app run falai/wan-2-5-i2v --input '{
"prompt": "gentle ripples on the lake surface, clouds slowly drifting, warm light shifting, birds flying in the distance",
"image": "path/to/lake-image.png"
}'
モデル選択
| モデル | アプリID | 最適な用途 | モーションスタイル |
|---|---|---|---|
| Wan 2.5 i2v | falai/wan-2-5-i2v | 現実的な動き、自然な動き | フォトリアリスティック、控えめ |
| WAN-I2V (Pruna) | pruna/wan-i2v | 経済的、高速、480p/720p | 自然、効率的 |
| Seedance 2.0 | bytedance/seedance-2-0 | 最大1080p、オーディオ同期、全入力タイプ | 汎用性が高く高品質 |
| Seedance 2.0 Fast | bytedance/seedance-2-0-fast | 高速版、同じ機能 | 汎用性が高く高速 |
| Fabric 1.0 | falai/fabric-1-0 | 布、ファブリック、液体、流動素材 | 物理ベースの流動 |
| Grok Imagine Video | xai/grok-imagine-video | 一般的なアニメーション、テキストガイド | 汎用性が高い |
各モデルの使用シーン
| シナリオ | 最適モデル | 理由 |
|---|---|---|
| 水や雲のある風景 | Wan 2.5 i2v | 自然で現実的な動きに最適 |
| 微妙な表情のポートレート | Wan 2.5 i2v | 顔の忠実度を維持 |
| 布地の商品 | Fabric 1.0 | 素材の物理に特化 |
| 旗のはためき、カーテンの流れ | Fabric 1.0 | 布のシミュレーション |
| イラスト/アート的な画像 | Seedance 2.0 | スタイル化されたコンテンツに適合 |
| 一般的な「命を吹き込む」 | Seedance 2.0 | 汎用性が高く、最大1080p |
| 素早いテスト/反復 | Seedance 2.0 Fast | より高速な生成 |
モーションの種類
カメラワーク
| 動き | プロンプトキーワード | 効果 |
|---|---|---|
| 押し込み / ドリー前進 | "slow dolly forward", "camera pushes in" | 親密さ・集中の向上 |
| 引き出し / ドリー後退 | "camera pulls back", "slow zoom out" | 明らかになる、コンテキスト |
| パン左/右 | "camera pans slowly to the right" | スキャン、追跡 |
| チルト上下 | "camera tilts upward" | 高さを明らかにする |
| オービット | "camera orbits around the subject" | 3D探索 |
| クレーンアップ | "camera rises upward" | 壮大な演出 |
| 静止 | (カメラワークのプロンプトなし) | 被写体の動きのみ |
被写体の動き
| タイプ | プロンプト例 |
|---|---|
| 自然要素 | "water rippling", "clouds drifting", "leaves rustling in breeze" |
| 髪/衣服 | "hair blowing gently in wind", "dress fabric flowing" |
| 大気効果 | "fog slowly rolling", "dust particles floating in light beams" |
| キャラクター | "person slowly turns to camera", "subtle breathing motion" |
| 機械 | "gears turning", "clock hands moving" |
| 液体 | "coffee steam rising", "paint dripping", "water pouring" |
プロンプト作成のベストプラクティス
黄金律:控えめ>劇的
AIビデオモデルは、劇的なアクションよりも穏やかで控えめな動きでより良い結果を生成します。過度な動きをリクエストすると、歪みやアーティファクトが発生します。
❌ "person running and jumping over obstacles while the camera spins"
✅ "person slowly walking forward, gentle breeze, camera follows alongside"
❌ "explosion with debris flying everywhere"
✅ "candle flame flickering gently, warm ambient light shifting"
❌ "fast zoom into the eyes with dramatic camera shake"
✅ "slow dolly forward toward the subject, subtle focus shift"
プロンプトの構造
[カメラワーク] + [被写体の動き] + [大気効果] + [ムード/ペース]
シナリオ別の例
# 風景アニメーション
belt app run falai/wan-2-5-i2v --input '{
"prompt": "gentle camera pan right, water reflecting moving clouds, trees swaying slightly in breeze, warm golden light, peaceful and slow",
"image": "landscape.png"
}'
# ポートレートアニメーション
belt app run falai/wan-2-5-i2v --input '{
"prompt": "subtle breathing motion, slight head turn, natural eye blink, hair moving gently, soft ambient lighting shifts",
"image": "portrait.png"
}'
# 商品ショットアニメーション
belt app run bytedance/seedance-2-0 --input '{
"prompt": "slow 360 degree orbit around the product, gentle spotlight movement, subtle reflections shifting, premium product showcase, smooth motion",
"image": "product.png",
"generate_audio": true
}'
# 布/ファブリックアニメーション
belt app run falai/fabric-1-0 --input '{
"prompt": "fabric flowing and rippling in gentle wind, natural cloth physics, soft movement",
"image": "fabric-scene.png"
}'
# 建築ビジュアライゼーション
belt app run falai/wan-2-5-i2v --input '{
"prompt": "slow dolly forward through the entrance, slight camera tilt upward, ambient light filtering through windows, dust particles in light beams",
"image": "building-interior.png"
}'
時間ガイドライン
| 時間 | 品質 | 用途 |
|---|---|---|
| 2-3秒 | 最高品質 | GIF、ループ背景、シネマグラフ |
| 4-5秒 | 高品質 | ソーシャルメディア投稿、商品紹介 |
| 6-8秒 | 良好な品質 | ショートクリップ、トランジション |
| 10秒以上 | 品質が低下 | 避けるか、短いクリップを連結 |
時間の延長
長時間の動画には、複数の短いクリップを生成して連結します:
# 同じ画像から3つのクリップをプログレッシブモーションで生成
belt app run falai/wan-2-5-i2v --input '{
"prompt": "slow pan left, gentle water motion",
"image": "scene.png"
}' --no-wait
belt app run falai/wan-2-5-i2v --input '{
"prompt": "continuing pan, clouds shifting, light changing",
"image": "scene.png"
}' --no-wait
# 連結
belt app run infsh/media-merger --input '{
"media": ["clip1.mp4", "clip2.mp4"]
}'
完全なワークフロー
静止画から最終動画へのパイプライン
# 1. ソース画像を生成(最高品質)
belt app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic landscape, misty mountains at dawn, lake in foreground, dramatic clouds, golden hour, 4K quality, professional photography",
"size": "2K"
}'
# 2. 画像をアニメーション化
belt app run falai/wan-2-5-i2v --input '{
"prompt": "gentle mist rolling through the valley, lake surface rippling, clouds slowly moving, birds in distance, warm light shifting",
"image": "landscape.png"
}'
# 3. 必要に応じて動画をアップスケール
belt app run falai/topaz-video-upscaler --input '{
"video": "animated-landscape.mp4"
}'
# 4. アンビエントオーディオを追加
belt app run infsh/hunyuanvideo-foley --input '{
"video": "animated-landscape.mp4",
"prompt": "gentle nature ambience, distant birds, soft wind, water lapping"
}'
# 5. 動画とオーディオを結合
belt app run infsh/video-audio-merger --input '{
"video": "upscaled-landscape.mp4",
"audio": "ambient-audio.mp3"
}'
シネマグラフ効果
シネマグラフとは、静止写真の中で1つの要素だけが動く(例:滝だけが動き、他のシーンは静止している)ものです。これを実現するには:
- 動き要素が明確に定義された静止画像を生成します
- その特定の要素のみに動きを促すプロンプトを作成します
- シームレスなループのために2~4秒に抑えます
belt app run falai/wan-2-5-i2v --input '{
"prompt": "only the waterfall is moving, everything else remains perfectly still, water cascading smoothly, rest of scene frozen",
"image": "waterfall-scene.png"
}'
よくある間違い
| 間違い | 問題 | 修正 |
|---|---|---|
| 過度な動きのリクエスト | 歪み、アーティファクト、ワーピング | 控えめ>劇的、常に |
| コンテンツタイプに合わないモデル | 結果が悪い | 上記の選択ガイドを使用 |
| クリップが長すぎる(10秒以上) | 品質が大幅に低下 | 3~5秒に抑え、必要なら連結 |
| カメラワークが指定されていない | ランダム/予測不能な動き | 必ずカメラの動きを指定 |
| 矛盾した動きの方向 | 混沌として不自然 | 1つの主要な動き方向 |
| 低解像度のソース画像 | 低解像度の動画出力 | 最高品質のソースから開始 |
| 複雑なアクションシーン | モデルが処理できない | 動きをシンプルかつ自然に保つ |
関連スキル
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@p-video
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@prompt-engineering
すべてのアプリを参照: belt app list