How it works
GustKit runs BiRefNet lite with Transformers.js in a Web Worker. The first run downloads the model from Hugging Face into the browser cache. Later runs reuse it. Only GET requests leave your tab, for the library and weights, not your photo.
Best results
Clear subject and contrast with the background work best. Hair and fine edges get soft transparency. Files over the size or megapixel limit shown above the drop area are refused with an error; GustKit does not shrink them for you.
How to check the PNG before you send it
- If the photo is HEIC, convert it first with HEIC to JPG.
- Download the PNG and open it on a checkerboard or gray background.
- Zoom hair and edges; soft alpha is normal.
- If you need a smaller file, run it through Compress image after.
Your photo stays in this tab. The first run downloads BiRefNet lite; later runs in the same browser reuse the cache.