AI Depth Map
Turn any photo into a depth map, and add a portrait style background blur using it.
Free, no uploads, no sign-up. Runs 100% in your browser.
How AI Depth Map works
The model runs with Transformers.js and ONNX Runtime inside a background worker, so the page never freezes. It downloads once from the Hugging Face model hub and is then cached by your browser, so it works offline. With WebGPU it uses your graphics card, without it the CPU. Your files are never uploaded. It uses Depth Anything V2 small, which guesses how far each pixel is from the camera.
Input: JPG, PNG, WEBP. Output: PNG, JPG.
How to use AI Depth Map
- Drop a photo.
- Pick the detail level and press Make depth map.
- Choose colours, or switch to Portrait blur and set the focus distance.
- Download the depth PNG or the blurred photo.
Tips
- Depth maps are useful for 3D parallax effects, lithophanes and displacement in 3D apps.
AI Depth Map FAQ
- Is my file sent to a server?
- No. Only the model weights are downloaded. Your images and text are processed inside your browser.
- Why is the first run slow?
- The model has to download once. After that it loads from the browser cache in a few seconds.
- My computer has no WebGPU. Does it still work?
- Yes. The model runs on the CPU in a background worker. It is slower but the page stays responsive, and you can cancel at any time.
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Background Remover: Remove image backgrounds with on-device AI. Replace with color or blur.
- Image to Lithophane (STL): Turn a photo into a 3D-printable lithophane or relief heightmap STL, flat or curved, with a live 3D preview.
- AI Image Segmenter: Split a photo into labelled regions like sky, people, road and trees, then cut any of them out.
- AI Summarizer: Summarize PDFs, Word files and long text on your device, as paragraphs or key points.