Welcome! This project lets you run an AI-powered app with both a backend (server) and a frontend (website).
Artmorph is a hybrid generative image stylization system that combines perceptual optimization (Neural Style Transfer) with diffusion-based sampling to address stability, color drift, and convergence issues observed in classical NST pipelines.
The project was motivated by three recurring problems:
To address these, the system integrates:
Experiments were conducted by varying:
Key observations:
Metrics used during evaluation:
No deep technical knowledge needed — just follow the steps in order.
You only need to do this once.
Put the project folder somewhere easy, e.g. Desktop/project.
Windows (PowerShell):
python -m venv .venv
.\.venv\Scripts\Activate
macOS / Linux:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
npm install
To avoid delays when first running, download the models now.
python dev/download_all.py
(This script will fetch all required AI weights into the models/ folder. Only needed once.)
You need two terminals (keep both open).
uvicorn backend.server:app --host 127.0.0.1 --port 8000 --reload
You should see:
INFO: Uvicorn running on http://127.0.0.1:8000
npm run dev
You should see:
Local: http://localhost:5173
👉 Open that link in your browser. Done!
This project ships with two kinds of tests:
(Windows tip: open PowerShell, copy-paste the commands)
# activate environment first (see above)
pip install -r tests/backend/requirements.txt
pytest -q tests/backend
What success looks like:
3 passed, 2 skipped in 0.05s
Keep the frontend running (npm run dev), then:
cd tests/e2e
npm i
npm run e2e:install # one-time browser download
npm run e2e # headless run
npm run e2e:headed # visible browser run
Success looks like:
2 passed
(If short on space, see Playwright cache note in tests/README.)
All important commands in one place:
# Setup
python -m venv .venv && .\.venv\Scripts\Activate # (Windows)
pip install -r requirements.txt
npm install
python dev/download_all.py
# Run backend
uvicorn backend.server:app --host 127.0.0.1 --port 8000 --reload
# Run frontend
npm run dev
# Run backend tests
pytest -q tests/backend
# Run frontend tests
cd tests/e2e && npm i && npm run e2e
Welcome! This project lets you run an AI-powered app with both a backend (server) and a frontend (website).
Artmorph is a hybrid generative image stylization system that combines perceptual optimization (Neural Style Transfer) with diffusion-based sampling to address stability, color drift, and convergence issues observed in classical NST pipelines.
The project was motivated by three recurring problems:
To address these, the system integrates:
Experiments were conducted by varying:
Key observations:
Metrics used during evaluation:
No deep technical knowledge needed — just follow the steps in order.
You only need to do this once.
Put the project folder somewhere easy, e.g. Desktop/project.
Windows (PowerShell):
python -m venv .venv
.\.venv\Scripts\Activate
macOS / Linux:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
npm install
To avoid delays when first running, download the models now.
python dev/download_all.py
(This script will fetch all required AI weights into the models/ folder. Only needed once.)
You need two terminals (keep both open).
uvicorn backend.server:app --host 127.0.0.1 --port 8000 --reload
You should see:
INFO: Uvicorn running on http://127.0.0.1:8000
npm run dev
You should see:
Local: http://localhost:5173
👉 Open that link in your browser. Done!
This project ships with two kinds of tests:
(Windows tip: open PowerShell, copy-paste the commands)
# activate environment first (see above)
pip install -r tests/backend/requirements.txt
pytest -q tests/backend
What success looks like:
3 passed, 2 skipped in 0.05s
Keep the frontend running (npm run dev), then:
cd tests/e2e
npm i
npm run e2e:install # one-time browser download
npm run e2e # headless run
npm run e2e:headed # visible browser run
Success looks like:
2 passed
(If short on space, see Playwright cache note in tests/README.)
All important commands in one place:
# Setup
python -m venv .venv && .\.venv\Scripts\Activate # (Windows)
pip install -r requirements.txt
npm install
python dev/download_all.py
# Run backend
uvicorn backend.server:app --host 127.0.0.1 --port 8000 --reload
# Run frontend
npm run dev
# Run backend tests
pytest -q tests/backend
# Run frontend tests
cd tests/e2e && npm i && npm run e2e