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 store