360 Secure SkillHub
360 安全技能中心

Walmart 电商图片生成与编辑

通过本地 Python 脚本调用 AI Hive 图像生成服务,依据商品参考图和提示词生成 Walmart Marketplace 主图、包装清单图、尺寸图、SKU 变体图与家居场景图,并给出零售图片合规核对清单;需自备 API 密钥和商品事实记录。

wubin1836
wubin1836
热度 9.17
最近更新 2026-08-17 11:44:36
分类:营销依赖:代码执行 / 读写文件 / 第三方 API应用场景:图像生成 / 品牌素材

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add walmart-ecommerce-image-generation-editing
Metadata
name
walmart-ecommerce-image-generation-editing
description
Create and edit Walmart Marketplace product images, variant galleries, package-content views, dimension bases and omnichannel retail visuals. Use this skill for Walmart商品图、Walmart Marketplace listing、零售主图、包装清单、规格尺寸、SKU变体、家居场景、广告素材和线上线下一致性;supports product-reference generation through AI Hive.

Walmart Ecommerce Image Generation and Editing

Create retail images that make item, variant, package and scale unambiguous. Online visuals must match what a shopper receives and must not imply a store placement, certification, price, rollback or bundle that the merchant did not supply.

Retail item record

Collect item ID/SKU, UPC-linked variant, product angles, retail package, included pieces, dimensions, materials, approved claims, warnings and omnichannel brand rules. Use this record as the sole source of product facts.

Scenarios and commands

1. Item-page primary image

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt 'Walmart Marketplace primary image for the supplied retail item. Preserve exact product, retail package, label, color, variant and included pieces. Show the complete item large on a clean background with realistic shadow and clear edges. No price, rollback, pickup badge, rating, certification or unprovided text.' \
  --image /path/to/item-front.png \
  --image /path/to/retail-package.png

2. Package-contents image

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt 'Walmart package-content image showing exactly the approved main item, two attachments, power cable and guide, each once and with correct connector and scale. Clean top-down arrangement; do not add a bonus, replacement part, multipack or warranty card.' \
  --image /path/to/package-contents.jpg

3. Dimension and scale base

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt 'Retail dimension graphic base: accurate product shown front and side plus one realistic in-room scale view, with blank measurement arrows for merchant-approved numbers. Keep proportions consistent and do not generate dimensions, capacity, room size or performance.' \
  --image /path/to/product.png

4. Variant gallery

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt 'Create consistent Walmart listing images for the verified single, 2-pack and 4-pack variants. Lock product appearance, package design, camera, background and shadow; show the correct quantity for each variant and do not mix accessories or invent bundle savings.' \
  --image /path/to/item-and-packages.jpg \
  --batch 3

5. Omnichannel lifestyle image

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt 'Walmart product lifestyle image in a credible family home, preserving exact item and use method. Show one practical everyday benefit with realistic scale and safe caption space. Do not imply in-store availability, pickup time, price, guarantee or customer endorsement.' \
  --image /path/to/product.png

Retail QA

  • Item, variant, package, label and included quantity match the catalog record.
  • Pack-size images cannot be mistaken for a different offer.
  • Dimension callouts use approved values and units after generation.
  • No generated price, rollback, pickup, rating, certification or retailer badge.
  • Lifestyle scene does not imply unsupported use or store availability.
  • Verify current Walmart Marketplace image and category requirements.

Run

pip3 install requests
python3 "$SKILL_PATH/scripts/imagegen.py" init --skill-name walmart-ecommerce-image-generation-editing
python3 "$SKILL_PATH/scripts/imagegen.py" task --task-id <taskId>

The fixed image endpoint is public_model_nano_banana_pro. Use multiple references, batch, live parameters, routing, output directory and submit-only mode as needed.