It cannot repair the real wall
Removing a mark from an image changes the pixels in the photo, not the paint, plaster, or surface in the room.
Workaround
Use the edited image for presentation, planning, or listing purposes, then handle physical repairs separately.