v0.1.7
Breaking: the base URL moves from a constructor argument to COMFY_BASE_URL
Comfy() / AsyncComfy() target Comfy Cloud by default. To point the client at another deployment, set the COMFY_BASE_URL environment variable — an arbitrary endpoint is no longer part of the call surface.
- client = Comfy("https://my-deployment.example.com", api_key)
+ # COMFY_BASE_URL=https://my-deployment.example.com
+ client = Comfy(api_key=api_key)api_key is keyword-only now, so the old positional form raises TypeError rather than quietly reading a URL as a key.
The variable is read on each construction (not at import), must be an http(s) URL, and unset-or-blank means Comfy Cloud.
comfy_low, the documented escape hatch the clients are built on, still takes a base URL directly and is unchanged.
There is no 0.1.6 on PyPI — that number was consumed by a release-pipeline failure and never published. This is the first release containing the change above; @comfyorg/sdk ships the same change as 0.1.6.
Full changelog: v0.1.5...v0.1.7