This comparison workflow shows a clean, side-by-side view of how Nano Banana 2 Lite (via the GeminiNanoBanana2V2 node) transforms a source image based on your edit instruction. The pipeline loads your original image, applies the edit with the model, and then places the original and result next to each other using ImageCompare so you can quickly judge what changed and what stayed consistent.
Methodologically, the comparison is controlled: both panes derive from the exact same source image (LoadImage), and only the model-driven edit differs. This makes it easy to evaluate trade-offs such as speed versus fidelity, the extent of stylistic drift, and the preservation of structure or identity. Expect Nano Banana 2 Lite to prioritize responsiveness and efficient edits; in practice, that can mean fast, coherent changes for common tasks (color tweaks, small object additions/removals), while very intricate or large, global transformations may require tighter instructions or iterative passes.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/62cb2b168265.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ
















