From b00ce56790b6ce82657b6fdb37f4f5fe2f69e135 Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Thu, 27 Aug 2026 17:42:39 +0800 Subject: [PATCH] docs(brand): require reference-based device renders that redraw the screen A device render is a redraw of a docs/assets/brand reference, not a from-scratch text-to-image. Always pass a reference (ai-passport-front.png or a colorway shell render) as input to the generation call, keep its outer shell, buttons, ports, and key-ring hole as they are, and redraw only the reference's screen region to the requested content (for example the actual UI of a play). Keep the screen's size, aspect ratio, corners, and position inside the shell identical to the reference. Synced across brand, plays, and the plays-archive skill in both languages. --- docs/assets/brand/README.md | 6 +++--- docs/assets/brand/README.zh_CN.md | 5 +++-- docs/brand-and-product.md | 2 +- docs/brand-and-product.zh_CN.md | 2 +- plays/README.md | 11 +++++++---- plays/README.zh_CN.md | 6 ++++-- skills/plays-archive/SKILL.md | 9 +++++++-- skills/plays-archive/SKILL.zh_CN.md | 5 ++++- 8 files changed, 30 insertions(+), 16 deletions(-) diff --git a/docs/assets/brand/README.md b/docs/assets/brand/README.md index e21ef9d..5dff725 100644 --- a/docs/assets/brand/README.md +++ b/docs/assets/brand/README.md @@ -45,8 +45,8 @@ All three color renders are 1024 × 1536 PNG and share the same shell layout as When generating a marketing or showcase render from these references, keep the following consistent: -- **External hardware**: keep the rounded-corner shell, top key-ring hole, side buttons, and ports consistent with the reference. -- **Screen content**: not a requirement. The screen is a programmable display and its image may be fully replaced by the play or firmware; leave it flexible in generated renders. +- **Reference as the device base.** The reference image is the base for the whole render: keep its outer shell, top key-ring hole, side buttons, ports, and logo text as they are. The reference's on-screen area is only a placeholder — you do not keep it. +- **Redraw the screen area to the request.** The core operation is to redraw the reference's screen region to the content the user asks for (for example the actual UI of a specific play), keeping the screen's size, aspect ratio, corners, and position inside the shell identical to the reference. Keep the placeholder screen inset inside the matched frame; do not reshape, move, or replace the screen frame itself. - **Logo and label text**: keep `Folotoy` / `FOLOTOY`, the model name, and any tagline as shown on the shell. - **Colorways**: use the shell reference as the base and change only the accent/shell palette for a new variant (for example a white, green, or black edition). - **Aspect**: renders at a 2:3 vertical ratio read best for the front view. @@ -57,7 +57,7 @@ Unless the reference image is licensed for reuse, use these files as an internal When generating a render that must match a reference, the common failure mode is a model that "reimagines" the device because it never actually saw the reference image. Keep these points in mind regardless of the image tool you use: -- **Always pass the reference image explicitly.** For a reference-based edit (not a from-scratch text-to-image), you must supply the reference as an input to the generation call. Relying only on a text description lets the model invent a look-alike device instead of reproducing this one. +- **Always pass the reference image explicitly.** Generating a device render is a reference-based redraw, not a from-scratch text-to-image: you must supply a `docs/assets/brand` reference (typically `ai-passport-front.png` or a colorway shell render) as an input to the generation call, keep its outer hardware, and redraw only the screen region to the requested content. Relying only on a text description lets the model invent a look-alike device instead of reproducing this one. - **Local file paths are not accepted as image input.** Most generation services reject a bare filesystem path. Pass the image as a service-supported form: a hosted reference URL, a data URL, or whatever the tool documents for uploads/attachments. - **Very long data URLs are fragile when passed by hand.** A multi-KB base64 data URL is easy to corrupt during manual copying between tool calls; prefer a short hosted reference or let the tool resolve the image itself. - **Verify hardware fidelity after generating.** Compare the render against the reference for the shell silhouette, key-ring hole, side buttons, ports, and any model badge. If these drift, regenerate rather than accept the result. diff --git a/docs/assets/brand/README.zh_CN.md b/docs/assets/brand/README.zh_CN.md index d690479..ca6aa13 100644 --- a/docs/assets/brand/README.zh_CN.md +++ b/docs/assets/brand/README.zh_CN.md @@ -46,7 +46,8 @@ AI Passport 是一款穿戴设备(设备上与社区中名为 **Folotoy**) 当基于这些参考图生成市场宣传或展示图时,请保持一致: - **外部硬件**:保持圆角外壳、顶部挂绳孔、侧键与接口与参考一致。 -- **屏幕内容**:不作要求。屏幕是可编程显示屏,其图像可能被玩法或固件整体替换;生成效果图时保持灵活即可。 +- **参考图作为设备基底**:参考图就是整张效果图的基底——保留其外壳、顶部挂绳孔、侧键、接口与 Logo 文字原样。参考图里的屏幕区域只是**占位**,保留它没有意义。 +- **按用户要求重绘屏幕部分**:核心操作是把参考图的屏幕区域重绘成用户要求的内容(例如某玩法的真实界面),同时让屏幕的尺寸、比例、圆角与外壳内位置与参考完全一致。把这个占位屏幕嵌进匹配好的框内,而不要重新塑形、移动或替换屏幕框本身。 - **Logo 与标签文字**:保留外壳上的 `Folotoy` / `FOLOTOY`、型号名与标语。 - **配色**:以外壳参考图为基础,仅改变外壳/强调色以生成新变体(如白色、绿色或黑色版)。 - **比例**:正面视角按 2:3 竖版比例渲染效果最佳。 @@ -57,7 +58,7 @@ AI Passport 是一款穿戴设备(设备上与社区中名为 **Folotoy**) 当生成一张必须匹配参考图的效果图时,最常见的失败原因是模型"重新想象"了一台设备——因为它压根没看到参考图。无论你用什么图像工具,都请记住以下几点: -- **务必显式传入参考图。** 基于参考图的改绘(不是从零开始文生图)必须把参考图作为输入传给生成调用。仅依赖文字描述会让模型虚构出一台"长得像"的设备,而不是还原这一台。 +- **务必显式传入参考图。** 生成设备图是**基于参考图的重绘**,不是从零文生图:必须把 `docs/assets/brand` 的一张参考图(通常是 `ai-passport-front.png` 或某款配色外壳渲染图)作为输入传给生成调用,保留其外壳硬件,只把屏幕区域重绘成用户要求的内容。仅依赖文字描述会让模型虚构出一台"长得像"的设备,而不是还原这一台。 - **本地文件路径不能作为图像输入。** 多数生成服务会拒绝裸文件系统路径。请改用服务支持的形态:托管引用 URL、data URL,或工具文档说明的上传/附件方式。 - **超长 data URL 手工传递很脆弱。** 几 KB 的 base64 data URL 在工具调用间手动复制时极易损坏;优先用短托管引用,或让工具自行解析图像。 - **生成后要核对硬件一致性。** 对照参考图核对外壳轮廓、挂绳孔、侧键、接口与型号徽标。若有偏差请重新生成,不要直接采用。 diff --git a/docs/brand-and-product.md b/docs/brand-and-product.md index 3c4a6ce..44a44f3 100644 --- a/docs/brand-and-product.md +++ b/docs/brand-and-product.md @@ -49,7 +49,7 @@ The official play catalog changes over time; treat the live website as authorita Official product and brand visual references live in [`docs/assets/brand/`](assets/brand/README.md). They include the product from the front and back, plus three brand-colored shell renders of the front (the EVA purple, orange, and red colorways). These images are the visual baseline for AI Passport marketing and showcase material. -You can use these references as input when generating render images with an AI image tool. Keep the product silhouette, external hardware (shell, buttons, ports, key-ring hole), logo text, and colorway consistent with the references; the on-screen content is not a fixed requirement and may be replaced. Document any new render you create in the [`assets/brand/README.md`](assets/brand/README.md) index. Treat the files as an internal visual baseline rather than recycling them verbatim into published assets. +You can use these references as input when generating render images with an AI image tool. Treat the reference image as the base of the whole render: keep its external hardware (shell, buttons, ports, key-ring hole), logo text, and colorway as they are, and redraw only the reference's screen region into the content the user requests. The on-screen area of the reference is a placeholder — keep the screen's size, aspect ratio, corners, and position inside the shell identical to the reference rather than reshaping or moving it. Always pass one of these reference images as input when generating a device render, rather than relying on a text description alone. Document any new render you create in the [`assets/brand/README.md`](assets/brand/README.md) index. Treat the files as an internal visual baseline rather than recycling them verbatim into published assets. ## Specifications, source, and license diff --git a/docs/brand-and-product.zh_CN.md b/docs/brand-and-product.zh_CN.md index 62715a6..1a5f145 100644 --- a/docs/brand-and-product.zh_CN.md +++ b/docs/brand-and-product.zh_CN.md @@ -76,7 +76,7 @@ FoloToy 提供两处浏览器刷机入口,均可安全写入本地固件,固 官方产品与品牌视觉参考图存于 [`docs/assets/brand/`](assets/brand/README.md)(索引见同目录 `README.md` / `README.zh_CN.md`)。包含产品**正面**与**背面**实拍图,以及三种品牌配色外壳的正面渲染图(EVA 紫 / 橙 / 红三款)。 -这些图是 AI Passport 市场宣传与展示物料的**视觉基线**。可用 AI 图像工具基于这些参考图生成效果图,生成时保持产品轮廓、外部硬件(外壳、按键、接口、挂绳孔)、Logo 文字与配色与参考一致;**屏幕内容不作硬性要求、可被替换**。新生成的渲染图请登记进 [`assets/brand/README.md`](assets/brand/README.md) 索引。素材作为内部视觉基线使用,除非参考图本身允许复用,否则不要原样搬运到公开发布物料中。 +这些图是 AI Passport 市场宣传与展示物料的**视觉基线**。可用 AI 图像工具基于这些参考图生成效果图:把参考图作为整张图的基底,保留其外壳、按键、接口、挂绳孔、Logo 文字与配色原样,只把参考图的屏幕区域**重绘**成用户要求的内容。参考图的屏幕区域只是占位——屏幕的尺寸、比例、圆角与外壳内位置要与参考完全一致,而不是重新塑形或移动。生成设备图时必须传一张参考图作为输入,不能只靠文字描述。新生成的渲染图请登记进 [`assets/brand/README.md`](assets/brand/README.md) 索引。素材作为内部视觉基线使用,除非参考图本身允许复用,否则不要原样搬运到公开发布物料中。 ## 4. 产品规格 diff --git a/plays/README.md b/plays/README.md index 852c2da..62bac86 100644 --- a/plays/README.md +++ b/plays/README.md @@ -87,10 +87,13 @@ to the repository (like `docs/assets/brand`). Keep it representative and under 10 MiB. When generating an effect or mockup image of the play, use the official product -references under [`docs/assets/brand/`](../docs/assets/brand/README.md) to add -the machine shell around the on-screen content: keep the shell, buttons, ports, -and key-ring hole consistent with those references so the rendered screen appears -inside the real AI Passport device rather than as a bare screen. +references under [`docs/assets/brand/`](../docs/assets/brand/README.md). Always +pass a reference (e.g. `ai-passport-front.png` or a colorway shell render) as +input to the generation call, keep its shell, buttons, ports, and key-ring hole +as they are, and redraw only the reference's screen region into the play's actual +on-screen content. Keep the screen's size, aspect ratio, corners, and position +inside the shell identical to the reference so the play content appears inside +the real AI Passport device rather than as a bare or free-floating image. ## Firmware diff --git a/plays/README.zh_CN.md b/plays/README.zh_CN.md index 914f43c..106474f 100644 --- a/plays/README.zh_CN.md +++ b/plays/README.zh_CN.md @@ -65,8 +65,10 @@ play 档案只存放该应用的**介绍与手册**:README 功能说明、封 (类似 `docs/assets/brand`)。选有代表性、且小于 10 MiB 的图。 当需要为应用生成效果图或样机图时,参考 [`docs/assets/brand/`](../docs/assets/brand/README.md) -下的官方产品图,为屏幕内容加上机器外壳:保持外壳、按键、接口与钥匙扣孔与这些参考一致, -让渲染出的屏幕画面像出现在真实 AI Passport 设备里,而不是一块裸屏幕。 +下的官方产品图。生成时必须传一张参考图(如 `ai-passport-front.png` 或某款配色外壳渲染图) +作为生成调用输入,保留其外壳、按键、接口与钥匙扣孔原样,只把参考图的屏幕区域**重绘**成该玩法的 +真实屏显内容。屏幕的尺寸、比例、圆角与外壳内位置与参考保持一致,使玩法内容出现在真实 AI Passport +设备屏幕内,而不是一块裸屏幕或自由漂浮的画面。 ## 固件 diff --git a/skills/plays-archive/SKILL.md b/skills/plays-archive/SKILL.md index b856e44..db2e2ad 100644 --- a/skills/plays-archive/SKILL.md +++ b/skills/plays-archive/SKILL.md @@ -95,8 +95,13 @@ Place the cover at `plays///-cover.`, committed to the repository. Keep it representative and under 10 MiB. When generating an effect or mockup image for the play, use the official product references under -[`docs/assets/brand/`](../../docs/assets/brand/README.md) to add the machine shell -around the on-screen content. +[`docs/assets/brand/`](../../docs/assets/brand/README.md): pass a reference (e.g. +`ai-passport-front.png` or a colorway shell render) as input to the generation +call, keep its shell, buttons, ports, and key-ring hole as they are, and redraw +only the reference's screen region into the play's actual on-screen content, +keeping the screen's size, aspect ratio, corners, and position identical to the +reference. See the full +convention in [`docs/assets/brand/README.md`](../../docs/assets/brand/README.md). ## Commit diff --git a/skills/plays-archive/SKILL.zh_CN.md b/skills/plays-archive/SKILL.zh_CN.md index 634d58c..12ee4f7 100644 --- a/skills/plays-archive/SKILL.zh_CN.md +++ b/skills/plays-archive/SKILL.zh_CN.md @@ -70,7 +70,10 @@ description: 固件发布之后,把已发布的应用归档到上游 FoloToy a 封面放在 `plays///-cover.`,commit 进仓库。 选有代表性且小于 10 MiB 的图。当需要为应用生成效果图或样机图时,参考 -[`docs/assets/brand/`](../../docs/assets/brand/README.md) 下的官方产品图,为屏幕内容加上机器外壳。 +[`docs/assets/brand/`](../../docs/assets/brand/README.md) 下的官方产品图:生成时必须传一张参考图 +(如 `ai-passport-front.png` 或某款配色外壳渲染图)作为生成调用输入,保留其外壳、按键、接口与 +钥匙扣孔原样,只把参考图的屏幕区域**重绘**成该玩法的真实屏显内容,屏幕的尺寸、比例、圆角与外壳内 +位置与参考保持一致。完整约定见 [`docs/assets/brand/README.md`](../../docs/assets/brand/README.md)。 ## 提交