Product image + selling point copy → Conversion-focused e-commerce main image with layout。
Division of labor with item-detail : item-detail producesthe various modules of the detail page long image(high information volume, multiple modules), while this skill producesa single square image for the main image slot(low information density, must be legible even at thumbnail size).
Generation result example
| Input: product image |
|---|
product-shoes.jpg — Black crocodile-embossed glossy leather brogue derby shoes, white background, 800×800 |
Command actually executed:
dlazy seedream-5.0-pro \
--prompt '电商正方形主图。主体是图1 中的黑色亮面皮革布洛克德比鞋,鞋型、雕花孔、鞋带与厚底必须与图1完全一致,商品去底后放在画面中央偏左,下方带柔和投影。背景为深灰到浅灰渐变,右侧竖排中文卖点文案:主标题大字「真皮软底 通勤久站不累」,下方两行小字卖点「牛皮鞋面 · 防滑厚底」「三防涂层 · 雨天不怕」。左上角一枚红色圆形促销角标写「满300减30」。无衬线黑体,字号层级分明,排版整齐,中文字清晰正确无乱码,商业电商主图设计。' \
--images docs/item-selling-point/product-shoes.jpg --size 1:1 \
--save docs/item-selling-point/example-output.jpg
Output
example-output.jpg — 1:1 / 2048×2048, 5 credits. The shoe's crocodile embossing, brogue perforations, laces, and thick lug sole remain consistent; after background removal it is centered slightly left with a soft shadow; on the right, the main headline "真皮软底 通勤久站不累" and two lines of small selling point text have correct glyphs and clear hierarchy; in the upper left, a red circular corner badge "满300减30"; dark gray gradient background.
1. Capability boundaries
| Input | Description |
|---|---|
| Product image | 1 image |
| Remove product image background | Toggle; when enabled, the product is background-removed before compositing |
| Product category | Determines the background and color scheme tone |
| Reference image | Optional, determines the layout and color scheme |
| Product feature points | ≤100 characters, separate multiple with / , e.g.:持久续航/防水防汗 |
| Marketing benefit points | ≤100 characters, separate multiple with / , e.g.:年货狂欢节/满300-30 |
Feature points and benefit points must be separated: feature points are product capabilities (placed in the main headline/subheadline), benefit points are promotional information (placed in the corner badge/banner). Mixing them together will make the layout messy.
Do not: do not fabricate features the product does not have; do not generate false promotions (nonexistent campaigns, fake discounts, fake original prices); do not use absolute terms (best, first, national-level); do not alter the product's shape or color.
2. Input material rules
Before generating, self-check these hard constraints:
- Size:20KB ~ 15MB
- Resolution:greater than 400×400
- Format:jpg / jpeg / png / webp
Input recommendations
| Practice | Description |
|---|---|
| ✅ White background or solid-color background product image | Cleanest background removal |
| ✅ Concise copy | The main image is only about 200px in the listing page, so long sentences are simply invisible |
| ✅ Main headline ≤10 characters, small text ≤12 characters/line, corner badge ≤8 characters | Empirical values for thumbnail readability |
| ❌ Cramming in five selling points | The main image can carry at most 1 main headline + 2 lines of small text + 1 corner badge |
| ❌ Unverified efficacy/promotions | Platform compliance risk |
3. The three zones of the main image layout
Divide the square image into three zones, each zone containing only one type of information:
┌─────────────────────────┐
│ ⓐ 角标区(左上/右上) │ ← 营销利益点:「满300减30」
│ │
│ ⓑ 商品区(中央偏左) │ ← 商品去底 + 投影
│ │
│ ⓒ 文案区(右侧)│ ← 功能点:主标题 + 2 行小字
└─────────────────────────┘
Write into the prompt:
商品去底后放在画面中央偏左,下方带柔和投影。
右侧竖排中文卖点文案:主标题大字「[≤10字]」,下方两行小字卖点「[≤12字]」「[≤12字]」。
左上角一枚[形状]促销角标写「[≤8字]」。
Thumbnail check: Shrink the output to 200×200 and take a look—can the main headline still be recognized? If not, shorten the copy further or increase the font size hierarchy.
4. Category → Background and Color Scheme
| Category | Background | Text Color | Badge Color |
|---|---|---|---|
| Apparel | Beige Gray / Oatmeal Gradient | Dark Gray | Brick Red |
| Bags / Footwear | Dark Gray to Light Gray Gradient | Black | Pure Red |
| Baby / Pet | Cream / Light Pink | Warm Brown | Coral Pink |
| Beauty | Marble / Velvet | Black Gold | Wine Red |
| 3C / Appliances | Dark Tech Gradient | White | Fluorescent Blue |
| Home / Furniture Lighting | Real Room Shallow Depth of Field | Dark Brown | Olive Green |
| Food & Kitchenware | Wooden Countertop Warm Tone | Dark Brown | Orange Red |
| Jewelry & Accessories | Dark Velvet Spotlight | Platinum | Deep Red |
5. Tool Invocation
This skill uses dLazy's seedream-5.0-pro(professional-grade image model, with the most stable Chinese glyphs and layout control; the copy on the main image must be readable at a glance with zero garbled characters, and glyph accuracy is the primary metric).
Invocation Method
Two equivalent ways to write it; choose one. The unified entry point automatically selects the backend, retries on failure, creates directories and writes to disk, and estimates cost:
# A. 统一入口(推荐):可切任意后端,加 --dry-run 不计费空跑
node scripts/gen.mjs --task item-selling-point \
--prompt '<见下方 Prompt 模板>' \
--images <按下表顺序> \
--save output/item-selling-point-<sku>.jpg
# B. 直接用 dLazy CLI(不想引入 Node 依赖时,效果等价)
dlazy seedream-5.0-pro --prompt '...' --images ... --save output/item-selling-point.jpg
Parameter Conventions (Fixed Usage for This Skill)
| Parameter | Value | Reason |
|---|---|---|
--images |
[商品图]; when a layout reference is included, [商品图, 参考图] |
the order is Image 1 / Image 2 in the prompt |
--size |
1:1(standard square image for the main image slot) / 3:4(vertical main image for some platforms) |
Follow the platform's main image specifications |
--resolution |
2k |
Main images are usually 800–1200px |
--batch |
3 |
Chinese typesetting is random; pick the one with correct glyphs |
--save |
docs/item-selling-point/output-<sku>-<活动>.jpg |
Archive by campaign; for major promotions, just rerun to change the badge |
Command Examples
# basic call
dlazy seedream-5.0-pro \
--prompt '电商正方形主图。主体是图1 商品,鞋型与材质必须与图1完全一致,去底后放在画面中央偏左,下方带柔和投影。背景深灰到浅灰渐变。右侧竖排中文卖点:主标题大字「真皮软底 通勤久站不累」,下方两行小字「牛皮鞋面 · 防滑厚底」「三防涂层 · 雨天不怕」。左上角红色圆形角标写「满300减30」。无衬线黑体,排版整齐,中文字清晰正确无乱码。' \
--images docs/item-selling-point/product-shoes.jpg --size 1:1
# complex call: 一个 SKU 铺多个大促角标版本(文案区不变,只换角标)
SRC=docs/item-selling-point/product-shoes.jpg
BODY='主体是图1 中的黑色亮面皮革布洛克德比鞋,鞋型、雕花孔、鞋带与厚底必须与图1完全一致,商品去底后放在画面中央偏左,下方带柔和投影。背景为深灰到浅灰渐变,右侧竖排中文卖点文案:主标题大字「真皮软底 通勤久站不累」,下方两行小字卖点「牛皮鞋面 · 防滑厚底」「三防涂层 · 雨天不怕」。'
STYLE='无衬线黑体,字号层级分明,排版整齐,中文字清晰正确无乱码,商业电商主图设计。'
for A in daily d11 newyear; do
case $A in
daily) BADGE='左上角一枚红色圆形促销角标写「满300减30」' ;;
d11) BADGE='左上角一枚红色圆形促销角标写「双11 5折起」' ;;
newyear) BADGE='左上角一枚红色圆形促销角标写「年货节 直降100」' ;;
esac
dlazy seedream-5.0-pro \
--prompt "电商正方形主图。${BODY}${BADGE}。${STYLE}" \
--images "$SRC" --size 1:1 --resolution 2k \
--batch 3 --save "docs/item-selling-point/output-sku001-$A.jpg"
done
# 先估价不真跑
dlazy seedream-5.0-pro --dry-run --prompt '...' --images a.jpg --size 1:1
Further Reading
| What to Look Up | Where to Go |
|---|---|
| Authentication, multi-backend configuration, output structure, error codes | references/provider-cli.md |
seedream-5.0-pro all available parameters |
references/model-flags.md |
| All options of the unified entry point | node scripts/gen.mjs --help |
6. Prompt Template
电商正方形主图。
主体是图1 中的[商品品类 + 颜色 + 材质],[外形/工艺/结构]必须与图1完全一致,
商品去底后放在画面中央偏左,下方带柔和投影。
背景为[类目对应背景,见第四节]。
右侧竖排中文卖点文案:
主标题大字「[功能点主标题 ≤10 字]」,
下方两行小字卖点「[≤12 字]」「[≤12 字]」。
左上角一枚[形状]促销角标写「[营销利益点 ≤8 字]」。
无衬线黑体,字号层级分明,排版整齐,中文字清晰正确无乱码,商业电商主图设计。
Correction Sentences Appended by Issue
| Issue | Append to the End of the Prompt |
|---|---|
| Garbled Chinese Characters | 所有中文必须是清晰可读的简体汉字,不得变形、缺笔或臆造字。 + shorten the copy |
| The main headline is illegible in the thumbnail | 主标题字号必须至少为画面高度的 8%,与其他文字形成明显层级差。 |
| Text is pressed on top of the product | 商品区与文字区不得重叠:商品占左侧 55%,文字占右侧 40%,中间留 5% 间距。 |
| The product has been redrawn | 商品必须与图1完全一致,不得改变外形、颜色、材质或 logo。 |
| The badge steals the spotlight | 角标直径不超过画面宽度的 18%,不得遮挡商品主体。 |
| Copy that was not provided has appeared | 画面中只能出现上述指定的中文,不得添加任何其他文字。 |
7. Execution Flow
- Break Down the Copy: Separate feature points (which go into the main headline/small text) from marketing benefit points (which go into the badge); do not mix them.
- Compress Word Count: Main headline ≤10 characters, small text ≤12 characters/line, badge ≤8 characters.
- Determine Category → Background and Color Scheme(Table in Section 4).
- Write the prompt by three zones(Section 3), the product fidelity sentence must be written.
--batch 3Pick the one with correct glyphs and save it todocs/item-selling-point/。- Scale down to 200×200 to check readability—the main image is this size on the listing page.
- Compliance check: whether the feature points have a basis, whether the promotion actually exists, and whether there is any absolute wording.
- Change the corner badge for major promotions: keep the copy area unchanged, and rerun after changing only the corner badge sentence (loop in Section 4).
8. Common issues
| Symptom | Cause | Fix |
|---|---|---|
| Chinese garbled text | Copy too long / missing constraints | Shorten the copy + add a glyph constraint sentence |
| Thumbnail is unreadable | Main headline font size is not large enough | Add a sentence that the main headline occupies 8% of the image height |
| Text covers the product | Zones not divided | Add a zone proportion sentence |
| Corner badge is too large and steals attention | Size not restricted | Add a sentence that the corner badge diameter ≤18% |
| Copy appeared that was not provided | The model added copy on its own | Add that only the specified Chinese sentences are allowed |
| Product shape was altered | Fidelity sentence not written | Add the product fidelity sentence |
| Feature points and promotion are crowded together | The two types of copy are not separated into zones | Feature points go in the copy area, and benefit points go only in the corner badge |
Tips
Visit https://dlazy.com for more information.