BiRefNet ToonOut: Anime Background Removal With 99.5% Accuracy
Overview
birefnet-toonout is a fine-tuned version of BiRefNet specialized for anime-style background removal. Created by sprited, this model packages work by Matteo Muratori and Joël Seytre that improves pixel accuracy from 95.3% to 99.5% on anime test sets by fine-tuning on 1,228 curated anime images. The model accepts any image as input and outputs either RGBA cutouts or raw alpha mattes at configurable resolutions from 256 to 2048 pixels (default 1024, matching training resolution). It runs on Replicate and is MIT-licensed, making it suitable for both commercial and non-commercial use. The core innovation addresses a critical gap: while general-purpose segmentation models like the original BiRefNet excel on photographs, they fail on stylized content with hair wisps, line art, and translucent elements common in anime. This fine-tune recovers detail in exactly those failure modes.
Best use cases
Anime character asset extraction for game development.Extract clean character sprites from anime...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE