去背景: BiRefNet

上傳一張帶有任意背景的圖片。產生一個去除背景的版本以及一個精確的分割遮罩。

Input

The picture whose subject should be kept.

Output
Output
Example

試試範例

關於此工作流程

BiRefNet is a dichotomous segmentation model: it predicts a subject mask at high resolution and then refines the boundary, which is why hair, fur and translucent edges survive the cut instead of being chopped to a hard outline. There is nothing to prompt - the image goes in and a matte comes back - so it is the dependable first step for product shots, portraits and anything that has to be re-composited. The mask is inverted and joined back onto the source as an alpha channel, ready for the next layer.

Graph: LoadImage -> LoadBackgroundRemovalModel (birefnet) -> RemoveBackground -> InvertMask -> JoinImageWithAlpha -> PreviewImage (RGBA png), with a mask preview alongside.