Manually select "passersby," "clutter," etc. They will be automatically eliminated. What's more, the background will be smartly filled as well. The AIGC Object Removal feature helps rescue the waste pictures without a trace.
Video link: https://www.youtube.com/watch?v=B9rP_xMFgxc
Path:
Photos App > select photo > AIGC/AI ERASER
Note: Only some models support this function. Please refer to your actual experience.