From the source
Google Research introduces a new method for re-composing photos by changing the camera angle after the photo is taken, using 3D scene estimation and generative inpainting.
The feature is now available in Google Photos' Auto frame feature.