Support a remote ComfyUI via a .env config file
- run.sh / run.ps1: load an optional .env for host-specific env vars - .env.example + docs: ComfyUI can run on another host (ROUTER_COMFYUI) - .gitignore: .env Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2f95e6be96
commit
ab0cd4fe85
@@ -13,6 +13,10 @@ in OpenAI's image-response shape — so any OpenAI image client works.
|
||||
| `ROUTER_COMFY_CHECKPOINT` | *(unset)* | your checkpoint filename, e.g. `sd_xl_base_1.0.safetensors` |
|
||||
| `ROUTER_COMFY_WORKFLOW` | `comfyui-workflow.json` | the workflow template (see below) |
|
||||
|
||||
Set these in a **`.env`** file (gitignored; copy `.env.example`) — `run.sh` /
|
||||
`run.ps1` load it on start. **ComfyUI can run on another machine** — just point at
|
||||
it, e.g. `ROUTER_COMFYUI=http://valhalla:8188`.
|
||||
|
||||
At minimum, **set `ROUTER_COMFY_CHECKPOINT`** to a model that exists in your
|
||||
ComfyUI (`ComfyUI/models/checkpoints/`), or hardcode it into the template's
|
||||
`ckpt_name`. Then restart the router.
|
||||
|
||||
Reference in New Issue
Block a user