Communitygithub.com

静止画から動画への変換(画像→動画)

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

静止画から動画への変換(画像→動画) とは?

このスキルは、静止画から動画を生成するための実践的なガイドです。`inference.sh` CLIをベースに、複数の画像生成・動画生成モデル(Wan 2.5 i2v、Seedance 1.5 Pro/1.0 Pro、Fabric 1.0、Grok Imagine Videoなど)を紹介し、それぞれの得意分野やモーションスタイルに応じたモデル選択の基準を提供します。カメラワーク(ドリー、パン、チルトなど)や被写体の動き(自然要素、髪の毛、衣服、液体など)に関するプロンプトのベストプラクティスも詳しく解説。さらに、動画の長さガイドラインや、複数クリップの合成による時間延長、シネマグラフ効果(一部分のみ動く静止画風動画)の作り方、よくあるミスとその回避方法までカバーしています。開発者やAIエージェントユーザーが、高品質な画像-to-ビデオ変換を効率的に行うために必要な知識をすべて提供します。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AngelescuCiprian/claude-skills/tree/HEAD/.agents/skills/image-to-video

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

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

ドキュメント

画像から動画へ

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

クイックスタート

inference.sh CLI(infsh)が必要です。インストール手順

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リアルな動き、自然な動作フォトリアリスティック、控えめ
WAN-I2V (Pruna)pruna/wan-i2v経済的、高速、480p/720p自然、効率的
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"

プロンプトの構造

[Camera movement] + [Subject motion] + [Atmospheric effects] + [Mood/pace]

シナリオ別の例

# 風景アニメーション
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つの要素だけが動く(例:滝だけが動き、他は完全に静止している)技法です。これを実現するには:

  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秒に抑え、必要なら連結
カメラワークを指定しないランダム/予測不能な動き常にカメラの動作を指定
競合する動きの方向混沌、不自然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

全アプリを表示: infsh app list

Individual skills in this repo

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

AngelescuCiprian/claude-skills

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, explainer videos, virtual influencers, dubbing, marketing videos. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human

AngelescuCiprian/claude-skills

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 awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

AngelescuCiprian/claude-skills

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, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative

AngelescuCiprian/claude-skills

ElevenLabs text-to-speech with 22+ premium voices, multilingual support, and voice tuning via inference.sh CLI. Models: eleven_multilingual_v2 (highest quality), eleven_turbo_v2_5 (low latency), eleven_flash_v2_5 (ultra-fast). Capabilities: text-to-speech, voice selection, stability/style control, 32 languages. Use for: voiceovers, audiobooks, video narration, podcasts, accessibility, IVR. Triggers: elevenlabs, eleven labs, elevenlabs tts, premium tts, professional voice, ai voice, high quality tts, multilingual tts, eleven labs voice, voice generation, natural speech, realistic voice, voice over, speech synthesis

AngelescuCiprian/claude-skills

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

AngelescuCiprian/claude-skills

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

AngelescuCiprian/claude-skills

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

AngelescuCiprian/claude-skills

Best practices for Remotion - Video creation in React

AngelescuCiprian/claude-skills

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

AngelescuCiprian/claude-skills

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

AngelescuCiprian/claude-skills

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

AngelescuCiprian/claude-skills

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

関連スキル