Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Open-source Higgsfield on ComfyUI: 120 image, video, VFX and audio apps, every model open weights; runs on Modal or your own GPU
Saved setup from 4 h ago
Will it work on Windows?
Heads-upIt also needs 4 settings in .env (1 secret).
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/neuregex/freefield.git cd freefield
Node.js >=22.6.0, Python 3
winget install CoreyButler.NVMforWindows nvm install lts nvm use lts winget install Python.Python.3.12
Fill in secrets: FREEFIELD_TOKEN
Copy-Item .env.example .env
npm ci
npm run serve
npm test
You need Node 22.6+, Python 3.10+ and a Modal account, or a GPU of your own (below).
# 0. what is missing: Node, Modal login and secrets, Hugging Face license access per model, .env
python tools/doctor.py
# 1. secrets (once). Pick the Modal workspace first: in .env, FREEFIELD_MODAL_PROFILE=<profile from `modal profile list`>
python tools/setup_token.py # gateway token: Modal secret "freefield" and .env get the same value
modal secret create huggingface HF_TOKEN=hf_... # accept the gated licenses on the Hub first (doctor.py checks them)
# 2. models into the "freefield-models" volume, per pack (see packs/index.json)
python tools/catalog.py packs
modal run infra/modal_app.py::download --pack image
# 3. backend (private: it needs the token)
modal deploy infra/modal_app.py # FREEFIELD_GPU=A10G to try the 24 GB plan
# 4. web app
npm install
# in .env (made by step 1): COMFY_BASE_URL = the URL printed by step 3
npm run serve # http://127.0.0.1:3000
npm run app -- create-image --set prompt="a red bicycle against a white wall" # or from the terminal
On Windows PowerShell, environment variables go before the command as $env:FREEFIELD_GPU = "A10G"; modal deploy ....
tools/local_backend.py runs the same backend as infra/modal_app.py, on your machine: ComfyUI at the pinned commit
with the pinned custom nodes, comfy-api-proxy next to it and the token gateway in front. Run it in a Python
virtualenv that already has the PyTorch build for your GPU (pytorch.org).
# 1. ComfyUI, the custom nodes and comfy-api-proxy (once)
python tools/local_backend.py setup ~/freefield-comfy
# 2. the models of the apps you want, by pack (packs/index.json says which apps each pack serves)
python tools/local_backend.py download ~/freefield-comfy image-flux3 --dry-run # what is missing, and how big
python tools/local_backend.py download ~/freefield-comfy image-flux3 # gated repos: HF_TOKEN or `hf auth login`
# 3. a gateway token in .env, then the backend: ComfyUI :8188, comfy-api-proxy :8189, gateway :8000
python tools/setup_token.py --env-only
python tools/local_backend.py serve ~/freefield-comfy # ComfyUI flags after --, e.g. -- --lowvram
# 4. in another terminal, with COMFY_BASE_URL=http://127.0.0.1:8000 in .env
npm install
npm run serve # http://127.0.0.1:3000
Models go to <dir>/models; --models points at a model folder you already have instead. Which apps fit your card:
the On a 24 GB card column of the app table and the VRAM map. Checked on 27 Oct on a
CPU-only machine, setup to a finished run of the model-free smoke app through the gateway; the GPU apps send the
same workflows as on Modal.
npm run serve opens a studio laid out like the one it rebuilds:
multiple takes up to a few options at once and sends them in the order picked (Cinema Studio
Video's camera moves are numbered; AI Influencer's facial features, distinctive traits and accessories). Apps that
list each other under modes show a switch at the top of the form: Image / Video in Cinema Studio, New character
/ Your photo in AI Influencer.paint in app.json (inpaint) opens a brush over the photo it names: what you paint becomes
a white-on-black mask the size of the photo (web/js/paint.js).…
No reports for Windows yet.
GitManual AI Agent reads the 4 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.