Converts a single product image into a 3-5 second main-image video for e-commerce listing pages. Supports camera motion, material dynamics, and batch processing.
Ships in ecommerce-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–5 秒运动镜头 |
| 运镜控制 | 推、拉、环绕、俯仰、微距扫过 |
| 材质动态 | 面料飘动、金属反光扫过、液体晃动 |
| 批量 | 配合 batch-image 整批出 |
| 不能做 | 说明 |
|---|---|
| 长视频 | 超过 8 秒请用 product-video-ad 分镜串联 |
| 口播 | 用 ugc-testimonial |
| 改商品 | 视频模型会放大原图的瑕疵,先用 item-repair 修好 |
视频模型 ID 因后端而异,必须显式指定,脚本不会替你猜:
export DLAZY_VIDEO_MODEL=<你账号里可用的视频模型 ID>
拼接与字幕需要 ffmpeg(本技能的单镜模式用不到,分镜才需要)。
完整说明见 references/video-backends.md。
node scripts/video.mjs --mode clip --task main-image-video \
--image docs/flat-lay/example-output.jpg \
--prompt 'Slow push-in on the model. The cable-knit sweater fibers catch the light softly. Subtle natural body sway. Camera stays level, no cuts.' \
--seconds 3 \
--save out/sku001-main.mp4
# 先看会发什么,不计费
node scripts/video.mjs --mode clip --task main-image-video --image x.jpg \
--prompt '...' --dry-run
参数约定
| 参数 | 取值 | 理由 |
|---|---|---|
--image | 一张主图 | 竖版 3:4 或方图,分辨率越高越好 |
--seconds | 3 ~ 5 | 主图位视频普遍偏短,超过 5 秒完播率掉得快 |
--brand | brand.yaml | 让运镜与色调跟全店一致 |
结构:运镜 + 主体动态 + 环境动态 + 约束
<Camera move>. <What the product does>. <What the environment does>.
Keep the product identical to the reference image — same shape, color, texture, logo placement.
No cuts, no text overlay, no watermark. Photorealistic.
运镜词表
| 目标 | 英文 |
|---|---|
| 缓推 | slow push-in |
| 缓拉 | slow pull-back reveal |
| 环绕 | smooth 30-degree orbit around the product |
| 俯冲 | gentle top-down tilt |
| 微距扫过 | macro pan across the surface texture |
材质动态词表
| 品类 | 英文 |
|---|---|
| 针织 / 毛呢 | fibers catch the light, fabric breathes subtly |
| 真丝 / 雪纺 | fabric ripples in a gentle draft |
| 金属 / 珠宝 | specular highlight sweeps across the metal |
| 玻璃 / 液体 | liquid settles, light refracts through the glass |
| 皮革 | soft sheen shifts across the grain |
DLAZY_VIDEO_MODEL 没设就先问用户用哪个模型。| 现象 | 原因 | 怎么办 |
|---|---|---|
| 商品在动的过程中变形 | 运动幅度给太大 | 换成 slow / subtle 系的词,缩短时长 |
| 画面糊 | 原图分辨率不够 | 先用 material-enhancement 提清晰度 |
| 模特脸在动的时候崩 | 人脸是视频模型的重灾区 | 改用不露脸的景别,或改成商品特写 |
| 时长对不上 | 多数模型的时长是档位不是连续值 | 按模型支持的档位取,别硬凑 |
| 报错说没指定模型 | DLAZY_VIDEO_MODEL 没设 | 见「先配后端」 |
examples/brand.yaml (opens in a new tab)references/provider-cli.md (opens in a new tab)references/video-backends.md (opens in a new tab)scripts/brand.mjs (opens in a new tab)scripts/gen.mjs (opens in a new tab)scripts/lib/miniyaml.mjs (opens in a new tab)scripts/lib/providers.mjs (opens in a new tab)scripts/lib/tasks.json (opens in a new tab)scripts/video.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/batch-image多商品批量生图流水线。商品清单 CSV → 整批统一视觉的商拍图,带并发、重试、断点续跑、成本熔断与挑图联系表。当用户说「批量生图」「一批商品」「跑整个 SKU 表」「几百个商品出图」时使用。/brand-kit店铺品牌视觉锁定。一份 brand.yaml 定义模特、色温、构图、留白与文案语气,所有生图技能读它,保证跨 SKU 视觉统一。当用户说「统一风格」「同一个模特」「店铺调性」「品牌规范」「几百个 SKU 看起来像一家店」时使用。/clothing-detail服装工艺细节放大图。服装图 → 面料纹理、走线、织法的微距特写。当用户说「细节图」「特写」「面料放大」「工艺展示」「近景细节」时使用。/clothing-extraction从任意图提取干净商品平铺图。真人图 / 街拍图 → 白底平铺商品图。当用户说「提取衣服」「扒图」「转平铺」「抠成商品图」「从买家秀提取」时使用。/clothing-grass-planting同款穿搭换模特换场景做种草图。穿搭图 → 社交平台风格的种草图。当用户说「种草图」「小红书风格」「换场景发帖」「达人图」时使用。/creative-scene从零创意生图,也可定向改模特、姿势、搭配。一句描述(可选参考图)→ 图。当用户说「创意生图」「生成一张」「改个姿势」「换模板」「随便来张图」时使用。/ecommerce-skills:main-image-videofrom ecommerce-skills
npx claudepluginhub dlazy-ai/ecommerce-skills --plugin ecommerce-skillsOther plugins' skills for the same job