抄作业摊

把生成插画做成找物小游戏:先数对,再做热点

经历灯笼多画、少画和发饰混淆后,逐个核对五处目标,再制作可离线玩的点击找物游戏。

内容创作新手可抄
US$0.14/ 正文限定的生成范围· 实测

macOS · 耗时 4次计入费用的成功生成任务合计160.91秒;不含其他试错、排队、编辑与验收。 · Comfy Desktop在本机编排工作流、预览与后处理;生成节点会将提示词和所选参考图上传到自行配置的第三方渠道,并按渠道账单收费。本机读取练习输入及私有渠道配置、写入输出。Key不进入工作流和练习包。

实测模型gemini-nano-banana-2.1

看全部条件

US$0.14,按渠道实际扣费记录核对,以美元计价。包含采用图片所需的四次成功生成/编辑链;失败请求、封面和其他未采用尝试另计。本地裁切、拼接、静音处理和网页交互无新增模型调用;不含电费、存储、流量和人工。

适用系统
macOS
适用版本
Comfy Desktop 1.2.2 / ComfyUI 0.46.4
所需工具
CyberFeteMediaImage / SaveImage / LoadImage / EmptyImage / InvertMask / ImageCompositeMasked
耗时
4次计入费用的成功生成任务合计160.91秒;不含其他试错、排队、编辑与验收。

需要的权限

Comfy Desktop在本机编排工作流、预览与后处理;生成节点会将提示词和所选参考图上传到自行配置的第三方渠道,并按渠道账单收费。本机读取练习输入及私有渠道配置、写入输出。Key不进入工作流和练习包。

权限是什么?
包里有什么(46 个文件,9006.1 KB)
  • NODE-SOURCE.md
  • adopted-billing.json
  • audit.json
  • comparisons/N01R-find-five-lanterns-20261201-112526-e8c6f808.png
  • comparisons/N01S-find-five-lanterns-20261201-113101-af978e29.jpg
  • comparisons/N01U-remove-two-lanterns-20261201-115745-642f1d4a.jpg
  • inputs/cyberfete-find-lanterns-initial.png
  • inputs/cyberfete-find-seven-lanterns.jpg
  • inputs/cyberfete-ip-reference.webp
  • inputs/cyberfete-puzzle-four-lanterns.jpg
  • outputs/N01V-add-bench-lantern.jpg
  • outputs.json
  • playable/index.html
  • playable/lantern-puzzle.jpg
  • runs.json
  • screenshots/N01-find-five-lanterns-desktop-01-settings.jpg
  • screenshots/N01-find-five-lanterns-desktop-02-running.jpg
  • screenshots/N01-game-01-start.jpg
  • screenshots/N01-game-02-repeat-no-double-count.jpg
  • screenshots/N01-game-03-all-five-found-full.jpg
  • screenshots/N01-game-03-all-five-found.jpg
  • screenshots/N01-game-04-reset.jpg
  • screenshots/N01-game-05-keyboard.jpg
  • screenshots/N01-game-06-mobile.jpg
  • screenshots/N01-game-07-mobile-balanced.jpg
  • screenshots/N01R-find-five-lanterns-desktop-01-settings.jpg
  • screenshots/N01R-find-five-lanterns-desktop-02-running.jpg
  • screenshots/N01R-find-five-lanterns-desktop-03-result.jpg
  • screenshots/N01S-find-five-lanterns-desktop-01-settings.jpg
  • screenshots/N01S-find-five-lanterns-desktop-02-running.jpg
  • screenshots/N01T-remove-two-lanterns-desktop-01-settings.jpg
  • screenshots/N01T-remove-two-lanterns-desktop-02-running.jpg
  • screenshots/N01U-remove-two-lanterns-desktop-01-settings.jpg
  • screenshots/N01U-remove-two-lanterns-desktop-02-running.jpg
  • screenshots/N01V-add-bench-lantern-desktop-01-settings.jpg
  • screenshots/N01V-add-bench-lantern-desktop-02-running.jpg
  • screenshots/N01V-add-bench-lantern-desktop-03-result.jpg
  • workflows/N01-find-five-lanterns.json
  • workflows/N01R-find-five-lanterns.json
  • workflows/N01S-find-five-lanterns.json
  • workflows/N01T-remove-two-lanterns.json
  • workflows/N01U-remove-two-lanterns.json
  • workflows/N01V-add-bench-lantern.json
  • README-实测教程.md
  • originals-manifest.json
  • package-manifest.json

普通练习包,不是 skill。上架前检查过:没有可执行程序和脚本,路径不越界。练习包含说明与虚构输入,请在自己的 DSH 中使用。

把生成插画做成找物小游戏:先数对,再做热点经历灯笼多画、少画和发饰混淆后,逐个核对五处目标,再制作可离线玩的点击找物游戏。

做完,你会拿到什么

模型与方法
  • gemini-nano-banana-2.1
  • 图像生成对精确数量不可靠。找物游戏需要先固定已核实的图,再由可控坐标和计数逻辑处理交互。
实际成品
文件尺寸规格
N01V-add-bench-lantern.jpg1264×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 步抄

  1. 运行N01R并数场景灯笼,区分人物发饰和目标物件。

  2. 用N01S将发饰改成金珠并补场景目标;实际变成七个,仍不通过。

  3. 按具体位置删除两盏;N01T遭遇502,N01U又多删除了一盏,只剩四个。

  4. 用N01V只在最右长椅补一盏,核对屋顶、桌下、花盆、木箱、长椅五处。

  5. 打开包内playable/index.html,按百分比热点点击;计数由网页脚本处理,不是模型自动识别。

  6. 实测重复目标不重复计数、五处全中、重新开始和键盘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。路由名称来自调用记录,不据此认证真实上游模型身份。

实际操作

  1. 运行N01R并数场景灯笼,区分人物发饰和目标物件。

  2. 用N01S将发饰改成金珠并补场景目标;实际变成七个,仍不通过。

  3. 按具体位置删除两盏;N01T遭遇502,N01U又多删除了一盏,只剩四个。

  4. 用N01V只在最右长椅补一盏,核对屋顶、桌下、花盆、木箱、长椅五处。

  5. 打开包内playable/index.html,按百分比热点点击;计数由网页脚本处理,不是模型自动识别。

  6. 实测重复目标不重复计数、五处全中、重新开始和键盘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.jpg1264×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 张

保留实际尝试、订正与复测过程。点击图片可在当前页放大、缩放和切换。

导入工作流并核对模型、参数
01 · 导入工作流并核对模型、参数
在Comfy Desktop点击Run后的真实状态
02 · 在Comfy Desktop点击Run后的真实状态
在浏览器实际操作小游戏
03 · 在浏览器实际操作小游戏
在浏览器实际操作小游戏
04 · 在浏览器实际操作小游戏
在浏览器实际操作小游戏
05 · 在浏览器实际操作小游戏
在浏览器实际操作小游戏
06 · 在浏览器实际操作小游戏
展开其余 17 张操作截图
在浏览器实际操作小游戏
07 · 在浏览器实际操作小游戏
在浏览器实际操作小游戏
08 · 在浏览器实际操作小游戏
在浏览器实际操作小游戏
09 · 在浏览器实际操作小游戏
在浏览器实际操作小游戏
10 · 在浏览器实际操作小游戏
导入工作流并核对模型、参数
11 · 导入工作流并核对模型、参数
在Comfy Desktop点击Run后的真实状态
12 · 在Comfy Desktop点击Run后的真实状态
实际生成结果或失败界面,采用范围见正文
13 · 实际生成结果或失败界面,采用范围见正文
导入工作流并核对模型、参数
14 · 导入工作流并核对模型、参数
在Comfy Desktop点击Run后的真实状态
15 · 在Comfy Desktop点击Run后的真实状态
导入工作流并核对模型、参数
16 · 导入工作流并核对模型、参数
在Comfy Desktop点击Run后的真实状态
17 · 在Comfy Desktop点击Run后的真实状态
导入工作流并核对模型、参数
18 · 导入工作流并核对模型、参数
在Comfy Desktop点击Run后的真实状态
19 · 在Comfy Desktop点击Run后的真实状态
导入工作流并核对模型、参数
20 · 导入工作流并核对模型、参数
在Comfy Desktop点击Run后的真实状态
21 · 在Comfy Desktop点击Run后的真实状态
实际生成结果或失败界面,采用范围见正文
22 · 实际生成结果或失败界面,采用范围见正文
实际采用成品 · N01V-add-bench-lantern.jpg
23 · 实际采用成品 · N01V-add-bench-lantern.jpg

踩过的坑,也留给你

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

照着做没成功?告诉我们

哪一步没走通、看到了什么,写一两句就行。编辑部会照着再做一遍,把作业改对。

最多 1000 字。请先去掉密钥、手机号这些私人信息。

不用登录,不公开,也不收联系方式,只给编辑部看。我们收什么、留多久

更多摊位

全部摊位和设置

问你两句

只用来在首页“逛招牌”旁放“我常用的”快捷入口,不改变任何内容的排序。答案只存在这台设备上,随时能在设置里重答或清除。

1. 你在用哪些工具?(可多选)
2. 想用它做什么?(可多选)