Deleted photos are recoverable within 30 days. (Link to Apple support document on how to recover deleted photos)
This Apple Support link explains how to recover deleted photos: https://support.apple.com/guide/iphone/delete-or-hide-photos-and-videos-iphb4defbde9/ios