# Installing Seam Written so a person **or an agent** (Claude Code, Codex, …) can follow it top to bottom. Every step ends with a command that proves it worked. The last step, `seam doctor`, checks everything at once. ## 0. What you need | | Minimum | Tested on | |---|---|---| | GPU | NVIDIA, 32 GB VRAM (24 GB expected to work with offloading, untested) | RTX 5090 32 GB, driver 617 | | RAM | 64 GB (model offloading) | 128 GB | | Disk | ~50 GB free for models (~90 GB with the optional LTX-2.3 set) | NVMe | | OS | Windows 11 (Linux expected to work, untested) | Windows 11 | | Software | ComfyUI ≥ 0.41.3, Python 3.12, `uv`, Node 20+, ffmpeg, Git | ComfyUI Desktop 0.41.3 | | Account | Hugging Face account (LTX-2.5 is gated) | — | ## 1. ComfyUI Use **ComfyUI Desktop** (https://www.comfy.org/download) or a manual ComfyUI ≥ 0.41.3 install. No custom nodes are needed: Seam only uses core nodes. Start it and check: ```bash curl http://127.0.0.1:8188/system_stats # Desktop may use port 8000 — use whatever your ComfyUI shows ``` ## 2. Models (~44 GB, open weights) 1. Accept the LTX-2.5 license at https://huggingface.co/Lightricks/LTX-2.5 (gated) and log in: `hf auth login` (or set `HF_TOKEN`). 2. Download into your ComfyUI `models` folder (resumable, size-checked): ```bash git clone https://github.com/jdnichollsc/seam && cd seam uv run python scripts/download_models.py --models-dir "/models" --only l25 ``` `--only l25` is everything the launch effects use (LTX-2.5 + the Gemma-4 E2B shot reader). Without `--only` the script fetches the two default sets, `l25` and `shot` (Z-Image-Turbo for Generate shot). Every other set is optional and named with `--only`: `l23` (LTX-2.3 + its transition LoRA), `wan22`, `shot_klein`, `shot_juggernaut`, `shot_h3` (MiniMax H3 Image) and `orbit` (MiniMax-H3 Ref2VA + ORB360, the 360° orbit). The script prints each set's licenses; read them first. Or get them from the app: with your local ComfyUI running, open **Models** in the header (Seam asks ComfyUI where its `models` folder is; `SEAM_MODELS_DIR` overrides it), and pick a missing model. It shows the files, their size, your free disk and every license; tick that you accept them and it downloads (one set at a time, resumable). Gated files (LTX-2.5) still need `hf auth login` on this machine: Seam never asks for a token in the browser. Downloads are only offered on your GPU and only when Seam runs on localhost. Desktop users: the models folder is in Desktop's settings (e.g. `%LOCALAPPDATA%\Comfy-Desktop\ComfyUI-Shared\models`). Restart ComfyUI afterwards so it sees the new files. ## 3. Comfy API proxy (Comfy Developer Platform, v2 API) Seam talks to ComfyUI through the official **Comfy SDK**, which speaks the Comfy API v2. Locally that API is served by the official proxy in front of ComfyUI: ```bash uv tool install comfy-api-proxy==0.1.6 # tested with 0.1.6 and comfy-sdk 0.5.0 (locked in uv.lock) comfy-api-proxy start --comfyui http://127.0.0.1:8188 # serves http://127.0.0.1:8189, local only curl http://127.0.0.1:8189/api/v2/health ``` Using **Comfy Cloud** instead (no GPU needed): skip ComfyUI, this step and the model downloads. Create an [API key](https://platform.comfy.org/profile/api-keys), start Seam, then pick Comfy Cloud in the chip at the top of the app, or run `seam backend --set-key` and `seam backend cloud`. Your shots are uploaded and takes use your credits. The key is saved in `~/.seam/cloud.json` in plain text (same trust as a `.env`; on Windows your user profile's permissions protect it) and never reaches the browser again. Comfy Cloud only works with Seam on localhost: without authentication, a server open to a network would let anyone spend your credits. A deployed Comfy API: set `COMFY_BASE_URL` and `COMFY_API_KEY` (server-side only). ## 4. ffmpeg Windows: `winget install --id Gyan.FFmpeg -e` · macOS: `brew install ffmpeg` · Linux: `apt install ffmpeg`. Open a new terminal, then `ffprobe -version`. ## 5. Seam ```bash uv sync # Python deps (comfy-sdk, fastapi, mcp, …) cd web && npm install && npm run build && cd .. uv run seam doctor # must print "ready" uv run seam serve # http://127.0.0.1:7860 ``` Environment variables (all optional): `SEAM_BACKEND` (`local` or `cloud`; overrides the app's choice), `COMFY_BASE_URL` (default `http://127.0.0.1:8189`), `COMFY_API_KEY`, `SEAM_COMFYUI_URL` (for `seam doctor`'s model check, default `http://127.0.0.1:8188`), `SEAM_PORT` (7860), `SEAM_DATA_DIR` (`~/.seam`: uploads, outputs, job database, `licenses.json` of accepted model licenses), `SEAM_MODELS_DIR` (your ComfyUI `models` folder, where the app downloads missing models; unset, Seam asks the local ComfyUI at `SEAM_COMFYUI_URL`). Smoke test without the UI: ```bash uv run seam presets uv run seam make first.png last.png --preset smoke -o smoke.mp4 uv run seam models # what this backend can render uv run seam make first.png last.png --preset smoke --model wan22 -o wan.mp4 ``` Leave `--model` out to use the effect's own model. Nothing is downloaded for you: Wan 2.2 needs its files in ComfyUI. ## 6. Use it from Claude (skill + MCP) Keep `seam serve` running; the MCP server is a client of it, so agent jobs appear in the web gallery. **Claude Code** (plugin = skill + MCP server): ```bash claude plugin marketplace add claude plugin install seam ``` or, without the plugin system: `claude mcp add seam -- uv run --project seam mcp` and copy `skills/seam/` into `~/.claude/skills/`. **Claude Desktop** — add to `claude_desktop_config.json` (Settings → Developer → Edit config), then restart: ```json { "mcpServers": { "seam": { "command": "uv", "args": ["run", "--project", "C:/path/to/seam", "seam", "mcp"], "env": { "SEAM_URL": "http://127.0.0.1:7860" } } } } ``` **Codex** — `~/.codex/config.toml`: ```toml [mcp_servers.seam] command = "uv" args = ["run", "--project", "/path/to/seam", "seam", "mcp"] env = { SEAM_URL = "http://127.0.0.1:7860" } ``` Check: ask Claude "make a smoke transition from first.png to last.png with Seam". ## Troubleshooting - `seam doctor` prints a fix for every failed check. - A job stays "Waiting for the GPU": the ComfyUI queue is shared — another workflow is running. - Out of memory: close other GPU apps; ComfyUI offloads to RAM, so 64 GB+ RAM matters.