Communitygithub.com

Biznomad/agent-skills

将静态图像转换为动画视频的指南:模型选择、运动提示和镜头移动。涵盖Wan 2.5 i2v、Seedance、Fabric、Grok Video,并说明何时使用。

agent-skills 是什么?

该技能是一个全面的指南,用于将静态图像转换为动画视频,主要面向使用inference.sh CLI工具的开发者。它提供了详细的模型选择建议,包括Wan 2.5 i2v、Seedance 2.0、Fabric 1.0和Grok Imagine Video等,针对不同场景推荐最佳模型。技能还深入讲解了运动类型,如摄像机移动(推拉、平移、旋转)和主体运动(自然元素、布料、人物等),并提供了提示工程的最佳实践,强调“微妙胜于戏剧化”的原则。此外,它还介绍了完整的从图像到最终视频的工作流程,包括图像生成、动画、放大、添加音频和视频拼接。该技能支持多种AI代理平台,通过CLI命令执行,是图像转视频任务的实用资源。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Biznomad/agent-skills/tree/HEAD/image-to-video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

安装belt CLI技能: npx skills add belt-sh/cli

图像转视频

通过inference.sh CLI将静态图像转换为动画视频。

快速开始

需要inference.sh CLI(belt)。安装说明

belt login

# 生成静态图像
belt 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
}'

# 将其动画化
belt 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 i2vfalai/wan-2-5-i2v真实运动、自然移动照片级真实感,微妙
WAN-I2V (Pruna)pruna/wan-i2v经济、快速、480p/720p自然,高效
Seedance 2.0bytedance/seedance-2-0最高1080p、同步音频、所有输入类型多功能,高质量
Seedance 2.0 Fastbytedance/seedance-2-0-fast快速变体,相同能力多功能,快速
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 2.0匹配风格化内容
通用的“生动化”Seedance 2.0万金油,最高1080p
快速测试/迭代Seedance 2.0 Fast生成更快

运动类型

摄像机移动

运动提示关键词效果
推进/推轨向前"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"三维探索
上升"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"

提示结构

[摄像机移动] + [主体运动] + [大气效果] + [情绪/节奏]

按场景的示例

# 风景动画
belt 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"
}'

# 肖像动画
belt 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"
}'

# 产品展示动画
belt app run bytedance/seedance-2-0 --input '{
  "prompt": "slow 360 degree orbit around the product, gentle spotlight movement, subtle reflections shifting, premium product showcase, smooth motion",
  "image": "product.png",
  "generate_audio": true
}'

# 布料/织物动画
belt app run falai/fabric-1-0 --input '{
  "prompt": "fabric flowing and rippling in gentle wind, natural cloth physics, soft movement",
  "image": "fabric-scene.png"
}'

# 建筑可视化
belt 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秒高质量社交媒体帖子、产品展示
6-8秒良好质量短片、过渡
10+秒质量下降避免使用,除非拼接短片

延长时长

对于更长的视频,生成多个短片并拼接:

# 从同一图像生成3个片段,使用渐进式运动
belt app run falai/wan-2-5-i2v --input '{
  "prompt": "slow pan left, gentle water motion",
  "image": "scene.png"
}' --no-wait

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

# 拼接在一起
belt app run infsh/media-merger --input '{
  "media": ["clip1.mp4", "clip2.mp4"]
}'

完整工作流程

静态图像到最终视频流水线

# 1. 生成源图像(最佳质量)
belt 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. 将图像动画化
belt 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. 如有需要则对视频进行放大
belt app run falai/topaz-video-upscaler --input '{
  "video": "animated-landscape.mp4"
}'

# 4. 添加环境音频
belt app run infsh/hunyuanvideo-foley --input '{
  "video": "animated-landscape.mp4",
  "prompt": "gentle nature ambience, distant birds, soft wind, water lapping"
}'

# 5. 合并视频和音频
belt app run infsh/video-audio-merger --input '{
  "video": "upscaled-landscape.mp4",
  "audio": "ambient-audio.mp3"
}'

动态照片效果

动态照片是一种静态照片,其中只有一个元素在运动(例如,在冻结的场景中瀑布移动)。要做到这一点:

  1. 生成清晰定义了运动元素的静态图像
  2. 仅针对该特定元素进行运动提示
  3. 保持2-4秒以实现无缝循环
belt 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@p-video
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@prompt-engineering

浏览所有应用:belt app store

Individual skills in this repo

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

Biznomad/agent-skills

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and conversion rate potential. Use when user says "landing page", "post-click experience", "landing page audit", "conversion rate", or "landing page optimization".

Biznomad/agent-skills

TikTok Ads deep analysis covering creative quality, tracking, bidding, campaign structure, and TikTok Shop. Evaluates 25 checks with emphasis on creative-first strategy, safe zone compliance, and Smart+ campaigns. Use when user says "TikTok Ads", "TikTok marketing", "TikTok Shop", "Spark Ads", "Smart+", or "TikTok campaign".

Biznomad/agent-skills

YouTube Ads specific analysis covering campaign types, creative quality, audience targeting, and measurement. Evaluates video ad performance across skippable, non-skippable, bumper, Shorts, and Demand Gen formats. Use when user says "YouTube Ads", "video ads", "pre-roll", "bumper ads", "YouTube campaign", or "Shorts ads".

Biznomad/agent-skills

Help users get promoted at work. Use when someone is preparing for a promotion conversation, building their case for advancement, trying to understand what's blocking their promotion, or figuring out how to get to the next level in their career.

Biznomad/agent-skills

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

Biznomad/agent-skills

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

Biznomad/agent-skills

Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)

Biznomad/agent-skills

HyperFrames CLI dev loop — `npx hyperframes` for scaffolding (init), validation (lint, inspect), preview, render, and environment troubleshooting (doctor, browser, info, upgrade). Use when running any of these commands or troubleshooting the HyperFrames build/render environment. For asset preprocessing commands (`tts`, `transcribe`, `remove-background`), invoke the `hyperframes-media` skill instead.

Biznomad/agent-skills

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

Biznomad/agent-skills

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

Biznomad/agent-skills

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For dev-loop CLI commands (init, lint, inspect, preview, render) see the hyperframes-cli skill; for asset preprocessing commands (tts, transcribe, remove-background) see the hyperframes-media skill.

Biznomad/agent-skills

>- The Landing Page Audit skill performs comprehensive evaluations of post-click experiences, combining technical performance analysis with conversion rate optimization (CRO) assessment.

Biznomad/agent-skills

Write high-converting landing page copy using proven frameworks like PAS (Problem-Agitate-Solution), AIDA, and StoryBrand. Creates headlines, value propositions, CTAs, and full page sections optimized for conversion. Use when users need landing page copy, sales page content, or marketing website text.

Biznomad/agent-skills

Optimize landing pages for higher conversion rates using proven frameworks and design patterns. Use when designing, reviewing, or improving landing pages, hero sections, pricing pages, CTAs, or when the user asks about conversion optimization.

Biznomad/agent-skills

Read-only queue dashboard for workspace-aware ship. (gstack)

Biznomad/agent-skills

Building promotion cases, brag documents, tracking wins, and self-advocacy for career advancement. Use when preparing for promotions, documenting accomplishments, or building your case for advancement.

Biznomad/agent-skills

Best practices for Remotion - Video creation in React

Biznomad/agent-skills

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames (e.g. "port my Remotion project to HyperFrames"). Do NOT use when (a) authoring a NEW HyperFrames composition (even if A/B-testing a Remotion video); (b) Remotion is mentioned in passing; (c) Remotion code is shared as reference, not for translation; (d) the user wants "the same video as my Remotion one" without explicitly asking to migrate the source — treat as a fresh HyperFrames build. When in doubt, default to the `hyperframes` skill. Detects unsupported patterns (useState, useEffect side effects, async calculateMetadata, third-party React component libraries, `@remotion/lambda`) and recommends the runtime interop escape hatch instead of a lossy translation.

Biznomad/agent-skills

Produce programmable videos with Remotion using scene planning, asset orchestration, and validation gates for automated, brand-consistent video content.

Biznomad/agent-skills

Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.

相关技能