Transforms product images into shot-by-shot prompts for image-to-video models (Kling, Runway, Veo, etc.) with camera motion, subject action, lighting, and duration. Includes a local Ken Burns fallback via ffmpeg.
Ships in ecommerce-video-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
把静态商品图变成 3–6 秒的「会动的镜头」:每张图配一条图生视频提示词 + 一条本地兜底方案(ffmpeg Ken Burns),保证没有视频模型也能出片。
Part of ecommerce-video-skills · 图从哪来?用姊妹仓库 ecommerce-image-skills 先出白底图/场景图/卖点图。
| 必填 | 说明 |
|---|---|
| 商品图 1–6 张 | 白底主图、场景图、细节图均可;越清晰越好(≥1000px) |
| 投放平台 | 抖音 / TikTok Shop / 视频号 / 淘宝主图视频 / Amazon(决定画幅 9:16、1:1、3:4、16:9) |
| 可选 | 卖点(最多 3 条)、目标时长、风格(清爽 / 高级 / 活力)、可用的视频模型 |
商品一致性锁(必做):看图写下形状、颜色、Logo/文字、材质、配件——之后每条提示词原样带上,禁止模型改商品。
PRODUCT LOCK: tall matte sage-green bottle, natural bamboo lid with black loop,
small white "AURA" wordmark on upper body. Keep shape, colour, logo and proportions identical in every frame.
给每张图选一个镜头角色(一张图只做一件事):
| 图类型 | 推荐镜头 | 动作 |
|---|---|---|
| 白底主图 | 缓慢推近 / 360° 环绕(模型支持时) | 产品静止,光影扫过 |
| 场景图 | 轻微横移 / 手部入画 | 人物拿起、倒水、放进包里 |
| 细节图 | 微距推近 | 光斑划过材质纹理 |
| 卖点/信息图 | 静止或极慢推 | 不让文字变形(文字区域尽量不动) |
写提示词(下方模板):主体 → 动作 → 运镜 → 光线/氛围 → 时长/画幅 → 约束。动作越小,商品越稳。
每条镜头都给本地兜底:没有视频模型 / 模型把商品变形时,用 ffmpeg-auto-assemble 的 motion 字段(zoom_in / pan_left / punch …)直接让静图动起来。
交付:镜头表(编号、图、提示词、兜底 motion、时长)+ 可以直接粘进 storyboard.json 的 shots 片段。
通用图生视频(中文)
[参考图] 作为首帧。{PRODUCT LOCK}
镜头:{缓慢推近 / 从左向右平移 / 低角度环绕 30°},运动平稳,无抖动。
画面动作:{冰块落入杯中溅起细小水花 / 手从画面右侧入画拿起杯子 / 柔和光斑从左扫到右}。
光线:{明亮自然光 / 柔和棚拍光,浅景深}。
时长约 {4} 秒,{9:16} 竖屏。
要求:商品形状、颜色、Logo 与参考图完全一致;不新增文字;不出现其他品牌;手部自然、五指正常。
English (most models parse English best)
Use the reference image as the first frame. {PRODUCT LOCK}
Camera: {slow push-in | gentle left-to-right truck | 30° low-angle orbit}, smooth, no shake.
Action: {ice cubes drop into the bottle with a small splash | a hand enters from the right and lifts the bottle | a soft light sweep across the surface}.
Lighting: {bright natural daylight | soft studio light, shallow depth of field}.
About {4} seconds, {9:16} vertical.
Keep the product's shape, colour and logo identical to the reference. No new text, no other brands, natural hands.
首尾帧模式(模型支持首帧+尾帧时):首帧 = 白底主图,尾帧 = 场景图,提示词只写「从棚拍过渡到户外场景,商品保持不变,镜头缓慢拉远」。
负面约束(模型支持 negative prompt 时):deformed product, melting, extra logos, changed colour, warped text, extra fingers, flicker, watermark
{"image": "assets/white-bg.webp", "motion": "zoom_in", "line": "换这只保温杯试试。"}
python scripts/assemble.py storyboard.json -o out/main-video.mp4 --size 1080x1080 # 本目录已附带 assemble.py
| 问题 | 修复 |
|---|---|
| 商品变形 / Logo 糊掉 | 减少动作,改成「camera moves, product stays still」;或改用本地 Ken Burns |
| 手部畸形 | 去掉手部动作,或让手只出现半秒、在画面边缘 |
| 画面闪烁 | 缩短时长、降低运动幅度、关掉夸张光效 |
| 文字乱码 | 别让模型生成文字;字幕和花字交给 subtitles-and-text-effects 后期加 |
| 颜色漂移 | 在提示词里写出色值或颜色名,并要求 "match the reference colour exactly" |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ecommerce-video-skills:image-to-video-shotsfrom ecommerce-video-skills
npx claudepluginhub xianyu110/ecommerce-video-skills --plugin ecommerce-video-skills13 skills in this plugin
/ai-voiceover-edge-ttsAI 口播配音:用免费的 edge-tts(微软 Edge 在线语音)为带货短视频逐句生成配音,自动去首尾静音、统计每句时长、缓存复用,可选音色/语速/音调,并给出口播稿改写规则。Use when the user needs a voice-over, 配音, 口播, 旁白, TTS, text-to-speech, AI 主播声音, or wants to turn a script into audio for 抖音 / TikTok / 视频号 videos./cover-title-ab封面与标题 A/B:为带货短视频生成多套封面(自动挑选清晰帧或用干净素材图 + 不同标题与版式)和多组标题/文案,导出 3:4 / 9:16 封面文件和对比图,并给出 A/B 测试方法与记录表。Use when the user wants a video cover, 封面, 首图, thumbnail, 标题, 文案, title variants, A/B test covers for 抖音 / 视频号 / 小红书 / TikTok, or wants to improve click-through rate./ffmpeg-auto-assembleffmpeg 自动拼接成片:一条命令把 storyboard.json(商品图/视频片段 + 口播稿)渲染成带配音、字幕花字、转场、BGM 自动闪避、响度标准化的 9:16 MP4,纯本地运行。Use when the user wants to assemble/edit/render a product video, 自动剪辑, 一键成片, 拼接视频, 图片转视频, Ken Burns, add BGM/subtitles/voice-over with ffmpeg, or batch-produce short videos without an editor./hook-3s-script3 秒钩子脚本:为电商短视频写前 3 秒开场(台词 + 画面 + 花字),按痛点/反差/结果先行/提问/数字/场景代入等钩子类型一次给出多版,并做合规自检。Use when the user asks for a hook, 开头, 黄金 3 秒, 前三秒, opening line, scroll-stopper, 完播率, or wants to rewrite a weak opening for 抖音 / TikTok Shop / 视频号 / Reels./live-stream-clips直播切片:从电商直播录屏中找出高光片段(按时间戳 / 按字幕关键词 / 按停顿自动提议),批量导出 9:16 竖屏切片,自动模糊填充横屏画面、烧录标题与字幕、响度标准化,并给切片写标题与开头钩子。Use when the user has a livestream recording and wants 直播切片, 切片, highlights, clips, 高光片段, repurpose a live stream into short videos for 抖音 / 视频号 / TikTok./multilingual-dubbing多语言本地化配音:把中文带货视频本地化为英语、日语、韩语、东南亚语(印尼/泰/越/马来/菲律宾)、西语等版本——本地化改写口播(不是直译)、选对 edge-tts 音色、生成对应字幕与花字,并用同一份 storyboard 一键渲染多语言成片。Use when the user wants dubbing, 多语言, 本地化, 翻译配音, 出海, localize a product video for TikTok Shop US/UK/SEA, English voice-over, or multiple language versions of one video.Other plugins' skills for the same job