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
HD Background Removal is currently meant to be used with human subjects.
We don't recommend using the feature with non-human subjects, because the cutout might be of a lower quality.
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: