How to make a 3D photo from a single picture
One ordinary photo can be turned into a picture that seems to have depth: nearer things shift more than far ones as the view moves, the way they do when you lean your head. In the 3D photo tool a depth model looks at your picture on your own device, and the result tilts under your pointer or your phone. Nothing is uploaded. The first visit downloads about 38 MB of model and runtime, which your browser keeps, so later photos start quickly and the tool works offline.
Photo to 3DPhoto looks flatDo it freeHow a flat picture gets depth
A photo has no distance in it, only colour. A person can still tell what is near, because the picture is full of clues: things in front hide things behind them, objects shrink with distance, far hills turn pale and hazy. A depth estimation model learns those clues from a very large number of pictures. For each pixel it answers one question: how near is this, compared with the rest?
That answer is a depth map: a second picture, in greys, the same shape as the photo. In the one you can download here, lighter means nearer and darker means farther. It is relative, not measured. The model can say the tree is in front of the hill, but not how many metres away it is. A phone with two cameras or a 3D scanner measures distance; this model only estimates it from what the picture shows.
The tool uses Depth Anything V2 Small, an open model under the Apache-2.0 licence, in an 8-bit compressed version. It reads a copy of your photo with the short side at about 448 pixels, and the long side is capped so a run stays short. The rough map it returns is then smoothed and pulled to the edges that are really in your photo, so a depth boundary lands on the outline of a person and not a few pixels beside it.
How the movement is made
The movement is a trick of parallax. The photo is drawn with a small shift for every pixel, and the shift is bigger where the depth map says near. Move the viewpoint left and the person in front slides a little across the hills, as in real life. This view builds no 3D model; the Model view does, and it is described below. Where the near part uncovers something behind it, the tool has no picture of that spot, so it stretches the pixels beside it, which is why a strong setting smears around outlines.
Which photos work
| Photo | Result |
|---|---|
| A person or object in front of scenery | Best case: clear layers, clear movement |
| A street, a room, a table with a product | Good: the depth runs from near to far |
| A flat wall, a poster, a close-up filling the frame | Little to see: there is little depth to show |
| Glass, mirrors, water | Unreliable: the model reads the reflection as a place |
| Thin fences, wire, hair against a bright sky | Edges tear or bend |
| A plain sky | Flat, and it may wobble where it meets the horizon |
Straight-on photos with a sharp subject and a background further away move the most. A photo larger than 1,600 pixels on its long side is reduced to that first, and the page says so.
Choosing the settings
- Motion. Circle moves the view in a loop, Sideways swings it left and right, and Zoom pushes forward and back, so near things grow while far things hold still. Circle suits most photos and Zoom suits corridors and roads.
- Strength. How far the picture moves. Raise it until you see smearing at the outlines, then come back a little.
- Focus. The depth that stays put. Parts of the picture at that depth keep their place, and the rest slides around it. If the person you care about seems to wander, set Focus until they stay still.
- View. Switch to Depth map to see what the model found. If a face is as dark as the wall behind it, expect odd movement there. Model shows the same depth as a real 3D relief you can turn.
Drag the picture, or on a phone press Tilt with this phone and tip the phone. When you leave it alone it drifts on its own, unless your device asks for reduced motion.
Save a loop for a post
Video loop records three seconds from the live 3D view, up to 1,080 pixels on the long side. One cycle of the motion lasts exactly three seconds, so the end meets the start and the clip loops without a jump. The clip has the photo's own shape, so for a vertical story cut the photo to 9:16 first. You get an MP4 if your browser can record one, and otherwise a WebM. If a site wants a GIF, the video-to-GIF tool can convert the clip.
Depth map PNG saves the grey picture on its own, at the working size of the photo, for editors that can use one. If your browser has no WebGL, you still get the depth map, and the page tells you the moving view is not available.
Turn it into a 3D model
The Model view lays the photo on a grid and raises each point by its depth, so the scene becomes a relief, like a carved panel. Drag to turn it and scroll or pinch to zoom; Strength sets how deep it is. 3D model (GLB) saves it with the photo as its texture, for Blender, a game engine or a web viewer, and STL for 3D printing saves a solid relief on a base for a slicer. How to turn a photo into a 3D model or an STL covers both files.
Neighbouring tools
- Blur background finds the subject and blurs everything behind it, a portrait-mode look. It makes the subject stand out in a still picture, where the 3D photo makes the scene move. You can try both: blur first, save the JPG, then open it in the 3D tool.
- Remove background cuts the subject out as a transparent PNG, for a sticker, a product shot or a new backdrop. It produces a cutout, not a scene, so it is not the first step for a 3D photo.
Both run on your device, with their own model of about 16 MB.
How to do it
- Open the 3D photo tool and drop a JPG, PNG or WebP.
- Wait for the model on the first visit, then for the depth to appear.
- Move the pointer over the picture and pick Motion, then Strength and Focus.
- Press Video loop, then download the file, or download the depth map. For a model, switch View to Model and press 3D model (GLB) or STL for 3D printing.
Where it goes wrong
- The edges look torn. Lower Strength. Thin wires and fences bend most, so remove them first if you can.
- Part of the picture swims. The model misjudged the depth there, usually on glass, mirrors or fine lines. Check the Depth map view, then try another photo of the scene.
- Nothing seems to move. The photo is probably flat. Choose one where something is clearly in front.
- It is only an estimate. The depth is plausible, not measured. Do not use it to measure anything.
Know someone with the same problem? Send them this article.
Comments
No comments yet. Be the first.



