Communitygithub.com

ComeOnOliver/skillshub

Guide de conversion d'image fixe en vidéo : sélection de modèles, animation par instructions et mouvements de caméra. Couvre Wan 2.5 i2v, Seedance, Fabric, Grok Video avec les cas d'usage.

Qu'est-ce que skillshub ?

Ce skill fournit un guide complet pour convertir des images fixes en vidéos animées via l'interface en ligne de commande inference.sh. Il détaille la sélection de modèles (Wan 2.5 i2v, Seedance, Fabric, Grok Video) selon le type de contenu et le style de mouvement souhaité — réaliste, stylisé, physique des matériaux, ou animé. Le guide explique comment formuler des instructions de mouvement avec une structure recommandée (mouvement caméra + mouvement sujet + effets atmosphériques + ambiance) et donne des bonnes pratiques pour éviter les distorsions. Il couvre également les types de mouvements (caméra, sujet, atmosphériques), la gestion de la durée, l'effet cinémagraphe, et un pipeline complet de la génération d'image jusqu'à l'audio d'ambiance. Supporte les plateformes d'inférence via CLI sur macOS, Linux et Windows.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/inference-sh-9/image-to-video

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Image vers Vidéo

Convertir des images fixes en vidéos animées via l'interface en ligne de commande inference.sh.

Démarrage rapide

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

# Générer une image fixe
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
}'

# L'animer
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"
}'

Note d'installation : Le script d'installation détecte votre OS/architecture, télécharge le binaire correspondant depuis dist.inference.sh et vérifie sa somme de contrôle SHA-256. Aucune élévation de privilèges ni processus en arrière-plan. Installation manuelle et vérification disponibles.

Sélection de modèles

ModèleID de l'applicationMeilleur pourStyle de mouvement
Wan 2.5 i2vfalai/wan-2-5-i2vMouvement réaliste, animation naturellePhotoréaliste, subtil
Seedance 1.5 Probytedance/seedance-1-5-proStylisé, créatif, type animationArtistique, expressif
Seedance 1.0 Probytedance/seedance-1-0-proUsage général, bonne qualitéÉquilibré
Fabric 1.0falai/fabric-1-0Tissu, matière, liquide, matériaux fluidesÉcoulement basé sur la physique
Grok Imagine Videoxai/grok-imagine-videoAnimation générale, guidée par textePolyvalent

Quand utiliser chacun

ScénarioMeilleur modèlePourquoi
Paysage avec eau/nuagesWan 2.5 i2vMeilleur pour le mouvement naturel et réaliste
Portrait avec expression subtileWan 2.5 i2vMaintient la fidélité du visage
Produit avec tissu/étoffeFabric 1.0Spécialisé dans la physique des matériaux
Drapeau qui flotte, rideau qui couleFabric 1.0Simulation de tissu
Image illustrée/artistiqueSeedanceCorrespond au contenu stylisé
« Donner vie » en généralSeedance 1.5 ProBon compromis général
Test / itération rapideSeedance 1.0 LiteLe plus rapide, 720p

Types de mouvement

Mouvement de caméra

MouvementMot-clé de l'instructionEffet
Zoom avant / Dolly avant"slow dolly forward", "camera pushes in"Intimité / mise au point croissante
Zoom arrière / Dolly arrière"camera pulls back", "slow zoom out"Révélation, contexte
Panoramique gauche/droite"camera pans slowly to the right"Balayage, suivi
Inclinaison haut/bas"camera tilts upward"Révélation de hauteur
Orbite"camera orbits around the subject"Exploration 3D
Grue vers le haut"camera rises upward"Révélation grandiose
Statique(aucune instruction de mouvement de caméra)Mouvement du sujet uniquement

Mouvement du sujet

TypeExemples d'instructions
Éléments naturels"water rippling", "clouds drifting", "leaves rustling in breeze"
Cheveux/vêtements"hair blowing gently in wind", "dress fabric flowing"
Atmosphérique"fog slowly rolling", "dust particles floating in light beams"
Personnage"person slowly turns to camera", "subtle breathing motion"
Mécanique"gears turning", "clock hands moving"
Liquide"coffee steam rising", "paint dripping", "water pouring"

Bonnes pratiques pour les instructions

La règle d'or : Subtil > Dramatique

Les modèles vidéo IA produisent de meilleurs résultats avec un mouvement doux et subtil qu'avec une action dramatique. Demander trop de mouvement entraîne des distorsions et des artefacts.

❌ "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"

Structure de l'instruction

[Mouvement de caméra] + [Mouvement du sujet] + [Effets atmosphériques] + [Ambiance/rythme]

Exemples par scénario

# Animation de paysage
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"
}'

# Animation de portrait
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"
}'

# Animation de plan produit
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"
}'

# Animation de tissu/étoffe
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"
}'

# Visualisation architecturale
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"
}'

Directives de durée

DuréeQualitéUtilisation
2-3 secondesQualité la plus élevéeGIFs, fonds en boucle, cinémagraphes
4-5 secondesHaute qualitéPublications sur les réseaux sociaux, présentations de produits
6-8 secondesBonne qualitéCourts clips, transitions
10+ secondesQualité dégradéeÉviter, sauf pour assembler des clips plus courts

Prolonger la durée

Pour des vidéos plus longues, générez plusieurs clips courts et assemblez-les :

# Générer 3 clips à partir de la même image avec un mouvement progressif
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

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

Le workflow complet

Pipeline de l'image fixe à la vidéo finale

# 1. Générer l'image source (meilleure qualité)
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. Animer l'image
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. Upscaler la vidéo si nécessaire
infsh app run falai/topaz-video-upscaler --input '{
  "video": "animated-landscape.mp4"
}'

# 4. Ajouter un audio d'ambiance
infsh app run infsh/hunyuanvideo-foley --input '{
  "video": "animated-landscape.mp4",
  "prompt": "gentle nature ambience, distant birds, soft wind, water lapping"
}'

# 5. Fusionner la vidéo avec l'audio
infsh app run infsh/video-audio-merger --input '{
  "video": "upscaled-landscape.mp4",
  "audio": "ambient-audio.mp3"
}'

Effet cinémagraphe

Un cinémagraphe est une photo fixe où un seul élément bouge (par exemple, une cascade qui coule dans une scène par ailleurs figée). Pour y parvenir :

  1. Générez l'image fixe avec l'élément en mouvement clairement défini
  2. Demandez le mouvement uniquement dans cet élément spécifique
  3. Restez sur 2 à 4 secondes pour une boucle parfaite
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"
}'

Erreurs courantes

ErreurProblèmeCorrection
Trop de mouvement demandéDistorsion, artefacts, déformationSubtil > dramatique, toujours
Mauvais modèle pour le type de contenuRésultats médiocresUtiliser le guide de sélection ci-dessus
Clips trop longs (10s+)Qualité significativement dégradéeRester sur 3-5 secondes, assembler si nécessaire
Aucun mouvement de caméra spécifiéMouvement aléatoire/imprévisibleToujours spécifier le comportement de la caméra
Directions de mouvement contradictoiresChaotique, non naturelUne seule direction de mouvement principale
Image source de faible résolutionVidéo de sortie de faible résolutionCommencer avec la source de la plus haute qualité
Scènes d'action complexesLes modèles ne peuvent pas gérerGarder le mouvement simple et naturel

Compétences associées

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

Parcourir toutes les applications : 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

Skills associés