Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
comfy-api-proxy
command
Command comfy-api-proxy serves the Comfy API v2 in front of a self-hosted ComfyUI.
|
Command comfy-api-proxy serves the Comfy API v2 in front of a self-hosted ComfyUI. |
|
comfy-demo
command
Command comfy-demo runs one workflow through the Go SDK against a Comfy API v2 deployment and downloads its outputs.
|
Command comfy-demo runs one workflow through the Go SDK against a Comfy API v2 deployment and downloads its outputs. |
|
proxybench
command
Command proxybench measures the Go proxy against the Python reference on this machine: throughput and latency per endpoint, startup time, and memory, with both proxies in front of the same upstream.
|
Command proxybench measures the Go proxy against the Python reference on this machine: throughput and latency per endpoint, startup time, and memory, with both proxies in front of the same upstream. |
|
internal
|
|
|
comfy
Package comfy is the HTTP client for ComfyUI's native API.
|
Package comfy is the HTTP client for ComfyUI's native API. |
|
config
Package config resolves the proxy's settings from defaults, a TOML file, COMFY_PROXY_* environment variables, and flags, in that order of precedence.
|
Package config resolves the proxy's settings from defaults, a TOML file, COMFY_PROXY_* environment variables, and flags, in that order of precedence. |
|
httpx
Package httpx holds the response helpers every v2 handler shares.
|
Package httpx holds the response helpers every v2 handler shares. |
|
proxy
Package proxy implements the Comfy API v2 surface over one ComfyUI.
|
Package proxy implements the Comfy API v2 surface over one ComfyUI. |
|
server
Package server owns the listener and the HTTP server lifecycle.
|
Package server owns the listener and the HTTP server lifecycle. |
|
service
Package service runs the proxy in the background: start spawns a detached copy of this binary, records its PID and address, and waits for it to bind; stop and status find it again through that record.
|
Package service runs the proxy in the background: start spawns a detached copy of this binary, records its PID and address, and waits for it to bind; stop and status find it again through that record. |
|
state
Package state is the --state-dir SQLite store behind the proxy's in-memory indexes: job records, Idempotency-Key claims, the asset index, and the output-id signing secret.
|
Package state is the --state-dir SQLite store behind the proxy's in-memory indexes: job records, Idempotency-Key claims, the asset index, and the output-id signing secret. |
|
ui
Package ui renders everything the CLI prints.
|
Package ui renders everything the CLI prints. |
|
Package sdk is a Go client for the Comfy API v2: Comfy Cloud, or any deployment that speaks the same contract, such as comfy-api-proxy in front of a self-hosted ComfyUI.
|
Package sdk is a Go client for the Comfy API v2: Comfy Cloud, or any deployment that speaks the same contract, such as comfy-api-proxy in front of a self-hosted ComfyUI. |
Click to show internal directories.
Click to hide internal directories.