HD Background Removal
Last updated
Last updated
Using HD Background Removal is recommended when you want to remove the background of a high-resolution image (≥ 4K) where the main subject only occupies a smaller area of that image.
To enable the feature, add this HTTP header to your API call: pr-hd-background-removal: auto
Here's an example of what HD Background Removal can achieve:
Notice how, when HD Background Removal is enabled, the edges of the subject contain a higher amount of details (especially around the hair and hands).
If you want to give it a try, here's the code to reproduce the example above: