Communitygithub.com

画像から動画への変換ガイド

静止画をアニメーション動画に変換するためのガイドです。モデル選択、モーションプロンプト、カメラワークをカバーし、Wan 2.5 i2v、Seedance、Fabric、Grok Video などの各モデルの最適な使用シーンを解説します。

画像から動画への変換ガイド とは?

このスキルは、静止画像から動画を生成する(i2v)プロセスを完全にガイドします。推論用 CLI ツール「inference.sh」を活用し、Wan 2.5 i2v、Seedance(1.5 Pro / 1.0 Pro)、Fabric 1.0、Grok Imagine Video などの主要モデルを比較し、用途に応じた最適なモデル選びを支援します。カメラワーク(ドリー、パン、ティルト、オービット)や被写体の動き(自然要素、ヘア・衣類、液体など)のプロンプト例を豊富に提供し、「控えめな動きほど高品質」という黄金ルールを強調。さらに、動画の長さガイドライン、シームレスなループを作るシネマグラフ効果、複数クリップの連結による時間延長、フルパイプライン(画像生成→アニメーション→アップスケール→オーディオ追加)まで網羅しています。開発者や AI エージェントユーザーが、実用的なワークフローをすぐに実装できるよう設計されています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JantonioFC/skillsbank/tree/HEAD/skills/image-to-video

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

画像から動画へ

使用タイミング

このスキルは、自動化ワークフローの一部として、以下のタスクに使用します。

inference.sh CLI を使用して、静止画像をアニメーション動画に変換します。

クイックスタート

curl -fsSL https://cli.inference.sh | sh && infsh login

# 静止画像を生成
infsh 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
}'

# それをアニメーション化
infsh 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 i2vfalai/wan-2-5-i2vリアルな動き、自然な動きフォトリアリスティック、控えめ
Seedance 1.5 Probytedance/seedance-1-5-proスタイライズ、クリエイティブ、アニメ的芸術的、表現豊か
Seedance 1.0 Probytedance/seedance-1-0-pro汎用、高品質バランス型
Fabric 1.0falai/fabric-1-0布、ファブリック、液体、流動素材物理ベースの流れ
Grok Imagine Videoxai/grok-imagine-video汎用アニメーション、テキストガイド多用途

各モデルの使用シーン

シナリオ最適なモデル理由
水や雲のある風景Wan 2.5 i2v自然でリアルな動きに最も優れている
微妙な表情のあるポートレートWan 2.5 i2v顔の忠実度を維持
布やファブリックのある製品Fabric 1.0素材の物理特性に特化
はためく旗、流れるカーテンFabric 1.0布のシミュレーション
イラスト調・アーティスティックな画像Seedanceスタイライズされたコンテンツに適合
汎用的な「命を吹き込む」用途Seedance 1.5 Pro優れた万能型
素早いテスト・イテレーションSeedance 1.0 Lite最速、720p

モーションタイプ

カメラワーク

動きプロンプトキーワード効果
押し込み / ドリー前進"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"

プロンプト構造

[カメラワーク] + [被写体の動き] + [大気効果] + [雰囲気/テンポ]

シナリオ別の例

# 風景アニメーション
infsh 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"
}'

# ポートレートアニメーション
infsh 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"
}'

# プロダクトショットアニメーション
infsh app run bytedance/seedance-1-5-pro --input '{
  "prompt": "slow 360 degree orbit around the product, gentle spotlight movement, subtle reflections shifting, premium product showcase, smooth motion",
  "image": "product.png"
}'

# 布/ファブリックアニメーション
infsh app run falai/fabric-1-0 --input '{
  "prompt": "fabric flowing and rippling in gentle wind, natural cloth physics, soft movement",
  "image": "fabric-scene.png"
}'

# 建築ビジュアライゼーション
infsh 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秒高品質SNS投稿、プロダクト公開
6-8秒良好短いクリップ、トランジション
10秒以上品質低下回避推奨(短いクリップをつなぐ場合は除く)

長さの延長

長い動画が必要な場合は、複数の短いクリップを生成して連結します:

# 同じ画像から3つのクリップを段階的な動きで生成
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "slow pan left, gentle water motion",
  "image": "scene.png"
}' --no-wait

infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "continuing pan, clouds shifting, light changing",
  "image": "scene.png"
}' --no-wait

# 連結
infsh app run infsh/media-merger --input '{
  "media": ["clip1.mp4", "clip2.mp4"]
}'

完全なワークフロー

静止画から最終動画へのパイプライン

# 1. ソース画像を生成(最高品質)
infsh 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. 画像をアニメーション化
infsh 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. 必要に応じて動画をアップスケール
infsh app run falai/topaz-video-upscaler --input '{
  "video": "animated-landscape.mp4"
}'

# 4. アンビエントオーディオを追加
infsh app run infsh/hunyuanvideo-foley --input '{
  "video": "animated-landscape.mp4",
  "prompt": "gentle nature ambience, distant birds, soft wind, water lapping"
}'

# 5. 動画とオーディオを結合
infsh app run infsh/video-audio-merger --input '{
  "video": "upscaled-landscape.mp4",
  "audio": "ambient-audio.mp3"
}'

シネマグラフ効果

シネマグラフとは、静止写真の中で一つの要素だけが動く(例:滝だけが動き、他は完全に静止している)技法です。これを実現するには:

  1. 動かしたい要素が明確に定義された静止画像を生成する
  2. その特定の要素のみに動きを指示するプロンプトを作成する
  3. シームレスなループのために2〜4秒に抑える
infsh 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秒に抑え、必要なら連結
カメラワークを指定しないランダム/予測不能な動き常にカメラの動きを指定
相反する動きの指示混沌として不自然一つの主要な動き方向のみ
低解像度のソース画像低解像度の動画出力最も高品質なソースから開始
複雑なアクションシーンモデルが対応できない動きはシンプルかつ自然に

関連スキル

npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@prompt-engineering

すべてのアプリを参照:infsh app list

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

JantonioFC/skillsbank

AI-powered image editing with style transfer and object removal

JantonioFC/skillsbank

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

JantonioFC/skillsbank

Analise e auditoria de editais de leilao judicial e extrajudicial. Riscos ocultos, clausulas perigosas, debitos, ocupante e classificacao da oportunidade.

JantonioFC/skillsbank

Embed Photopea in web apps using photopea.js. Covers embedding, file I/O, scripting, exporting, layers, text, filters, and the full Photoshop-compatible API.

JantonioFC/skillsbank

Best practices for Remotion - Video creation in React

JantonioFC/skillsbank

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

JantonioFC/skillsbank

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

JantonioFC/skillsbank

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

JantonioFC/skillsbank

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

JantonioFC/skillsbank

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

JantonioFC/skillsbank

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

JantonioFC/skillsbank

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

JantonioFC/skillsbank

Tool lifecycle UI components for React/Next.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending

JantonioFC/skillsbank

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

JantonioFC/skillsbank

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,'...

JantonioFC/skillsbank

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, expla...

JantonioFC/skillsbank

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awarene...

JantonioFC/skillsbank

Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, fole...

JantonioFC/skillsbank

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

JantonioFC/skillsbank

You are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.

関連スキル