Loading...
Loading...
静态图片转视频指南:模型选择、运动提示词编写与镜头移动设置。涵盖Wan 2.5 i2v、Seedance、Fabric、Grok Video,说明各模型的适用场景。适用场景:图片动画制作、静态图生成视频、添加动态效果、产品动画。相关触发词:image to video、i2v、animate image、still to video、add motion to image、image animation、photo to video、animate still、wan i2v、image2video、bring image to life、animate photo、motion from image
npx skill4agent add skill-zero/s image-to-videocurl -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"
}'| 模型 | App ID | 最佳适用场景 | 运动风格 |
|---|---|---|---|
| Wan 2.5 i2v | | 真实感运动、自然动态 | 照片级写实、细微 |
| Seedance 1.5 Pro | | 风格化、创意、动画感内容 | 艺术化、表现力强 |
| Seedance 1.0 Pro | | 通用场景、画质优秀 | 均衡 |
| Fabric 1.0 | | 布料、织物、液体、流动材质 | 基于物理的流动效果 |
| 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" | 360°探索主体 |
| 升降 | "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" |
❌ "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、循环背景、活照片(Cinemagraph) |
| 4-5秒 | 高画质 | 社交媒体帖子、产品展示 |
| 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"
}'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-engineeringinfsh app list