One product image + selling point copy → detail page visuals with Chinese typography。
Difference from other skills: this skill's outputcontains text. Therefore, the first criterion for model selection isChinese glyph rendering capability—most image models render Chinese as gibberish.
Generation example
| Input: product image |
|---|
product-flatlay.jpg — flat-lay image of an army green cable-knit sweater, 800×800 |
Actual command executed (first-screen banner module):
dlazy seedream-5.0-pro \
--prompt '电商服饰详情页首屏 banner,竖版。左侧是图1 中的军绿色麻花针织圆领毛衣的模特上身图(青年男模特,半身,落肩宽松版型),毛衣颜色、麻花织法与菱形提花必须与图1一致。右上方留白区排版中文标题,大字「粗棒麻花 复古落肩」,副标题小字「羊毛混纺 · 加厚保暖 · 男女同款」。底部一行三个圆形图标配文字「亲肤不扎」「不易变形」「机洗不缩」。整体米灰色背景,暖色调,留白克制,字体为无衬线黑体,排版整齐对齐,商业电商详情页设计感,中文字必须清晰正确无乱码。' \
--images docs/item-detail/product-flatlay.jpg --size 3:4 \
--save docs/item-detail/example-output.jpg
Output
example-output.jpg — 3:4 / 2K, 5 credits. Model wearing the item occupies the left side, preserving the sweater's army green color, cable knit, and diamond jacquard; the top-right title "Chunky Cable Knit, Vintage Drop Shoulder" and subtitle "Wool Blend · Thickened Warmth · Unisex" have correct glyphs and clear hierarchy; at the bottom, three line-drawing icons with "Skin-friendly, non-itchy", "Resists deformation", "Machine washable, no shrinkage", on a warm beige-gray background, with aligned typography.
1. Capability boundaries
| Output module | Description |
|---|---|
| First-screen banner | Model wearing the item / product image + main title + subtitle |
| Selling point icon row | 3–4 circular icons + short copy |
| Material description block | Fabric/material close-up + descriptive text |
| Detail display block | Partial close-up + craftsmanship description |
| Parameter block | Size chart / specification parameters |
| Input | Description |
|---|---|
| Product image | 1 image |
| Product category | 服饰 箱包 鞋品 婴童用品 宠物 家居用品 美妆 3C数码 电器 家具灯饰 食品厨具 珠宝饰品 工业和农业 其他 |
| Product information | Selling points within 100 characters, e.g.:商品卖点:舒适透气、柔软亲肤,适合入群:1个月-2岁宝宝 |
Don't do: don't fabricate features and certifications the product doesn't have; don't generate fake promotional information or fake comparison data; don't alter the product's style or color.
2. Input asset rules
Self-check these hard constraints before generation:
- Size:20KB ~ 15MB
- Resolution:greater than 400×400
- Format:jpg / jpeg / png / webp
Input suggestion
| Practice | Description |
|---|---|
| ✅ Clean product image | Images with text will clash with the new layout's text; first run remove-watermark |
| ✅ Write selling points as short phrases | 亲肤不扎 is easier to lay out than 采用优质柔软亲肤面料不刺激皮肤 is easier to lay out than |
| ✅ Control copy length | Main title ≤ 8 characters, subtitle ≤ 16 characters, icon copy ≤ 5 characters |
| ❌ Cramming ten selling points into one module | It won't fit and will get squeezed into gibberish |
| ❌ Unverified efficacy claims | Compliance risk |
3. Four conditions for correct Chinese typography
The biggest failure mode of Chinese detail pages isgibberish. It is stable only when all four conditions are met simultaneously:
| Condition | How to write |
|---|---|
| 1 · Write the original text of each copy segment into the prompt | Enclose in 「」:大字「粗棒麻花 复古落肩」、小字「羊毛混纺 · 加厚保暖 · 男女同款」 |
| 2 · Specify font family and font weight | 字体为无衬线黑体,字号层级分明 |
| 3 · Specify layout relationships | 右上方留白区排版中文标题、底部一行三个圆形图标配文字 |
| 4 · Explicitly require no garbled characters | 中文字必须清晰正确无乱码 |
The shorter the copy, the less likely it is to break. Four-character and six-character titles have a much higher success rate than long sentences.
Generating in blocks is more stable than generating the whole page at once: one prompt for the first-screen banner, one for the selling-point block, one for the material block, and finally use a design tool to assemble them into a long image. When generating the whole page at once, the text in modules further down is more likely to break.
4. Category → Layout tone
| Category | Background and color tone | Copy focus |
|---|---|---|
| Apparel | Beige-gray / oatmeal, warm tone, large white space | Fit, fabric, occasion |
| Bags / footwear | Dark gray gradient, hard light, texture first | Material, capacity, durability |
| Baby / pet | Light pink / cream, soft light | Safety, skin-friendliness, applicable age in months |
| Beauty | Marble / velvet, high contrast | Ingredients, texture, effect |
| 3C / appliances | Dark tech style, cool light | Specifications, performance, ports |
| Home / furniture and lighting | Real room scene, natural light | Dimensions, material, matching |
| Food and kitchenware | Wooden dining table, warm light | Ingredients, craftsmanship, taste |
| Jewelry and accessories | Dark velvet, spotlight | Material, weight, craftsmanship |
5. Tool invocation
This skill uses dLazy's seedream-5.0-pro(professional-grade image model, inChinese glyphs and complex typographyit is clearly stronger than similar models; the output of this skill carries a large amount of Chinese copy, 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-detail \
--prompt '<见下方 Prompt 模板>' \
--images <按下表顺序> \
--save output/item-detail-<sku>.jpg
# B. 直接用 dLazy CLI(不想引入 Node 依赖时,效果等价)
dlazy seedream-5.0-pro --prompt '...' --images ... --save output/item-detail.jpg
Parameter conventions (fixed usage for this skill)
| Parameter | Value | Reason |
|---|---|---|
--images |
[商品图](up to 10 images, can add detail images and fabric images) |
Multiple images allow each module to use different assets |
--size |
3:4(first-screen banner) / 1:1(selling-point squares) / 9:16(long strip modules) |
Generate by module, each using a suitable aspect ratio |
--resolution |
2k |
Detail page width is usually 750~1200px, 2K is enough |
--batch |
2 ~ 3 |
Chinese typography has randomness, pick the one with correct glyphs |
--save |
docs/item-detail/output-<sku>-<模块>.jpg |
Archiving by module makes it easier to assemble the long image |
Cost note:
seedream-5.0-proA single image is about 5 credits, running 5 module-based generations is only 25 credits, cheaper than repeatedly rerunning the whole page.
Command Examples
# basic call: 首屏 banner
dlazy seedream-5.0-pro \
--prompt '电商服饰详情页首屏 banner,竖版。左侧是图1 商品的模特上身图,颜色与织法必须与图1一致。右上方留白区排版中文标题,大字「粗棒麻花 复古落肩」,副标题小字「羊毛混纺 · 加厚保暖 · 男女同款」。米灰色背景,暖色调,无衬线黑体,排版整齐对齐,中文字必须清晰正确无乱码。' \
--images docs/item-detail/product-flatlay.jpg --size 3:4
# complex call: 分模块跑完一整套详情页
SRC=docs/item-detail/product-flatlay.jpg
BASE='米灰色背景,暖色调,留白克制,字体为无衬线黑体,排版整齐对齐,商业电商详情页设计感,中文字必须清晰正确无乱码。'
KEEP='商品的颜色、麻花织法与菱形提花必须与图1完全一致。'
dlazy seedream-5.0-pro --size 3:4 --images "$SRC" --save docs/item-detail/output-sku001-1-banner.jpg \
--prompt "电商服饰详情页首屏 banner,竖版。左侧是图1 商品的模特上身图(青年男模特,半身,落肩宽松版型)。${KEEP} 右上方留白区排版中文标题,大字「粗棒麻花 复古落肩」,副标题小字「羊毛混纺 · 加厚保暖 · 男女同款」。${BASE}"
dlazy seedream-5.0-pro --size 1:1 --images "$SRC" --save docs/item-detail/output-sku001-2-icons.jpg \
--prompt "电商详情页卖点图标块,正方形。上方一行三个线性圆形图标,图标下方各配四字中文:「亲肤不扎」「不易变形」「机洗不缩」。下方居中一张商品局部特写。${KEEP} ${BASE}"
dlazy seedream-5.0-pro --size 1:1 --images "$SRC" --save docs/item-detail/output-sku001-3-fabric.jpg \
--prompt "电商详情页面料说明块,正方形。左侧是面料微距特写,右侧竖排中文说明:标题「粗棒羊毛混纺」,正文两行小字「蓬松保暖不压身」「细腻纱线不刺挠」。${KEEP} ${BASE}"
dlazy seedream-5.0-pro --size 9:16 --images "$SRC" --save docs/item-detail/output-sku001-4-size.jpg \
--prompt "电商详情页尺码块,长条竖版。顶部中文标题「尺码参考」,下方一张三行四列的简洁尺码表格,表头为「尺码」「衣长」「胸围」「袖长」,内容为 S/M/L 三行数字。${BASE}"
# 先估价不真跑
dlazy seedream-5.0-pro --dry-run --prompt '...' --images a.jpg --size 3:4
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 of |
references/model-flags.md |
| All options of the unified entry point | node scripts/gen.mjs --help |
6. Prompt template
电商[类目]详情页[模块名],[比例描述]。
[图片区版式]:[位置] 是图1 商品的[形态:模特上身图 / 平铺图 / 微距特写]。
[保真句]:商品的颜色、[织法/材质]与[图案/结构]必须与图1完全一致。
[文案区版式]:[位置] 排版中文,
大字「[主标题 ≤8 字]」,
副标题小字「[副标题 ≤16 字]」,
[图标行:三个圆形图标配文字「[4字]」「[4字]」「[4字]」]。
[基调]:[类目对应的背景与色调,见第四节],留白克制,
字体为无衬线黑体,字号层级分明,排版整齐对齐,
商业电商详情页设计感,中文字必须清晰正确无乱码。
Correction sentences appended by problem
| Problem | Append to the end of the prompt |
|---|---|
| Chinese garbled characters | Shorten the copy; repeat each original paragraph once more; append 所有中文必须是清晰可读的简体汉字,不得出现变形、缺笔或臆造字。 |
| Text pressed on the product | 文字区与商品区不得重叠,商品占画面左侧 [X]%,文字区占右侧 [Y]%。 |
| Layout crooked | 所有文字左对齐到同一条基准线,行距均匀。 |
| Product altered | 商品区域必须与图1一致,不得重绘款式、颜色或图案。 |
| Icons too busy | 图标为单色细线描风格,线宽一致,不得加渐变或阴影。 |
| Generating the whole page at once makes text collapse | Split into module-by-module generation (Section 3) |
7. Execution workflow
- Clean the product image(remove-watermark) to avoid old and new text clashing.
- Determine category → choose layout tone(Section 4 table).
- Compress selling points into short phrases: main headline ≤8 characters, subheadline ≤16 characters, icon copy ≤5 characters.
- Split modules: banner / selling-point icons / material description / details / sizing——one prompt per module。
- Each prompt must contain four conditions(original text + font + layout + no garbled text, see Section 3).
--batch 2~3Pick the one with correct glyphs and save it todocs/item-detail/。- Proofread the Chinese character by character(this is where errors are most likely) → use a design tool to assemble it into a long detail-page image.
- Compliance check: whether selling points have a basis, and whether there are false promotions or absolute wording.
8. Common issues
| Symptom | Cause | Solution |
|---|---|---|
| Chinese turns into garbled text | Copy too long / no no-garbled-text constraint written | Shorten the copy + repeat the original text + append a glyph constraint sentence |
| The lower the module, the more the text collapses | Generating the whole page at once | Split into module-by-module generation |
| Text pressed on the product | No regions divided | Append a region proportion sentence |
| Icon style is flashy and inconsistent | Style not constrained | Append a sentence for monochrome thin-line strokes and consistent line width |
| Product redrawn | No fidelity sentence written | Append a product-region fidelity sentence |
| Selling points embellished by the model | Not restricted | In the prompt, only provide the original text that should appear, and append 不得添加未提供的文案 |
Tips
Visit https://dlazy.com for more information.