Browser-based projection mapping tool that generates and edits images using Qwen Image Edit 2511 deployed on Baseten with SGLang Diffusion, and lets you warp and preview them on a canvas against physical surfaces.
- Generates and edits images from a prompt and source image via FastAPI proxy
- Place and warp images on canvas using perspective transforms
- Iterate fast with real-time preview
- Frontend sends prompt and image to backend
- Backend calls Qwen Image Edit on Baseten and returns the result
- Frontend displays and warps output to match your target surface
cd backend
uv sync
uvicorn server:app --host 0.0.0.0 --port 8000 --reload.env in backend/:
BASETEN_API_KEY=
BASETEN_MODEL_ID=
cd frontend
npm install
npm run dev# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Push model
uvx truss push qwen-image-edit-2511-sglang-diffusionAdd hf_access_token in Baseten secrets if the model is gated on HuggingFace.

