ToonOut
background removal for anime art
1 min readupdated
ToonOut is a specialized fine-tune of BiRefNet built specifically for removing backgrounds from anime-style images. Standard segmentation models handle realistic photos well, yet they often lose fine details on stylized artwork—such as thin hair strands, line art, and semi-transparent areas. Trained on a dedicated dataset of 1,228 images, this model generates high-precision masks for anime characters. It is a solid fit for artists, editors, and developers working with anime content and graphics.
Key features
- High accuracy: Accuracy on the test set jumped from 95.3% to 99.5%.
- Tailored for anime: Focused on preserving fine hair details, line art, and transparency.
- Solid foundation: Built on top of the proven BiRefNet architecture.
- Open license: Released under the MIT license.
What you can do
- Clean up artwork: Remove backgrounds from anime illustrations and characters while keeping complex outlines intact.
- Plug into pipelines: Swap out standard segmentation algorithms for this model in your anime graphics workflows.
Example
You can run and test the model using the official demo notebook in the project's GitHub repository.
Read more
DetailsArchitecture: BiRefNet (fine-tuned)
Pixel Accuracy: 99.5%
Training: On the ToonOut dataset (1,228 images)
License: MIT










Comments