hjLabs AI Playground

Starting the on-device runtime…

Generate a depth map from a single photo

Depth Anything V2 Small infers relative distance from one ordinary photograph — no stereo pair, no LiDAR — and outputs a grayscale or colour-mapped depth image you can download. People use this for fake depth-of-field, parallax animation, 3D photo effects, and as an input to relighting and compositing work. It runs on your GPU in a few seconds and the source photo never leaves the tab.

depth map generatordepth anything v2 onlinemonocular depth estimation2d to 3d photo depthfree depth map from imageai depth estimation browserparallax depth tool

Frequently asked questions

Are the depth values in metres?

No. Depth Anything V2 Small produces relative inverse depth — nearer is brighter — which is what you want for visual effects. Metric depth requires a different, larger model variant.

Can I use it for a 3D photo effect?

Yes, that is one of the most common uses. Export the depth map and drive a displacement or parallax shader with it in your editor of choice.

Is my data uploaded to a server?

No. The model weights are downloaded from Hugging Face to your browser once, and every inference after that runs on your own GPU through WebGPU. Your text, images and audio are never sent anywhere — hjLabs.in has no inference server and no way to see your input.

Does this work on a phone?

Small models do. Recent mobile Chrome and Safari expose WebGPU, but memory is the binding limit — stay under roughly 200 MB of weights on Android, and expect iOS to reclaim the tab sooner. The catalog shows every download size up front so you can pick something that fits.

Can I use the output commercially?

That depends on the individual model, not on this site. Each model page links to its Hugging Face repository, where the licence is stated — most of the catalog is Apache-2.0 or MIT, a few are research-only. We add nothing on top: hjLabs.in claims no rights over anything you produce here.

Models available for this task