电商产品视觉全案生成
将创作草稿带入工作台;多阶段流程供参考,不会自动执行或扣费。
适用于电商产品全案视觉素材生成场景:基于产品图生成电商主图与详情页全套静态视觉素材,包括场景图、卖点图和白底图,除非用户明确要求,不进入视频生成流程。
流程正文保留原始中文。模板提及的模型不等同于本站已接入模型;实际可用模型与积分以工作台显示为准。
完整创作流程
1. 流程规划
本 Skill 专注于静态图像生成。除非用户明确提出视频需求,全程不调用视频生成流程,不向 video_assembler 派发任务。
全案阶段规划与依赖关系:
- 解析用户上传的产品图与文字参数 → resource_prepare_and_analyze;将视觉卖点、材质、色彩风格整理为结构化摘要。
- 编写 Ecom_Product_Spec.md(产品名称、视觉风格定位、核心 HSL 色彩弧光、目标平台画幅规范)→ text_editor;作为后续所有图像生成的全局参数锚点。
- 规划全案分镜结构(3张核心主图 + 6-8张详情页)→ storyboard_designer;同时在 key_element 中为原始产品注册唯一资产标签 Product_Asset_01,锁定形体比例、核心色彩、材质反光与 LOGO 位置。
- 将已上传产品图绑定为 Product_Asset_01 的 asset_id → media_generator。
- 按分镜顺序批量生成全套图像资产 → media_generator(每张图均以 Product_Asset_01 为参考底片)。
- 输出全案图集审计报告,确认产品本体形态一致性与色彩弧光偏移量后,引导用户导出 → 直接以 reply_to_user 呈现成果,无需调用 video_assembler。
依赖关系: 2→1;3→2;4→3;5→3,4;6→5。
里程碑确认: 每完成一个主要阶段(规格锁定、分镜确认、元素图生成、批量详情页完成)后,暂停并向用户展示进度,获得确认后再继续。
2. 多模态分析
产品形态基线提取
接收用户上传的产品图后,优先完成以下六类视觉属性的结构化提取,并写入产品基线档案(供后续全案一致性审计使用):
属性类别提取目标输出格式示例轮廓与比例产品整体长宽高比、关键截面形态(圆柱 / 矩形 / 异形)、局部曲率半径估值aspect_ratio: 1:2.4; top_radius: ~8mm; body_taper: subtle inward主色 HSL 弧光产品本体主导色、次要色、高光反射色,精确至 HSL 值;不得引入产品图外的推断色primary: H210 S30 L55; accent: H35 S60 L70; specular: H0 S0 L95材质表面特征光泽类型(哑光 / 半光 / 镜面 / 磨砂 / 拉丝)、表面微纹理描述、反射强度 0–100 量化finish: brushed metallic; reflectivity: 72; micro-texture: horizontal grain linesLOGO 与图文LOGO 位置(归一化坐标)、字体大小感知、印刷工艺(凹凸 / 平印 / 镭射)、颜色logo_pos: (0.50, 0.18); process: debossed silver; size_ratio: ~6% of face结构分区产品各功能区域的相对位置与视觉权重(如顶盖、按键、接口、缝线带)zones: cap(top 20%), body(mid 60%), base(bot 20%); primary_feature: cap edge seam产品朝向基准原始上传图中产品的默认朝向(正面 / 左斜 / 右斜 / 俯视),作为主图序列方向锁定依据default_facing: left-oblique ~30°
全案生成后一致性审计规则
在全部图像资产生成完毕、进入导出引导前,须对以下属性逐项执行一致性审计。任何一项超出容差阈值,应在审计报告中标记为"⚠️ 偏移警告"并提示用户复查或重新生成对应分镜。
必审属性与容差阈值
- 轮廓与比例一致性
- 所有分镜中产品的整体长宽比偏差不得超过 ±5%。
- 局部特征(如瓶盖厚度、按键突出量)在相邻分镜之间不得出现肉眼可见的形变或消失。
- 审计方式:对比产品基线档案中的 aspect_ratio 与各分镜生成图中的产品投影轮廓。
- 色彩弧光一致性
- 产品主体主导色色相偏移不得超过 ±15°(HSL-H),明度偏移不得超过 ±10%(HSL-L),饱和度不得超过 ±15%(HSL-S)。
- 特别关注白底KV图与场景氛围图之间的色温偏差——白底环境下产品不得出现色偏(偏黄/偏蓝),需与产品基线主色 HSL 档案比对。
- 材质表面一致性
- 光泽类型必须与基线档案一致;哑光产品不得出现镜面高光,镜面产品不得被压平成无光泽状态。
- 反射强度偏差不得超过 ±15(0–100 量化量表)。
- LOGO 与图文一致性
- LOGO 位置偏移容差:归一化坐标 ΔX 或 ΔY 不超过 0.05。
- LOGO 字体、颜色与印刷工艺视觉感知必须与基线一致;不得出现无关文字或徽标替换。
- 白底KV图与卖点结构图中的 LOGO 清晰度要求最高,需单独核查。
- 产品朝向与结构分区一致性
- 主图序列(Hero_01–03)产品朝向必须与基线档案 default_facing 一致,不得在三张主图中出现镜像翻转。
- 详情页允许调整角度,但核心结构分区(如顶盖、主功能面)的相对位置关系不得出现空间逻辑矛盾。
- 背景与道具污染检测
- 白底KV图:背景区域 RGB 均值必须在 (245, 245, 245) 以上,不得出现有色投影或道具残留。
- 场景氛围图:道具与背景风格须与 Ecom_Product_Spec.md 中锁定的视觉风格定位一致,不得引入与产品调性矛盾的陈设。
卖点视觉潜台词转化
自动将文字参数(如"微米级防水"、"航空级铝材")转化为高质感视觉意象(如"剔透水滴在哑光金属边缘呈完美张力张角"、"逆光下清晰可见的合金拉丝切面"),写入对应分镜的 Visual Intent 字段,供提示词生成直接引用。
平台转化率调性审计
分析参考素材与平台高转化图的构图关系、黄金分割点与透视线,自动将光源强度与渲染对比度(Chiaroscuro)转化为量化图像参数,写入 Ecom_Product_Spec.md 的渲染参数区。
提示词编写逻辑示例(产品材质分析):
Analyze product alignment: Center of viewport, specularity metallic chrome, primary light source top-right 60 degrees, shadow softness 85%.
3. 故事板设计
全案分镜结构规划
电商全案分为两类图集,各有固定景别序列,不得随意调换顺序:
主图序列(3 张,对应电商平台主图位 1–3)
编号分镜类型景别典型角度Hero_01场景氛围图Establishing Shot(建立镜头)低角度仰拍(15–25°),黄金分割构图,产品置于视觉重心Hero_02卖点结构图Medium Shot(中景)正面水平视角(Eye-level),产品主体占画面 60–70%Hero_03白底 KV 图Neutral Studio Shot(标准棚拍)正面微仰(5–10°),产品居中,无环境道具
详情页序列(6–8 张,建议顺序)
编号分镜类型景别视觉叙事目标Detail_01功能场景图Medium-Wide Shot使用场景还原,建立产品与生活方式的情绪链接Detail_02–03材质特写图Macro / Extreme CU逐层放大工艺细节,触觉质感视觉化Detail_04卖点爆炸图Medium Shot标注式构图,核心功能分区以视觉线索引导Detail_05–06对比验证图Dual-panel / Split-frame前后对比或使用前/使用后,强化决策说服力Detail_07–08(可选)尺寸/规格图Technical Flat Lay俯拍平铺,清晰呈现产品比例与配件组合
视觉焦点坐标标注规范
每个分镜必须声明主视觉焦点坐标,格式为归一化坐标 (X, Y),其中 (0,0) 为画面左上角,(1,1) 为右下角。
- 主图序列:主视觉焦点应分布在画面 1/3 或 2/3 分割线附近,避免三张主图焦点完全重叠,确保电商平台主图栏视线在横向滑动时产生自然引导节奏。
- 建议分布示例:Hero_01 → (0.38, 0.50);Hero_02 → (0.50, 0.45);Hero_03 → (0.50, 0.50)(居中标准)。
- 详情页序列:焦点坐标应在相邻分镜间形成"Z 字型"或"F 型"扫读路径,符合用户自上而下滑动时的自然眼动规律。
- 奇数页焦点偏左(X ≈ 0.33),偶数页焦点偏右(X ≈ 0.67),Y 轴随叙事节奏在 0.35–0.60 区间浮动。
- 焦点坐标标注在分镜描述中以 Focus: (X, Y) 形式明确写出,downstream media_generator 在构图提示词中将其转化为具体的画面位置描述。
分镜描述必填字段
每条分镜条目必须包含以下五个字段,缺失任何一项即视为分镜不完整,不得进入生成流程:
- Shot ID:唯一编号,如 Hero_01、Detail_03。
- Shot Type:景别类型(从上表选取标准术语)。
- Focus:主视觉焦点坐标 (X, Y)。
- Visual Intent:一句话描述本张图的核心叙事目标或卖点传递意图。
- Key References:本张图需绑定的 key_element 资产列表(至少包含 Product_Asset_01;如需氛围参考,额外列出)。
跨分镜一致性约束
- 色彩弧光一致性:所有分镜的主导色必须与 Ecom_Product_Spec.md 中锁定的 HSL 色彩弧光保持一致,允许明度在 ±10% 内浮动,色相偏移不得超过 15°。
- 产品朝向一致性:主图序列中产品的主朝向(左/右/正面)在三张图之间应保持统一;详情页可根据卖点需要调整角度,但需在 Shot 描述中明确标注转向原因。
- 景别跨度约束:相邻两张详情页景别跨度不得超过两级(如从 Medium Shot 直接跳至 Extreme CU 需在中间插入一张 CU 过渡图),防止视觉叙事节奏断裂。
4. 媒体生成
电商矩阵批量精铸 (Image 2):在标准的正方形 1:1(主图)与长方形 3:4 / 16:9(详情页)画幅内,批量精铸出具备高端商业摄影质感的全套视觉资产。画面锁定自然白平衡,严禁产生不符合物理逻辑的光影污染与随机畸变。
动态渲染参数量化:应用“商业级提示词规则”,强制执行 9:1 色彩克制算法,只允许核心卖点部分出现对比色,增强视觉吸睛度。
提示词编写逻辑示例(主图视觉设计):
Subject: <<<Product_Asset_01>>>; Layout: Center framing commercial photography; High-end e-commerce aesthetic, soft product lighting, neutral tone backdrops, volumetric dust particles floating in Tyndall light ray, 1:1 ratio.
5. 提示词撰写
通用写作原则
- 以导演视角构建提示词:自然语言描述主体 + 动作/状态 + 环境,短语句描述风格 / 色彩 / 光线 / 构图,不写屏幕外不可见的内容。
- 所有提示词均以英文撰写,以最大化模型响应准确性。
- 每张图的提示词长度控制在 120–200 词以内,避免信息噪声稀释核心视觉指令。
模型对齐规则
默认模型:Nano Banana Pro (Gemini 3 Pro Image),推荐分辨率 2K。
- Nano Banana Pro 具备最强提示词遵从性,擅长复杂多图参考、精准文字渲染及多区域合成布局;适用于全部电商主图与详情页生成。
- 备选模型 Seedream 4.5:强调产品材质质感与细腻光影;适用于高端美妆、珠宝等需极致材质表现的场景,分辨率选 2K 或 4K。
- 备选模型 Nano Banana 2 (Gemini 3.1 Flash Image):速度更快,适合批量草稿预览或详情页中视觉权重较低的辅助图。
产品参考引用规则(ImageToImage 路径)
- 产品参考标签必须出现在提示词开头,格式:<<<image_1>>> 对应 Product_Asset_01,若有多图参考依次为 <<<image_2>>>、<<<image_3>>>。
- 在参考标签后立即用一句话声明继承意图,例如:inherit the exact industrial form, proportions, surface finish, and logo placement of the product.
- 参考图绑定优先级:产品主体图(Product_Asset_01)> 氛围/场景板(可选辅助参考)> 色彩风格参考(可选)。
电商图像提示词层级结构
严格按以下顺序组织指令,各层之间用逗号或句号自然衔接,不得出现分节标题或括号说明,输出为一段连贯英文:
- [相机参数与视角] — 拍摄距离(macro / close-up / mid-shot / establishing)、角度(eye-level / low angle / bird's eye)、焦距感知(shallow DOF / deep focus)。
- [产品主体描述] — 产品在画面中的位置、摆放状态与核心视觉特征,明确引用参考标签。
- [场景与道具] — 背景材质、陈设道具、空间纵深感;遵循 Ecom_Product_Spec.md 中锁定的色彩弧光,主导色占比约 90%,对比强调色仅点缀核心卖点区域。
- [光线与渲染] — 主光位、补光/轮廓光、阴影软度、Tyndall / Chiaroscuro 效果等;不得出现与物理规律矛盾的光影。
- [材质与细节修饰] — 金属拉丝 / 玻璃折射 / 皮革纹理 / 织物缝线等可量化的材质关键词。
- [画幅与质量锚词] — 依分镜规格声明 1:1 ratio / 3:4 ratio / 16:9 ratio;质量词统一使用 photorealistic commercial photography, sharp details。
负面词阻断规则
所有批量提示词尾部强制追加以下阻断词,顺序固定,不得省略:
no product morphing, no distorted proportions, no messy reflections, no floating artifacts,
no random on-screen text, no watermarks, no brand identifiers, no subtitles,
no oversaturated colors, no physically impossible shadows, no ugly digital noise
- 若当前分镜为白底KV图,额外追加:white seamless background only, no environment props, no colored cast。
- 若当前分镜为卖点结构图,额外追加:no decorative clutter outside designated callout zones。
示例一:电商主图(ImageToImage + Nano Banana Pro,1:1)
<<<image_1>>> inherit the exact industrial form, proportions, surface finish, and logo placement of the product. Eye-level studio shot, centered layout, product placed on a minimalist matte ceramic floating platform surrounded by elegant premium cosmetics props. Deep sage green dominates 90% of the frame, soft negative fill lighting creating subtle chiaroscuro contrast on the left edge. Top-right key light at 60°, shadow softness 85%, photorealistic chrome specularity on the cap. Shallow depth of field, background bokeh with fine volumetric dust in Tyndall light ray. Photorealistic commercial photography, sharp details, 1:1 ratio. no product morphing, no distorted proportions, no messy reflections, no floating artifacts, no random on-screen text, no watermarks, no brand identifiers, no subtitles, no oversaturated colors, no physically impossible shadows, no ugly digital noise
示例二:详情页特写图 — 织物缝线(Macro CU,ImageToImage + Nano Banana Pro,3:4)
<<<image_1>>> inherit the exact stitching pattern, thread color, fabric weave structure, and surface texture of the product. Extreme macro close-up shot, lens positioned at 5–8 cm from subject surface, ultra-shallow depth of field isolating a single seam row as the sharpest focal plane. Fabric occupies 80% of the frame; muted off-white linen background visible at soft-blurred edges. Single diffused side light from the left at 30° grazing angle to accentuate thread relief and micro-shadows within each stitch indent; right-side fill card adds 15% reflected warmth to reveal weave depth without flattening texture. Photorealistic textile macro photography, razor-sharp stitching detail, natural fiber grain visible at pixel level, 3:4 ratio. no product morphing, no distorted proportions, no messy reflections, no floating artifacts, no random on-screen text, no watermarks, no brand identifiers, no subtitles, no oversaturated colors, no physically impossible shadows, no ugly digital noise
示例三:主图 — 白底KV图(ImageToImage + Nano Banana Pro,1:1)
<<<image_1>>> inherit the exact industrial form, proportions, surface finish, reflectivity, and logo placement of the product. Eye-level studio shot, centered layout with the product occupying 65–70% of the frame height, product base resting on a seamless white surface with a soft natural contact shadow directly beneath. Pure white seamless background fills the entire frame; no environment props, no scene objects, no decorative elements of any kind. Single large softbox overhead at 90°, even diffused illumination across all surfaces; secondary front fill panel at 20% intensity to eliminate harsh underside shadows while preserving gentle dimensional shading on curved edges. Product highlights remain crisp and accurate to material type; no blown-out specular spill beyond product boundary. Photorealistic commercial photography, razor-sharp product contour, clean white negative space, 1:1 ratio. no product morphing, no distorted proportions, no messy reflections, no floating artifacts, no random on-screen text, no watermarks, no brand identifiers, no subtitles, no oversaturated colors, no physically impossible shadows, no ugly digital noise, white seamless background only, no environment props, no colored cast
示例四:详情页特写图 — 防水滴落(Macro CU,ImageToImage + Seedream 4.5,3:4)
<<<image_1>>> inherit the exact surface material, finish sheen, edge geometry, and color of the product. Extreme macro close-up, low camera angle at 15° above the product surface to capture water droplet silhouette against a shallow depth-of-field background. Three spherical water droplets in mid-slide motion across the product surface: largest droplet (foreground) fully sharp, exhibiting high surface tension, convex meniscus, and transparent internal caustic light; two smaller trailing droplets slightly motion-blurred to imply downward velocity. Background: deep charcoal matte, occupying 85% of frame, evoking premium waterproof performance. Primary top-right backlight at 70° creates bright specular highlight crowning each droplet; secondary front fill light at 20% intensity to retain product surface color accuracy. Photorealistic product macro photography, physically accurate water surface tension, sharp caustics, 3:4 ratio. no product morphing, no distorted proportions, no messy reflections, no floating artifacts, no random on-screen text, no watermarks, no brand identifiers, no subtitles, no oversaturated colors, no physically impossible shadows, no ugly digital noise