The proxy is a stopgap. Once the v2 API stabilizes it moves into ComfyUI core and the proxy is no longer needed.
Install and run
127.0.0.1:8188 and serves the v2 API on 127.0.0.1:8189. Use --comfyui and --port to change either.
Run it with --comfyui-base-dir /path/to/ComfyUI if you also want to upload model files into your install.
Point the SDK at it
Set the base URL and construct the client as usual:Authentication
Authentication is not required by default. If the proxy is configured with a static bearer token, pass that token as the SDK API key:Comfy(api_key="...").
Next steps
- Comfy SDKs: the client guide
- Comfy API v2 Reference: the HTTP contract the proxy serves
- Self-Hosting Options: where to run the ComfyUI behind it
- Design Notes: why the proxy exists