Skip to content

Installation

This page shows how to get PixelNexus running on your own computer.

What you need

Tool Version Why
Git any recent version To get the source code.
Node.js 22 or newer Builds and runs the studio. The project is developed with Node.js 24.
pnpm 12, through Corepack Installs the studio packages. Corepack comes with Node.js.
uv 0.12 or newer Installs Python 3.12 and the Python packages for you.
Docker optional Runs the studio and the engine in containers.

You do not need to install Python yourself. uv downloads the right version the first time you run it.

Get the code

git clone https://github.com/mKamiAsim/pixelnexus.git
cd pixelnexus

Install the packages

Turn on pnpm through Corepack. You only need to do this once per computer.

corepack enable pnpm

Install the studio packages:

pnpm install

Install Python and the engine packages, with the model runtime for this computer. On any computer:

uv sync --extra cpu

On a Linux or Windows computer with an NVIDIA GPU, use the CUDA build instead. It brings NVIDIA's CUDA 13 and cuDNN libraries as Python packages, about 1.5 GB, so a system CUDA install is not needed:

uv sync --extra cuda

The two cannot be installed together. Later uv run commands keep the one you chose. Without either, the engine still runs, and its AI model filters say how to add one. The AI models themselves download only when you click Download model, or with uv run pixelnexus-engine models download <id>.

Run the studio

pnpm dev

Open http://localhost:5173 in your browser.

Run the science engine

The science engine is optional. Advanced filters need it from Phase 6 on.

uv run pixelnexus-engine

Check that it works at http://127.0.0.1:8765/api/v1/info. The page lists the engine version, the library versions, the limits, and where AI models run. uv run pixelnexus-engine device shows the same in the terminal. The engine listens on 127.0.0.1 only, so other computers cannot reach it.

Read the docs locally

uv run mkdocs serve

Open http://127.0.0.1:8000.

Run everything with Docker

Docker builds the studio and the engine and starts both.

docker compose up --build
Service Address
Studio http://localhost:8080
Science engine http://127.0.0.1:8765/api/v1/info

Both ports are published on 127.0.0.1 only. Stop the containers with docker compose down.