做完,你会拿到什么
- gemini-nano-banana-2.1
- 图像生成对精确数量不可靠。找物游戏需要先固定已核实的图,再由可控坐标和计数逻辑处理交互。
| 文件 | 尺寸 | 规格 |
|---|---|---|
| N01V-add-bench-lantern.jpg | 1264×848 | 带背景栅格图 |
最终1264×848插画中五个场景灯笼均已核对;离线网页通过5/5命中、重复点击不叠加、重置、Enter操作和375px排版检查。
动手之前
Mac mini M4 / 16GB;macOS;Comfy Desktop 1.2.2 / ComfyUI 0.46.4 / 前端1.59.6;独立兼容渠道节点。按练习包NODE-SOURCE.md配置独立节点与自己的渠道,重启后导入工作流。将inputs文件上传并保持名称,或在Load节点重选。模型生成需要网络和可用额度;本地裁切与网页操作不产生模型费。原始视频输入可能包含未验收音轨,outputs交付静音版本。
跟着这 6 步抄
运行N01R并数场景灯笼,区分人物发饰和目标物件。
用N01S将发饰改成金珠并补场景目标;实际变成七个,仍不通过。
按具体位置删除两盏;N01T遭遇502,N01U又多删除了一盏,只剩四个。
用N01V只在最右长椅补一盏,核对屋顶、桌下、花盆、木箱、长椅五处。
打开包内playable/index.html,按百分比热点点击;计数由网页脚本处理,不是模型自动识别。
实测重复目标不重复计数、五处全中、重新开始和键盘Enter;再检查375px宽度。
这次做什么
经历灯笼多画、少画和发饰混淆后,逐个核对五处目标,再制作可离线玩的点击找物游戏。
图像生成对精确数量不可靠。找物游戏需要先固定已核实的图,再由可控坐标和计数逻辑处理交互。
准备材料
Mac mini M4 / 16GB;macOS;Comfy Desktop 1.2.2 / ComfyUI 0.46.4 / 前端1.59.6;独立兼容渠道节点。按练习包NODE-SOURCE.md配置独立节点与自己的渠道,重启后导入工作流。将inputs文件上传并保持名称,或在Load节点重选。模型生成需要网络和可用额度;本地裁切与网页操作不产生模型费。原始视频输入可能包含未验收音轨,outputs交付静音版本。
Comfy Desktop在本机编排工作流、预览与后处理;生成节点会将提示词和所选参考图上传到自行配置的第三方渠道,并按渠道账单收费。本机读取练习输入及私有渠道配置、写入输出。Key不进入工作流和练习包。
采用成品的实际模型路由:gemini-nano-banana-2.1。路由名称来自调用记录,不据此认证真实上游模型身份。
实际操作
运行N01R并数场景灯笼,区分人物发饰和目标物件。
用N01S将发饰改成金珠并补场景目标;实际变成七个,仍不通过。
按具体位置删除两盏;N01T遭遇502,N01U又多删除了一盏,只剩四个。
用N01V只在最右长椅补一盏,核对屋顶、桌下、花盆、木箱、长椅五处。
打开包内playable/index.html,按百分比热点点击;计数由网页脚本处理,不是模型自动识别。
实测重复目标不重复计数、五处全中、重新开始和键盘Enter;再检查375px宽度。
实测记录
| 记录项 | 本次情况 |
|---|---|
| 日期 | 2026-12-01 |
| 环境 | Mac mini M4 / 16GB;macOS;Comfy Desktop 1.2.2 / ComfyUI 0.46.4 / 前端1.59.6;独立兼容渠道节点 |
| 实际模型 | gemini-nano-banana-2.1 |
| 消耗 | US$0.14,按渠道实际扣费记录核对,以美元计价。包含采用图片所需的四次成功生成/编辑链;失败请求、封面和其他未采用尝试另计。本地裁切、拼接、静音处理和网页交互无新增模型调用;不含电费、存储、流量和人工。 |
| 用时 | 4次计入费用的成功生成任务合计160.91秒;不含其他试错、排队、编辑与验收。 |
| 验收结果 | 最终1264×848插画中五个场景灯笼均已核对;离线网页通过5/5命中、重复点击不叠加、重置、Enter操作和375px排版检查。 |
| 成品 | 尺寸 | 实际规格 |
|---|---|---|
| N01V-add-bench-lantern.jpg | 1264×848 | 带背景栅格图 |
参数与提示词
N01-find-five-lanterns
模型路由:gemini-3-pro-image。画幅3:2。
Bright warm ivory background, mint green, vermilion and warm gold. No dark background, no purple gradient, no words, no letters, no logos. Generous clean margins. Professional crisp illustration. Use the supplied reference girl: brown twin ponytails, amber eyes, red lantern hair ornaments, red Chinese jacket with cream trim, cream skirt, brown crossbody bag and brown boots. Keep her identity recognizable. Create a lively illustrated puzzle of a small creative fair. Hide EXACTLY FIVE tiny red lanterns with gold tassels: one under a table, one beside a flower pot, one on the roof, one inside an open box, one behind a bench. The reference girl stands at the left entrance. Her hair ornaments must be simple gold beads rather than red lanterns, to avoid confusing the count. No other red lanterns. Draw each hidden lantern fully enough to recognize.
N01R-find-five-lanterns
模型路由:gemini-2.5-flash-image。画幅3:2。
Bright warm ivory background, mint green, vermilion and warm gold. No dark background, no purple gradient, no words, no letters, no logos. Generous clean margins. Professional crisp illustration. Use the supplied reference girl: brown twin ponytails, amber eyes, red lantern hair ornaments, red Chinese jacket with cream trim, cream skirt, brown crossbody bag and brown boots. Keep her identity recognizable. Create a lively illustrated puzzle of a small creative fair. Hide EXACTLY FIVE tiny red lanterns with gold tassels: one under a table, one beside a flower pot, one on the roof, one inside an open box, one behind a bench. The reference girl stands at the left entrance. Her hair ornaments must be simple gold beads rather than red lanterns, to avoid confusing the count. No other red lanterns. Draw each hidden lantern fully enough to recognize.
N01S-find-five-lanterns
模型路由:gemini-nano-banana-2.1。画幅3:2。
Edit this exact puzzle picture. Change both RED lantern hair ornaments on the large girl into small GOLD BEADS, keeping the face and hair. Remove all pseudo-writing from the three stall signs, leave signs completely blank. Keep the three hanging red lanterns already in the scene unchanged: under the left table, on the roof, on the wooden box. ADD exactly TWO more red lanterns: one beside the flower pot at bottom center, one behind the right bench. The final picture must contain EXACTLY FIVE scene lanterns total, all red with gold tassels, and ZERO red lantern hair ornaments. Do not add other lanterns or people.
N01T-remove-two-lanterns
模型路由:gemini-2.5-flash-image。画幅3:2。
Edit this exact image with exactly TWO deletions. REMOVE the red lantern hanging just below the middle red-roof stall, directly left of its blank sign. REMOVE the red lantern hanging from the left corner of the right mint-roof stall, above the small girl. Fill those two areas with matching unchanged background. DO NOT remove the lantern on the high roof pole. DO NOT remove the lantern under the left table, beside the flower pots, on the wooden box, or behind the right bench. Do not add any object. Preserve all people, their gold hair beads, all blank signs, and all remaining five lanterns.
N01U-remove-two-lanterns
模型路由:gemini-nano-banana-2.1。画幅3:2。
Edit this exact image with exactly TWO deletions. REMOVE the red lantern hanging just below the middle red-roof stall, directly left of its blank sign. REMOVE the red lantern hanging from the left corner of the right mint-roof stall, above the small girl. Fill those two areas with matching unchanged background. DO NOT remove the lantern on the high roof pole. DO NOT remove the lantern under the left table, beside the flower pots, on the wooden box, or behind the right bench. Do not add any object. Preserve all people, their gold hair beads, all blank signs, and all remaining five lanterns.
N01V-add-bench-lantern
模型路由:gemini-nano-banana-2.1。画幅3:2。
Make ONE local addition to this exact picture, otherwise keep the image unchanged. ADD ONE small round red paper lantern with a gold tassel, resting on the far right end of the wooden bench, immediately to the right of the back of the rightmost seated man. That part of the bench is currently empty. Preserve exactly all four existing lanterns: roof pole, under left stall, beside flowerpots, on wooden box. Do not add hanging lanterns to stall awnings. Do not change girl, golden hair beads, signs, composition, people, or any other details. Return the same landscape image with that single extra bench lantern.
本地节点连接和裁切参数见workflows。请求画幅与时长不能替代文件实测规格。
失败、订正与边界
- 游戏网页和热点坐标由操作者编写;API只生成和编辑插画。
- 发饰由红灯笼改成金珠是为了避免计数歧义,不作为原IP严格不变的成功样例。
- 编辑会重绘其他细节,不能承诺删除区域之外逐像素不变。
- 已测桌面浏览器与375px视口,未做实体手机设备兼容测试。
所有生成与节点处理均通过Comfy Desktop界面点击Run触发。辅助程序用于准备工作流、核对文件和账单、编写小游戏与打包;小游戏由操作者实现,图片模型只负责素材。comparisons目录保存未采用稿或局部处理前的原稿,不作为最终效果。
下载与复跑
包内含输入、成品、工作流、逐步截图、脱敏回执、采用范围的账单、节点源码与验收记录。playable/index.html可离线打开;浏览器交互记录见screenshots。 不包含API Key或模型权重。再次生成可能得到不同结果,也可能因上游不可用而失败。
originals-manifest.json记录标识加工前原件,package-manifest.json记录最终包内文件;AIGC元数据加工可能改变图片字节,不改变像素。不同文章若复用调用,费用不能跨文章相加;总体按请求及退款去重。
来源
工作流机制参考ComfyUI官方文档。本篇仅证明上述本机版本、路由与样例,不外推为官方Partner API、真实商品或所有设备均通过。
实操记录与截图
- 实操工具
- Comfy Desktop 1.2.2 / ComfyUI 0.46.4
- 测试环境
- Mac mini M4 / 16GB;macOS;Comfy Desktop 1.2.2 / ComfyUI 0.46.4 / 前端1.59.6;独立兼容渠道节点
- 模型记录
- gemini-nano-banana-2.1
- 消耗记录
- US$0.14,按渠道实际扣费记录核对,以美元计价。包含采用图片所需的四次成功生成/编辑链;失败请求、封面和其他未采用尝试另计。本地裁切、拼接、静音处理和网页交互无新增模型调用;不含电费、存储、流量和人工。
验证结果
- 最终1264×848插画中五个场景灯笼均已核对;离线网页通过5/5命中、重复点击不叠加、重置、Enter操作和375px排版检查。
- 4次计入费用的成功生成任务合计160.91秒;不含其他试错、排队、编辑与验收。
问题与边界
- 游戏网页和热点坐标由操作者编写;API只生成和编辑插画。
- 发饰由红灯笼改成金珠是为了避免计数歧义,不作为原IP严格不变的成功样例。
- 编辑会重绘其他细节,不能承诺删除区域之外逐像素不变。
- 已测桌面浏览器与375px视口,未做实体手机设备兼容测试。
操作截图
23 张保留实际尝试、订正与复测过程。点击图片可在当前页放大、缩放和切换。






展开其余 17 张操作截图

















踩过的坑,也留给你
- 游戏网页和热点坐标由操作者编写;API只生成和编辑插画。
- 发饰由红灯笼改成金珠是为了避免计数歧义,不作为原IP严格不变的成功样例。
- 编辑会重绘其他细节,不能承诺删除区域之外逐像素不变。
- 已测桌面浏览器与375px视口,未做实体手机设备兼容测试。