소스 정보
- 저장소
- dlazy-ai/ecommerce-skills
- 최근 소스 활동
- 2026년 8월 29일 03:52
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 2
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/dlazy-ai/ecommerce-skills --skill fission-pattern명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
多商品批量生图流水线。商品清单 CSV → 整批统一视觉的商拍图,带并发、重试、断点续跑、成本熔断与挑图联系表。当用户说「批量生图」「一批商品」「跑整个 SKU 表」「几百个商品出图」时使用。
店铺品牌视觉锁定。一份 brand.yaml 定义模特、色温、构图、留白与文案语气,所有生图技能读它,保证跨 SKU 视觉统一。当用户说「统一风格」「同一个模特」「店铺调性」「品牌规范」「几百个 SKU 看起来像一家店」时使用。
服装工艺细节放大图。服装图 → 面料纹理、走线、织法的微距特写。当用户说「细节图」「特写」「面料放大」「工艺展示」「近景细节」时使用。
| name | fission-pattern |
| description | 一张商品图裂变成整套素材。商品图 + 卖点 → 多角度多场景成套图,够铺满一屏。当用户说「裂变套图」「一张变一屏」「凑够详情页」「出一套图」时使用。 |
一张商品图 → 一整套不同角度 / 场景 / 构图的商拍图。
电商主图位通常要 5 张,详情页要十几张。本技能解决的是「只有一张图,要凑满一屏」的问题:同一件商品,多个机位与场景,视觉识别保持一致。
| 输入:商品图 |
|---|
![]() |
product-watch.jpg — 黑色鳄鱼纹皮带钢壳银色太阳纹表盘手表 |
实际执行的命令(套图第 2 张,其余两张只换第三段镜位):
dlazy gpt-image-2 \
--prompt 'E-commerce product photography, set image 2 of 3 — in-use lifestyle shot. The subject is the watch from the reference image: a polished stainless-steel watch with a silver sunburst dial, applied baton markers and a black crocodile-embossed leather strap. Keep the product 100% faithful: same case shape and polish, same dial colour and marker layout, same hand shapes, same crown, same strap embossing and stitching — it must be recognisably the identical watch as the reference. Show it worn on a man wrist resting on a wooden cafe table beside a white coffee cup, dark suit sleeve and white shirt cuff visible, warm window light, shallow depth of field with a blurred cafe background. Photorealistic, no text, no watermark.' \
--images docs/fission-pattern/product-watch.jpg \
--size 1024x1536 --quality medium --imageFormat jpeg \
--save docs/fission-pattern/example-output-2.jpg
输出:一套三张
| 1 · 正面主图 | 2 · 场景使用图 | 3 · 细节微距图 |
|---|---|---|
![]() | ![]() | ![]() |
| 蓝图纸 + 黄铜直尺,冷调侧光 | 手腕佩戴 + 咖啡桌,暖色窗光 | 表盘/刻度/表冠微距,硬光勾边 |
三张的商品保真段逐字相同,只有镜位段在变。
| 模式 | 说明 |
|---|---|
| 商品套图 | 同一商品 → 正面主图 / 45 度图 / 场景使用图 / 细节微距图 / 尺寸对比图 |
| 姿势套图 | 同一模特同一穿搭 → 正面 / 侧面 / 背面 / 走动 / 坐姿 |
| 输入 | 说明 |
|---|---|
| 商品图 | 1 张,主视角最佳 |
| 商品名称 | 例:撞色长款风衣 |
| 商品卖点 | 例:100% 纯棉,轻盈舒适透气,法式复古撞色元素(用于决定场景与氛围) |
不做:不改商品的外形、颜色、材质与结构;不编造商品没有的功能卖点;不生成虚假促销信息。
生成前先自检这几条硬性约束:
输入建议
| 做法 | 说明 |
|---|---|
| ✅ 主视角 + 纯净背景 | 越干净,整套图的商品一致性越高 |
| ✅ 卖点写具体 | 防水防汗 会带出运动场景,法式复古 会带出咖啡馆场景 |
| ✅ 商品结构完整可见 | 套图里的细节图要靠这张图推断结构 |
| ❌ 已经带营销文字的图 | 文字会被复制到每张套图里,先用 remove-watermark 洗干净 |
| ❌ 商品被手/道具遮挡 | 遮住的部分在每张套图里都会不一样 |
把「一套图」拆成固定的镜位清单,每张一条 prompt,商品描述段完全复用,只换镜位段:
| # | 镜位 | 作用 | 镜位段示例 |
|---|---|---|---|
| 1 | 正面主图 | 搜索列表首图,要最清楚 | straight-on hero shot filling the frame, clean seamless background, even studio light |
| 2 | 45 度立体图 | 交代体积与厚度 | 45-degree three-quarter angle showing depth and side profile, soft gradient background |
| 3 | 场景使用图 | 建立使用联想 | in-use lifestyle shot: [场景 + 人物动作], warm window light, shallow depth of field |
| 4 | 细节微距图 | 证明材质与工艺 | macro close-up of [关键工艺部位] filling the frame, hard rim light, extreme detail |
| 5 | 对比 / 内构图 | 交代尺寸或内部 | [尺寸对比物 / 内部结构] shown alongside the product, top-down layout, neutral background |
一致性的关键:三段结构里,第一段(商品保真描述)在 5 条 prompt 里逐字相同,只有第三段(镜位)在变。
[段1 商品保真:不变] + [段2 卖点氛围:不变] + [段3 镜位:每张不同]
卖点决定第 3 张场景图长什么样,别让模型自由发挥:
| 卖点类型 | 场景写法 |
|---|---|
| 保暖 / 加厚 | snowy outdoor street, breath visible, cold blue ambient with warm rim light |
| 透气 / 速干 | gym or running track, dynamic mid-motion, bright daylight |
| 防水 / 三防 | rainy pavement with water droplets beading on the surface, overcast light |
| 通勤 / 商务 | office lobby or subway station, dark suit context, cool neutral light |
| 法式 / 复古 | French cafe interior, marble table, warm window light, film colour grading |
| 亲肤 / 婴童 | soft nursery bedding, pastel palette, very soft diffused light |
| 精密 / 工艺 | dark navy blueprint paper with a brass ruler, cool directional side light |
姿势套图用的是另一组:正面站姿 / 侧身转头 / 背面回头 / 自然行走 / 坐姿——每条只换姿势段,模特与穿搭段逐字不变(写法可直接复用 creative-scene 的改姿势句式)。
本技能使用 dLazy 的 gpt-image-2(套图的核心指标是整套图里的商品是同一件,需要最强的参考图保真;实测低价模型在多场景切换时会漂移出另一款商品)。
两种等价写法,选一种。统一入口会自动选后端、失败重试、建目录落盘、估算成本:
# A. 统一入口(推荐):可切任意后端,加 --dry-run 不计费空跑
node scripts/gen.mjs --task fission-pattern \
--prompt '<见下方 Prompt 模板>' \
--images <按下表顺序> \
--save output/fission-pattern-<sku>.jpg
# B. 直接用 dLazy CLI(不想引入 Node 依赖时,效果等价)
dlazy gpt-image-2 --prompt '...' --images ... --save output/fission-pattern.jpg
参数约定(本技能固定用法)
| 参数 | 取值 | 理由 |
|---|---|---|
--images | [商品图](全套 N 条命令都传同一张) | 保证整套图的商品同源 |
--size | 1024x1536 竖版套图;1024x1024 方图主图位 | 跟随平台主图规范 |
--quality | medium 场景图;high 细节微距图 | 微距图靠纹理说话 |
--imageFormat | jpeg | 电商上架通用格式 |
--batch | 1(套图靠多条 prompt,不靠 batch) | batch 只会给同一镜位多个版本 |
--save | docs/fission-pattern/output-<sku>-<序号>.jpg | 按套编号归档 |
成本提示:想压成本可换
dlazy seedream-5.0(单张约 1/6 价)。代价是商品保真度下降——实测在场景切换时会漂移成另一款商品,只适合对商品一致性不敏感的氛围图。
# basic call: 套图第 1 张(正面主图)
dlazy gpt-image-2 \
--prompt 'E-commerce product photography, set image 1 of 5 — hero front shot. The subject is the product in the reference image. Keep it 100% faithful: same shape, colour, material texture and structural details. Straight-on hero shot filling the frame, clean seamless background, even studio light. Photorealistic, no text, no watermark.' \
--images docs/fission-pattern/product-watch.jpg \
--size 1024x1536 --quality medium
# complex call: 用 shell 循环一次跑完整套 5 张
PRODUCT='a polished stainless-steel watch with a silver sunburst dial, applied baton markers and a black crocodile-embossed leather strap'
KEEP="Keep the product 100% faithful: same case shape and polish, same dial colour and marker layout, same hand shapes, same crown, same strap embossing and stitching."
i=0
for SHOT in \
'straight-on hero shot filling the frame, clean seamless background, even studio light' \
'45-degree three-quarter angle showing depth and side profile, soft gradient background' \
'in-use lifestyle shot: worn on a man wrist beside a coffee cup on a wooden cafe table, warm window light, shallow depth of field' \
'macro close-up of the dial edge, applied markers and knurled crown filling the frame, hard rim light, extreme detail' \
'top-down flat layout beside a brass ruler for scale, dark navy blueprint paper, cool side light'
do
i=$((i+1))
dlazy gpt-image-2 \
--prompt "E-commerce product photography, set image $i of 5. The subject is $PRODUCT from the reference image. $KEEP $SHOT. Photorealistic commercial product photography, no text, no watermark." \
--images docs/fission-pattern/product-watch.jpg \
--size 1024x1536 --quality medium --imageFormat jpeg \
--save docs/fission-pattern/output-sku001-$i.jpg
done
# 先估价不真跑(乘以套图张数就是总价)
dlazy gpt-image-2 --dry-run --prompt '...' --images a.jpg --size 1024x1536
| 要查什么 | 去哪 |
|---|---|
| 认证、多后端配置、输出结构、错误码 | references/provider-cli.md |
gpt-image-2 的全部可用参数 | references/model-flags.md |
| 统一入口的全部选项 | node scripts/gen.mjs --help |
三段结构,前两段整套复用,第三段每张不同:
E-commerce product photography, set image [N] of [总数].
【段1 · 商品保真,整套逐字相同】
The subject is [商品名称 + 颜色 + 材质] from the reference image.
Keep the product 100% faithful: same [外形], same [颜色], same [材质纹理],
same [结构细节:五金/缝线/图案/logo 位置] — it must be recognisably the identical product
across the whole set.
【段2 · 卖点氛围,整套逐字相同】
[从第四节表格取对应的氛围与色调描述]
【段3 · 镜位,每张不同】
[从第三节表格取镜位描述]
Photorealistic commercial product photography, no text, no watermark.
按问题追加的修正句
| 问题 | 追加到 prompt 末尾 |
|---|---|
| 套图里像两件不同商品 | Cross-check against the reference image: [关键识别特征] must match exactly. Any deviation is a failure. |
| 场景抢了商品的戏 | The product must occupy at least 40% of the frame and be the sharpest element; keep the environment subordinate and softly defocused. |
| 整套色调不统一 | Grade the whole set consistently: [色温 + 对比度描述]. |
| 细节图糊 | 改 --quality high,并追加 resolve individual [纹理单位:yarn plies / gear teeth / leather pores] |
| 现象 | 原因 | 处理 |
|---|---|---|
| 套图里的商品明显不是同一件 | 商品保真段太笼统,或用了低保真模型 | 列全关键识别特征;换 gpt-image-2 |
| 每张色调都不一样 | 未统一氛围段 | 氛围段整套逐字相同,并追加统一调色句 |
| 场景太满,商品变小 | 场景描述比商品描述更长 | 追加 40% 画面占比约束句 |
| 细节图看不出材质 | --quality medium | 改 high 并写明要解析到的纹理单位 |
| 套图里出现了营销文字 | 输入图自带文字 | 先洗图;prompt 末尾保留 no text, no watermark |
| 想出 12 张但成本太高 | 张数 × 单价 | 主图位 5 张用 gpt-image-2,详情页氛围图用 seedream-5.0 补量 |
Visit https://dlazy.com for more information.