# batch-image

Adopt this skill: https://proskills.md/skills/other/dlazy-ai-ecommerce-skills-skills-batch-image

Page: https://proskills.md/skills/other/dlazy-ai-ecommerce-skills-skills-batch-image
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: README.md
upstream: https://github.com/dlazy-ai/ecommerce-skills/blob/main/README.md

````text
<img src=".repolish/hero.svg" alt="" width="100%">

中文 · [English](README.en.md)

# ecommerce-skills

[![ci](https://github.com/dlazy-ai/ecommerce-skills/actions/workflows/ci.yml/badge.svg)](https://github.com/dlazy-ai/ecommerce-skills/actions/workflows/ci.yml)
[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![repolish](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/dlazy-ai/ecommerce-skills/main/.repolish/badge.json)](https://github.com/asale-ai/repolish)

<img src=".repolish/overview.svg" alt="ecommerce-skills at a glance" width="880">

一套面向**电商视觉生产**的 Agent 技能库：把「拍商品图」这件事拆成 26 个可组合的技能，
每个技能是一份可直接执行的 `skill.md`，配套可执行脚本，底层可切换多家图像 / 视频 / 文本模型。

平铺图 → 模特上身图 → 裂变套图 → 详情页 → 主图视频 → 投前质检 → 平台合规校验，
整条链路不用摄影棚、不约模特。它和「一堆 prompt」的区别在于三件事：

- **不锁后端** —— dLazy 默认，也能用 OpenAI / Gemini / fal / Replicate / 火山方舟，自带 key 即可；没 key 也能 `--dry-run` 空跑看清要发什么。
- **确定性动作交给脚本** —— 批量、重试、断点续跑、成本熔断、合规校验、闭环重跑都是脚本，不靠模型每次现编。
- **能验收** —— 上架前的平台规格是机检的，不是「看着差不多」。

---

## 生成效果示例

下面每一组都是**真实执行的结果**：左边是输入素材，右边是实际生成的输出图——不是效果图。
每条命令原样照抄即可复现，折叠在图下面。单个技能的示例也内联在它自己的 `skills/<name>/skill.md` 开头。

### 商品上身 — 让商品出现在人身上

#### [flat-lay](skills/flat-lay/skill.md) — 服装图一键上身试穿

<table><tr>
<td align="center" valign="bottom"><img src="docs/flat-lay/garment-flatlay.jpg" alt="输入 · 服装平铺图 800×800" height="168"><br><sub>输入 · 服装平铺图 800×800</sub></td>
<td align="center" valign="bottom"><img src="docs/flat-lay/pose-reference.jpg" alt="输入 · 姿势参考图 768×1024" height="168"><br><sub>输入 · 姿势参考图 768×1024</sub></td>
<td align="center" valign="bottom"><img src="docs/flat-lay/example-output.jpg" alt="输出 · 1024×1536 · 60 credits" height="168"><br><sub>输出 · 1024×1536 · 60 credits</sub></td>
</tr></table>

麻花织法、菱形提花、落肩版型、袖口罗纹与右袖织标均被保留；姿势、景别、光线与浅灰背景照抄参考图。

<details>
<summary>可复现命令</summary>

```bash
dlazy gpt-image-2 \
  --prompt 'E-commerce on-model product photography. Image 1 is the garment flat-lay: an olive-green cable-knit crewneck sweater. Image 2 is the pose/scene reference. Dress the model from image 2 in the garment from image 1, replacing the grey T-shirt. Keep the garment 100% faithful: identical olive-green color, cable-knit and diamond texture, oversized drop-shoulder fit, ribbed collar and cuffs, and the small woven label on the right cuff. Reproduce the reference exactly for pose, camera angle, crop, body proportions, lighting and the plain light-grey studio wall background. Photorealistic full-frame catalog shot, sharp fabric detail, natural soft light, no text or watermark.' \
  --images docs/flat-lay/garment-flatlay.jpg docs/flat-lay/pose-reference.jpg \
  --size 1024x1536 --quality high --imageFormat jpeg \
  --save docs/flat-lay/example-output.jpg
```

</details>

#### [wear-everything](skills/wear-everything/skill.md) — 鞋包配饰真人穿戴

<table><tr>
<td align="center" valign="bottom"><img src="docs/wear-everything/product-sunglasses.jpg" alt="输入 · 玳瑁色方框墨镜 768×1024" height="168"><br><sub>输入 · 玳瑁色方框墨镜 768×1024</sub></td>
<td align="center" valign="bottom"><img src="docs/wear-everything/model-reference.jpg" alt="输入 · 夜景街拍参考图 768×1024" height="168"><br><sub>输入 · 夜景街拍参考图 768×1024</sub></td>
<td align="center" valign="bottom"><img src="docs/wear-everything/example-output.jpg" alt="输出 · 1024×1536" height="168"><br><sub>输出 · 1024×1536</sub></td>
</tr></table>

墨镜按正确的鼻梁/耳挂关系落位，镜框玳瑁纹理与镜片色保留；模特五官、围巾千鸟格、夜景街道与色调保持原样。

<details>
<summary>可复现命令</summary>

```bash
dlazy gpt-image-2 \
  --prompt 'On-model accessory product photography. Image 1 is the product: a pair of tortoise-brown rectangular sunglasses with dark grey lenses. Image 2 is the model/scene reference. Put the sunglasses from image 1 onto the face of the model in image 2, correctly seated on the nose bridge and ears with natural perspective, realistic lens reflections and a soft shadow on the cheekbones. Keep the product 100% faithful: identical frame shape, tortoise-brown acetate color and grain, hinge and temple design, lens tint. Change nothing else — face, hair, scarf, coat, bag chain, night street background, colour grading and crop must stay pixel-identical to image 2. Photorealistic, no text, no watermark.' \
  --images docs/wear-everything/product-sunglasses.jpg docs/wear-everything/model-reference.jpg \
  --size 1024x1536 --quality medium --imageFormat jpeg \
  --save docs/wear-everything/example-output.jpg
```

</details>

#### [image-fusion](skills/image-fusion/skill.md) — 多单品自由搭配融图

<table><tr>
<td align="center" valign="bottom"><img src="docs/image-fusion/item-sweater.jpg" alt="输入 1 · 麻花针织毛衣" height="168"><br><sub>输入 1 · 麻花针织毛衣</sub></td>
<td align="center" valign="bottom"><img src="docs/image-fusion/item-hat.jpg" alt="输入 2 · 编织渔夫帽" height="168"><br><sub>输入 2 · 编织渔夫帽</sub></td>
<td align="center" valign="bottom"><img src="docs/image-fusion/item-necklace.jpg" alt="输入 3 · 珍珠项链" height="168"><br><sub>输入 3 · 珍珠项链</sub></td>
<td align="center" valign="bottom"><img src="docs/image-fusion/example-output.jpg" alt="输出 · 3:4 / 2K · 5 credits" height="168"><br><sub>输出 · 3:4 / 2K · 5 credits</sub></td>
</tr></table>

三件单品同时到位，毛衣的麻花织法、渔夫帽的编织配色与项链的珠径都被保留；未提供的下装与鞋按 prompt 指定补齐。

<details>
<summary>可复现命令</summary>

```bash
dlazy seedream-5.0 \
  --prompt '电商搭配商拍图。将参考图中的多件单品组合到同一个模特身上：图1 的军绿色麻花针织圆领毛衣作为上装，图2 的彩色编织渔夫帽戴在头上，图3 的珍珠项链戴在颈部。每件单品必须与参考图完全一致——颜色、织法纹理、图案、材质与细节都不能改。下装自动补一条米白色阔腿长裤，脚穿白色运动鞋。青年亚洲女模特，正面站姿，全身入画，纯浅灰色摄影棚背景，柔和顶光，真实照片质感，无文字无水印。' \
  --images docs/image-fusion/item-sweater.jpg docs/image-fusion/item-hat.jpg docs/image-fusion/item-necklace.jpg \
  --size 3:4 --resolution 2k \
  --save docs/image-fusion/example-output.jpg
```

</details>

### 单图变多图 — 一张图裂变成一屏

#### [one-shot](skills/one-shot/skill.md) — 换模特 / 换背景

<table><tr>
<td align="center" valign="bottom"><img src="docs/one-shot/source-model.jpg" alt="输入 · 原模特图 768×1024" height="168"><br><sub>输入 · 原模特图 768×1024</sub></td>
<td align="center" valign="bottom"><img src="docs/one-shot/example-output.jpg" alt="输出 · 1024×1536" height="168"><br><sub>输出 · 1024×1536</sub></td>
</tr></table>

灰色落肩短袖的颜色、版型、胸前 logo 与下摆弧线保持不变；模特换成另一位男青年，棚拍灰墙换成树影斑驳的街景，姿势与景别沿用原图。

<details>
<summary>可复现命令</summary>

```bash
dlazy gpt-image-2 \
  --prompt 'Replace the model and the background of this e-commerce photo while keeping the garment untouched. Keep the grey oversized short-sleeve T-shirt exactly as it is: same slate-grey colour, same drop-shoulder cut, same white chest logo, same folds and hem. Replace the person with a different male model of similar build and age, and replace the plain studio wall with a sunlit outdoor city street with soft bokeh. Keep the same pose, camera angle, crop and framing. Photorealistic catalog shot, natural light, no text, no watermark.' \
  --images docs/one-shot/source-model.jpg \
  --size 1024x1536 --quality medium --imageFormat jpeg \
  --save docs/one-shot/example-output.jpg
```

</details>

#### [fission-pattern](skills/fission-pattern/skill.md) — 一张图裂变完整套图

<table><tr>
<td align="center" valign="bottom"><img src="docs/fission-pattern/product-watch.jpg" alt="输入 · 商品图" height="168"><br><sub>输入 · 商品图</sub></td>
<td align="center" valign="bottom"><img src="docs/fission-pattern/example-output-1.jpg" alt="输出 1 · 正面主图" height="168"><br><sub>输出 1 · 正面主图</sub></td>
<td align="center" valign="bottom"><img src="docs/fission-pattern/example-output-2.jpg" alt="输出 2 · 场景使用图" height="168"><br><sub>输出 2 · 场景使用图</sub></td>
<td align="center" valign="bottom"><img src="docs/fission-pattern/example-output-3.jpg" alt="输出 3 · 细节微距图" height="168"><br><sub>输出 3 · 细节微距图</sub></td>
</tr></table>

三张的商品保真段逐字相同，只有镜位段在变——蓝图纸冷调侧光 / 咖啡桌暖色窗光 / 表盘微距硬光勾边。下面是套图第 2 张的命令。

<details>
<summary>可复现命令（套图第 2 张）</summary>

```bash
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,
````
