Turn any photo, photo set, or video into a shareable 3D memory: a Gaussian splat or mesh you can explore in a browser or XR.
Website · Documentation · Get started · Systems map
Part of the Companion Intelligence suite: containerized, MCP‑native, and wired into Companion memory and Companion OIDC.
Point a photo (or a whole video) at it, get back a link. Open the link and step into the moment with head‑tracked parallax — or drop the 3D model into AR on your phone.
A real capture: a photo → 30,000-Gaussian splat (spz-compressed), rendered by the web viewer
with its gallery and share link. See the full tour in docs/UI-GUIDE.md.
- 🧠 MCP API — Hermes, OpenClaw, and Claude Code can create and share 3D assets as tools.
- 🧩 Pluggable engines — TripoSplat (default), Apple SHARP (research), COLMAP→gsplat photogrammetry, and monocular depth for images and video, with TRELLIS/Hunyuan mesh engines slotting in behind one interface.
- 🎚️ Pick your model — the depth engines expose six image checkpoints (Depth Anything V2 S/B/L, MiDaS DPT Hybrid/Large, Apple Depth Pro) and Video Depth Anything, selectable per job. See docs/DEPTH-ENGINES.md.
- 🐳 Containerized — one
docker compose upfor the processing server + web viewer. - 🔐 Companion‑native — Companion OIDC auth; created assets are written to CI‑Server / Hermes memory so your digital twin remembers them.
- 🕶️ Web + XR viewer — Spark‑powered splat viewer
with a MediaPipe head‑tracked "magic portal," plus
<model-viewer>for meshes with native mobile AR.
| Feature | What it provides |
|---|---|
| Reconstruction jobs | Route image/video jobs through a registry of pluggable engines. |
| Agent control | Expose the same capabilities through REST and MCP. |
| Asset lifecycle | Persist job metadata and generated assets for polling and download. |
| Review | Render outputs in the browser viewer and optionally connect Memory. |
![]() Create a new reconstruction job |
![]() Reconstruction job in progress |
![]() Open the generated scene in XR |
The web client or an agent creates a job through REST/MCP; the job manager routes it to a registered engine, stores the output and exposes it to the viewer for review.
flowchart LR
Client[Web client or agent] --> API[REST and MCP API]
API --> Jobs[Job manager]
Jobs --> Registry[Engine registry]
Registry --> Worker[Reconstruction engine]
Worker --> Assets[(Generated assets and metadata)]
Assets --> Viewer[Browser viewer]
| Doc | What's inside |
|---|---|
| UI Guide | Every screen, button, and UI element — with real screenshots, behavior/API tables, and mermaid user flows. |
| API Reference | REST + MCP surfaces, job state machine, engine routing, data-at-rest layout, configuration, error contract. |
| Depth Engines | depth-image / depth-video: the model catalog, how to pick one, the licence gates, the back-projection maths, and the limitations. |
| Architecture | System design: MCP-first core, pluggable engines, Companion OIDC + memory integration. |
| Research | The engine & viewer trade studies (with licenses) behind every technology choice. |
| Bring your own server | Running the processing server on your own machine and pointing the hosted viewer at it — tunnel, localhost, ci-hub, or fully local — and what each costs you in a browser. |
| Deploy (Cloudflare) | How photo.ci.computer is put together: the static Worker, DNS, and the origin settings that are easy to miss. |
| Changelog | Release notes; current release 2.0.0. |
This project began as a fork of Apple's SHARP (single‑image → 3D Gaussian Splatting) with a Flask + React viewer. Reimagined for the Companion suite, it becomes a proper 3D processing service: agent‑drivable over MCP, engine‑agnostic, containerized, and authenticated.
A key reason for the redesign: SHARP's model weights are licensed for non‑commercial research
only (LICENSE_MODEL). The default engine is now TripoSplat (MIT — code and weights),
with SHARP kept as an optional, clearly labeled research/scene engine. Full trade study in
docs/RESEARCH.md; system design in docs/ARCHITECTURE.md.
cp .env.example .env # set PUBLIC_BASE_URL, Companion OIDC + memory (optional)
docker compose up --build
# Viewer: http://localhost:3000 (its nginx passes /api to the server)
# API: http://localhost:8000/api/v1 (docs at /docs)
# MCP: http://localhost:8000/mcpFor local hacking without auth, set AUTH_DISABLED=1 (default in .env.example).
cd server
pip install -e .
uvicorn app.main:app --reload --port 8000The API, MCP surface, input router, auth, and memory client all run without a GPU. Engine inference (TripoSplat/SHARP/photogrammetry) needs a CUDA GPU and downloaded weights; without them the API still works and engines return a clear "GPU/weights required" error.
The depth engines are the exception — they run usefully on CPU, and are one optional extra away:
pip install -e '.[depth]' # torch + torchvision + transformers; CPU/MPS/CUDA all work
curl -F [email protected] -F engine=depth-image localhost:8000/api/v1/jobsWeights (~100 MB for the default Depth Anything V2 Small) download on first use. torch is
deliberately not a base dependency: without the extra the two depth engines simply report
available: false with the install command in unavailable_reason, and everything else works.
- Open the viewer, drop in an image, a set of images, or a video.
- The server classifies the input, routes it to an engine, and runs the job.
- When it finishes, the asset loads in the viewer and you get a share link
(
/view/:assetId). Enable XR for the head‑tracked portal.
Point your Companion agent at http://<host>:8000/mcp. Tools:
list_engines, image_to_3d, media_to_3d, get_job, list_assets, get_asset,
get_share_url. Example intent: "make a 3D model of the photo I just shared and send me the
link" → image_to_3d → poll get_job → get_share_url.
The hosted viewer is photo.ci.computer — and it is only the viewer. A Cloudflare Worker serves the static bundle; it holds no data, proxies nothing, and never sees a photo. On first visit it asks which processing server to use, and that answer lives in your browser.
So the server runs wherever you want it: on your own machine behind a tunnel, on ci-hub, or on localhost while you work. docs/BRING-YOUR-OWN-SERVER.md covers the four ways to be reachable and the browser rules each one runs into.
npm run deploy # build the viewer + publish the Worker
npm run deploy:staging # the same thing on workers.dev, domain untouchedDeployment itself: docs/DEPLOY-CLOUDFLARE.md.
The viewer also ships as a desktop app for Windows, macOS and Linux (Tauri 2,
desktop/) and as an Android app (Capacitor 8, mobile/).
Both bundle the same build as photo.ci.computer, with no server address and no analytics, so
like the website they ask for your server on first start and do nothing without one. On the
desktop, This machine reaches a server on the same computer. On a phone, enter the
computer's address on your network with the server's port (8000 with docker compose, 18831
on a Companion Hub), or its HTTPS tunnel address. Server images up to 2.0.0 need
ALLOWED_ORIGINS=tauri://localhost,http://tauri.localhost before the desktop app can connect.
They are published as GitHub pre-releases by a workflow that only runs when dispatched:
gh workflow run native-release.yml --ref main -f tag=v2.1.0 -f android_signing=autoThese are not store builds: the Windows and Linux installers are unsigned, the macOS app is ad
hoc signed, and the APK is signed with the release keystore only when its secrets are set
(otherwise with a throwaway key). Every release carries LICENSE, a THIRD-PARTY-NOTICES.txt
generated from the lockfiles by scripts/third-party-notices.mjs, and SHA256SUMS.txt.
server/ FastAPI 3D processing server + MCP + engines (the new core)
app/
engines/ Engine protocol, registry/router, TripoSplat/SHARP/photogrammetry,
depth-image/depth-video + the depth model catalog
main.py routes.py mcp_server.py jobs.py storage.py memory.py auth.py models.py config.py
web-server/client/ React + Three.js + Spark web viewer (kept, evolved: /view/:id, meshes)
desktop/ Tauri 2 desktop app around the viewer build
mobile/ Capacitor 8 Android app around the viewer build
src/sharp/ Apple SHARP engine (bundled; research‑licensed weights)
docs/ UI-GUIDE.md, API.md, ARCHITECTURE.md, RESEARCH.md + screenshots
worker/ wrangler.toml Cloudflare Worker behind photo.ci.computer (viewer + API proxy)
companion-app.json Companion Hub / Marketplace manifest
docker-compose.yml Viewer + server stack
.claude/ SessionStart hook for Claude Code on the web (see CLAUDE.md)
.github/workflows/ CI: server tests + client build; gated Cloudflare deploy; native release
| Env var | Purpose | Default |
|---|---|---|
PUBLIC_BASE_URL |
Base URL used to build share links | http://localhost:3000 |
AUTH_DISABLED |
Disable Companion OIDC (local dev) | 1 in .env.example |
COMPANION_OIDC_ISSUER |
OIDC issuer for token verification | — |
COMPANION_OIDC_AUDIENCE |
Expected token audience | — |
CI_MEMORY_MCP_URL |
Companion memory MCP endpoint (CI‑Server/Hermes) | — (memory off) |
DEFAULT_ENGINE |
Engine when none requested | triposplat |
SHARP_ENABLE_RESEARCH |
Enable the non‑commercial SHARP engine | 0 |
DEPTH_MODEL / DEPTH_VIDEO_MODEL |
Default checkpoint for the depth engines | depth-anything-v2-small |
DEPTH_ALLOW_NONCOMMERCIAL |
Unlock the CC‑BY‑NC / Apple‑research depth weights | 0 |
DEPTH_AUTO_ROUTE |
Let the depth engines join automatic routing | 0 |
MCP_ALLOWED_HOSTS |
Hostnames /mcp may be reached by, behind a proxy |
— (loopback only) |
REACT_APP_API_BASE |
Viewer build-time server address. Unset ships a bundle that asks; empty means same origin | — (asks on first run); empty in the Docker image |
API_UPSTREAM |
Viewer image runtime: where its nginx sends /api/ and /healthz (scheme://host:port, no path) |
http://server:8000 |
ASSET_DIR |
Where assets/jobs are persisted | ./data/assets |
The depth engines have several more tuning knobs (field of view, depth range, splat budget, frame sampling) — see docs/DEPTH-ENGINES.md.
cd server && pytest # router, job lifecycle, API contract, spz round-trip (no GPU)
cd web-server/client && npm run buildBoth run in CI on every push/PR (.github/workflows/ci.yml). The .spz pipeline is
additionally validated end-to-end in a real browser: the screenshots in the UI guide come from
a live session where the viewer fetched and rendered the server's spz output.
| Surface | Default local address | Purpose |
|---|---|---|
| Viewer | http://localhost:3000 |
Browse the photo/spatial collection |
| REST API | http://localhost:8000/api/v1 |
Programmatic access; interactive docs at /docs |
| MCP | http://localhost:8000/mcp |
Agent-facing tool interface |
flowchart LR
Photos[Photo and spatial inputs] --> Service[API and processing service]
Service --> Viewer[Web viewer]
Agent[Local agent] --> MCP[MCP endpoint]
MCP --> Service
Bind or publish these endpoints only on a network you trust. The Docker quick start and direct development-server instructions above describe the supported local workflows.
Free for noncommercial use under the PolyForm Noncommercial License 1.0.0. See the License FAQ or email [email protected].
Built on the shoulders of open 3D reconstruction work — see docs/RESEARCH.md
for the full list and ACKNOWLEDGEMENTS. The bundled SHARP model and code
are © Apple Inc. under the Apple ML Research Model License (LICENSE_MODEL, non‑commercial)
and Apple sample‑code LICENSE. TripoSplat is MIT. The splat viewer is powered by
Spark (MIT, World Labs). Verify each engine's license
before commercial deployment.


