From b944c4090fecfa0216dc704166cdb1944276fdee Mon Sep 17 00:00:00 2001 From: wunianze666-netizen Date: Mon, 8 Jun 2026 23:20:26 +0800 Subject: [PATCH] docs: clarify local scripting and /api routes --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index dc2389266..1ae4aa352 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, ## Examples See what ComfyUI can do with the [newer template workflows](https://comfy.org/workflows) or old [example workflows](https://comfyanonymous.github.io/ComfyUI_examples/). +## API +`openapi.yaml` documents the newer `/api/*` endpoints, while the Python examples in `script_examples/` use the local scripting routes served by `server.py` (without the `/api` prefix). In the UI, use `File -> Export (API)` to export the current workflow before sending it to the backend. + ## Features - Nodes/graph/flowchart interface to experiment and create complex Stable Diffusion workflows without needing to code anything. - NOTE: There are many more models supported than the list below, if you want to see what is supported see our templates list inside ComfyUI.