Communitygithub.com

ComeOnOliver/skillshub

静止画から動画への変換ガイド:モデル選択、モーションプロンプト、カメラワーク。Wan 2.5 i2v、Seedance、Fabric、Grok Video の各モデルを適切なシーンで使い分ける方法を解説。用途:画像アニメーション、静止画からの動画生成、モーション追加、プロダクトアニメーション。トリガー:画像から動画へ、i2v、画像アニメーション、静止画から動画へ、画像にモーション追加、画像アニメーション、写真から動画へ、静止画アニメーション、wan i2v、画像2動画、画像に命を吹き込む、写真アニメーション、画像からのモーション

skillshub とは?

このスキルは、inference.sh CLI を使用して静止画像からアニメーション動画を生成するための包括的なガイドです。Wan 2.5 i2v、Seedance、Fabric、Grok Video など、複数のビデオ生成モデルの選択基準、モーションプロンプトのベストプラクティス、効果的なカメラワークの指定方法を詳細に解説します。特に、自然な動きを実現するための「Subtle > Dramatic」という黄金律や、プロンプト構造のテンプレートを提供し、初心者から上級者までが高品質な動画を作成できるよう支援します。また、複数クリップの結合による長時間動画の生成や、シネマグラフ効果の実現方法、フルパイプライン(静止画生成→アニメーション→アップスケール→オーディオ追加)までカバーしており、AIエージェントユーザーが一貫したワークフローを構築するのに役立ちます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/inference-sh-9/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": "夕暮れ時の静かな山の湖、鏡のような水面に映る雪を頂いた峰々、ゴールデンアワーの光、風景写真",
  "width": 1248,
  "height": 832
}'

# 画像をアニメーション
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "湖面に優しいさざ波、雲がゆっくりと漂う、暖かい光が移り変わる、遠くを飛ぶ鳥",
  "image": "path/to/lake-image.png"
}'

インストールについて: インストールスクリプト は、お使いのOSとアーキテクチャを検出し、dist.inference.sh から該当するバイナリをダウンロードし、SHA-256チェックサムを検証します。管理者権限やバックグラウンドプロセスは不要です。手動インストールと検証 も利用可能です。

モデル選択

モデルアプリ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"壮大な提示
静止(カメラ動作のプロンプトなし)被写体の動きのみ

被写体の動き

タイププロンプト例
自然要素"水面にさざ波", "雲が漂う", "そよ風に揺れる葉"
髪・衣類"風に優しく揺れる髪", "流れるようなドレスの生地"
大気効果"ゆっくりと広がる霧", "光の束に浮かぶ埃"
キャラクター"人物がゆっくりとカメラの方を向く", "微妙な呼吸の動き"
機械"回転する歯車", "動く時計の針"
液体"立ち上るコーヒーの湯気", "滴るペンキ", "注がれる水"

プロンプティングのベストプラクティス

黄金律: 控えめ > 劇的

AI動画モデルは、派手なアクションよりも穏やかで控えめな動きに対して良い結果を出力します。過度な動きを要求すると、歪みやアーティファクトが発生します。

❌ "障害物を飛び越えながら走る人、カメラは回転"
✅ "ゆっくりと前に歩く人、そよ風、カメラは並走"

❌ "破片が飛び散る爆発"
✅ "優しく揺れるろうそくの炎、暖かいアンビエントライトの移ろい"

❌ "劇的なカメラシェイクを伴う目への高速ズーム"
✅ "被写体へのゆっくりとしたドリー前進、微妙なフォーカスシフト"

プロンプト構造

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

シナリオ別の例

# 風景アニメーション
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "右への穏やかなカメラパン、動く雲を映す水面、そよ風に少し揺れる木々、暖かい黄金の光、静かでゆっくりとした",
  "image": "landscape.png"
}'

# ポートレートアニメーション
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "微妙な呼吸の動き、わずかな頭の動き、自然なまばたき、優しく動く髪、柔らかなアンビエントライトの変化",
  "image": "portrait.png"
}'

# プロダクトショットアニメーション
infsh app run bytedance/seedance-1-5-pro --input '{
  "prompt": "プロダクトを中心とした360度のスローオービット、優しいスポットライトの動き、微妙な反射の変化、プレミアムプロダクトの紹介、滑らかな動き",
  "image": "product.png"
}'

# 布/生地アニメーション
infsh app run falai/fabric-1-0 --input '{
  "prompt": "優しい風に揺れ、波打つ布地、自然な布の物理、柔らかな動き",
  "image": "fabric-scene.png"
}'

# 建築ビジュアライゼーション
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "入り口を通ってのゆっくりとしたドリー前進、わずかなカメラの上向きチルト、窓から差し込むアンビエントライト、光の束の中の埃",
  "image": "building-interior.png"
}'

尺のガイドライン

尺品質用途
2〜3秒最高品質GIF、ループ背景、シネマグラフ
4〜5秒高品質SNS投稿、プロダクトリビール
6〜8秒良好な品質短いクリップ、トランジション
10秒以上品質が低下避ける(短いクリップをつなぎ合わせる場合を除く)

尺の延長

より長い動画が必要な場合は、複数の短いクリップを生成し、つなぎ合わせます:

# 同じ画像から、徐々に動きを進めた3つのクリップを生成
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "左へのスローパン、穏やかな水の動き",
  "image": "scene.png"
}' --no-wait

infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "パンを続ける、雲が移り変わる、光が変化する",
  "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": "映画のような風景、夜明けの霧に包まれた山々、前景の湖、劇的な雲、ゴールデンアワー、4K品質、プロフェッショナルな写真",
  "size": "2K"
}'

# 2. 画像をアニメーション
infsh app run falai/wan-2-5-i2v --input '{
  "prompt": "谷間をゆっくりと流れる霧、さざ波立つ湖面、ゆっくり動く雲、遠くの鳥、暖かい光の移ろい",
  "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": "優しい自然の雰囲気、遠くの鳥、柔らかな風、水のせせらぎ"
}'

# 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": "滝だけが動いている、他のすべては完全に静止、水が滑らかに流れ落ちる、それ以外のシーンは凍結",
  "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.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

関連スキル