Rembg has been around for a while, but it’s still a really useful tool. It supports a wide range of adapters for different background removal models, including BiRefNet, which is definitely one of the best pre-trained image segmentation models.
https://github.com/ZhengPeng7/BiRefNet