Repository navigation
Add Background Remover, MP3 marker export and the Cutout lane - #6
Merged
Merged
Conversation
Tool 05 cuts the subject out of a local PNG, JPEG or WebP image with BiRefNet lite running in a worker: a WebGPU build (fp16, needs shader-f16) and a CPU fallback, both pinned to Hugging Face revisions. The matte is refined in alpha.ts and exported as a transparent PNG, a PNG on a chosen background or a matte PNG. Images never leave the tab. Also rewrites stiff site copy in plain language, moves model names out of tool descriptions, and shows setup errors in normal case.
Encodes the selected range locally with @mediabunny/mp3-encoder and stores the XMP markers in an ID3v2.3 PRIV "XMP" frame, where Premiere Pro and After Effects read them. Markers move 1105 samples later to match the measured MP3 decoder delay. WAV stays available as the lossless option.
The hero timeline gains a Cutout lane, equal clips on every lane and MATCH / NO MATCH verdicts on the face lanes; thumbnails preload with the page and decode off the main thread. The hero title animates with transforms only. New portraits (Kian, Noor, Theo, Yara, Rumi) appear in the cut-out scene, the privacy diagram and a Video Enhancer coming-soon preview on the roadmap, whose previews now share one size.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.












What changes
Testing