Files
comfyui_o1key/docs/decisions/0011-remove-nano-prompt-optimization-and-colour-correction.md
Jony ba920f2b66 Publish current ComfyUI O1Key code baseline
Replace the prior release tree with the current plugin, frontend, tests, and documentation. Document retired node IDs and the public Gitea update source.
2026-09-24 19:56:48 +08:00

1.2 KiB

0011: Remove Nano Banana prompt optimization and batch colour correction

  • Status: Accepted
  • Date: 2026-09-24
  • Owners: Maintainers

Context

The standalone and batch Nano Banana nodes added a browser-side prompt optimization button. The batch node also offered optional colour correction after generation. The batch control was the last serialized widget, so removing it requires migration for saved workflows.

Decision

Remove the Nano-specific prompt optimization extension and the batch node's colour correction input and post-processing. Keep the unified image generator's AI帮写 action and the GPT Image batch node's colour correction behavior.

Compatibility

migrateWorkflow.js removes the retired batch correction value before ComfyUI configures widgets. It then adds the 不缩放 default only when an old workflow lacks a resize value. Running the migration twice leaves the same values. Existing batch image quality, naming, and resize values stay in place.

Validation

Node schema and execution tests cover the absent correction input and unchanged generated image. Frontend tests cover removed extension and old batch workflow values with both default and smart resize.