diff options
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -74,7 +74,9 @@ keep the old Dockerfile in git to revert. - Real host paths live in the gitignored `.env` (copy `.env.example` to create it), NOT in hardcoded wrapper defaults. `.env` sets `IMGGEN_OUT` → `/out` and `IMGGEN_CACHE` → `/models` (bind mounts), plus optionally `IMGGEN_PORT` (daemon port, default 8765, localhost-only), - `IMGGEN_MODEL` (default sdxl), `IMGGEN_UID`/`IMGGEN_GID`. `HF_HOME=/models` so the ~7.5GB + `IMGGEN_MODEL` (default sdxl), `IMGGEN_WIDTH`/`IMGGEN_HEIGHT` (default image size the wrapper + seeds into `-W`/`-H` when absent; must be multiples of 8; example `.env` is 1280x960 landscape, + unset falls back to 1024x1024), `IMGGEN_UID`/`IMGGEN_GID`. `HF_HOME=/models` so the ~7.5GB weights download once. Output paths in `generate.py`/`server.py` are all under `/out`. - Daemon args (`generate` endpoint) and one-shot CLI args (`generate.py` argparse) are kept in sync by hand in the wrapper; adding a flag means updating `generate.py`, `server.py`, and the |
