Depth map

A depth map is a grayscale image that encodes distance from the camera: near surfaces are light, far ones dark (or the reverse). It captures the shape and position of things without their color or texture.

In image generation a depth map is a way to pass on geometry alone. Made from a photo of a pose, it tells a model where the body is in space without carrying over the face, the clothes or the room.

Not every model acts on a depth map. Some follow it closely; others read the pose only from the text.

On SomaLabs

When you attach a pose reference, SomaLabs can reduce it to body geometry before it reaches the model, so the pose carries over and the rest of the photo does not.

Guides that go deeper

Related terms