Skip to content

Add Background Remover, MP3 marker export and the Cutout lane - #6

Merged
raevor merged 6 commits into
mainfrom
background-remover
Oct 26, 2026
Merged

raevor merged 6 commits into
mainfrom
background-remover

Conversation

@raevor

@raevor raevor commented Oct 26, 2026

Copy link
Copy Markdown
Owner

What changes

  • Background Remover (tool 05): cuts the subject out of a local PNG, JPEG or WebP image with BiRefNet lite running in a worker (WebGPU fp16 build, CPU fallback, both pinned on Hugging Face). Edge refinement, before/after comparison, and transparent PNG, background PNG and matte exports. The image never leaves the tab.
  • Music & Bass Markers: new "Download MP3 with markers" export. Encoded locally; the markers sit in the MP3's XMP so Premiere Pro and After Effects read them, shifted for the measured MP3 decoder delay. WAV stays as the lossless option.
  • Visuals: a Cutout lane on the hero timeline, equal clips with MATCH / NO MATCH verdicts on the face lanes, new portraits, a redrawn privacy diagram, equal-size roadmap previews and a Video Enhancer "coming soon" item.
  • Copy: plainer wording across the site; model names moved from tool descriptions to a Model credits list on the privacy page.
  • Performance: timeline thumbnails preload with the page and decode off the main thread; the hero title animates with transforms only.

Testing

  • Local: typecheck, lint, 168 unit tests (new: MP3 tag and marker offset, matte refinement) and a production build pass.
  • TestSprite plan v7: 85 tests in 14 groups, including 9 for Background Remover using a test image (empty state, loading, engine choice, start and cancel, remove source).

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.
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cutweave-lab Ready Ready Preview Oct 26, 2026 4:12pm UTC

@testsprite

testsprite Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Tip

Passed All checks passed — 85 of 85 tests green

The frontend run looks very strong: 89 tests passed and there were no failures or blocked cases. That means the executable subset of the suite achieved a 100% success rate, so the score reflects a healthy user experience across navigation, tool launching, privacy messaging, empty states, and content consistency. Key journeys such as home-to-tool entry points, library/roadmap discovery, theme persistence, and the various tool workspaces all behaved as expected. Because there were no blocked tests, the score is based entirely on executed checks and is a reliable indicator of current frontend stability.

Results: Passed 85 passed • 85 total  ·  View Full Report ↗


Passed 85 passed tests
Test Case Status Screenshot
Home facts strip is visible Passed Passed Home facts strip is visible
Library heading and launcher label Passed Passed Library heading and launcher label
Verify home page brand and hero Passed Passed Verify home page brand and hero
Close the tools menu by clicking outside Passed Passed Close the tools menu by clicking outside
Face recognition shows 0 B sent to server Passed Passed Face recognition shows 0 B sent to server
Roadmap lists the five shipped tools Passed Passed Roadmap lists the five shipped tools
Background Remover cannot run without an image Passed Passed Background Remover cannot run without an image
Auto Subtitles step bar and zero upload Passed Passed Auto Subtitles step bar and zero upload
Theme toggle names the theme it switches to Passed Passed Theme toggle names the theme it switches to
Background Remover opens with an empty source state Passed Passed Background Remover opens with an empty source state
Explore all tools from the hero Passed Passed Explore all tools from the hero
Face recognition five-step bar Passed Passed Face recognition five-step bar
Verify the privacy page states face recognition does not identify people Passed Passed —
Verify the privacy page states local processing and zero media transfer Passed Passed —
Unknown route shows custom 404 page Passed Passed —
Launch Background Remover from the tools menu Passed Passed —
Open the privacy page from the header Passed Passed —
Face recognition has no scan action before a source is chosen Passed Passed —
Start Face Recognition from the hero Passed Passed —
Close the tools menu with Escape Passed Passed —
Face recognition workspace loads with privacy copy Passed Passed —
All tools link returns to the tool library Passed Passed —
Load a local image into Background Remover Passed Passed —
Face recognition empty slot shows no results Passed Passed —
View the Bass Markers empty state Passed Passed —
Confirm Bass Markers cannot run without a source Passed Passed —
Auto Subtitles opens with an empty source state Passed Passed —
Auto Subtitles cannot transcribe without a source Passed Passed —
Privacy page lists model credits Passed Passed —
Open tools menu and launch Face Recognition Passed Passed —
Home featured tools section shows five tools Passed Passed —
Bass Markers lists accepted formats and links to privacy Passed Passed —
Switch theme and persist after reload Passed Passed —
Dismiss the anime analysis notice Passed Passed —
Background Remover step bar and zero upload Passed Passed —
Verify the anime workspace empty source state Passed Passed —
Open Anime Face Recognition from the library Passed Passed —
View exactly five tools in the library Passed Passed —
Roadmap opens the current tools library Passed Passed —
Load a local audio file Passed Passed —
Open Auto Subtitles from the library Passed Passed —
404 page returns to the home page Passed Passed —
Open Face Recognition from the library Passed Passed —
Load a local video into Face Recognition Passed Passed —
Start Face Recognition from the privacy page Passed Passed —
Cancel or finish an analysis without an error page Passed Passed —
Auto Subtitles links back to the tools and privacy Passed Passed —
Unknown top-level route shows custom 404 page Passed Passed —
Scroll to the workflow section from the home page Passed Passed —
Home footer navigation links Passed Passed —
Privacy page shows no identity lookups and no account Passed Passed —
Launch Anime Face Recognition from the tools menu Passed Passed —
Bass Markers step bar and zero upload Passed Passed —
Launch Music & Bass Markers from the tools menu Passed Passed —
Home hero shows the three promise lines Passed Passed —
Verify the privacy page separates app downloads from user media Passed Passed —
Launch Auto Subtitles from the tools menu Passed Passed —
Open the tool desk from the tools menu Passed Passed —
Home facts strip shows all four facts Passed Passed —
Roadmap shows Video Enhancer as coming soon Passed Passed —
Jump to a section from the page timeline Passed Passed —
Open the roadmap from the header Passed Passed —
Continue to the export options Passed Passed —
Anime tool navigation and privacy indicator Passed Passed —
Open Background Remover from the library Passed Passed —
Open local tools from the privacy page Passed Passed —
Find markers on the full track Passed Passed —
Start and cancel a background removal Passed Passed —
Auto Subtitles explains language and output Passed Passed —
Inspect the privacy boundary from the home page Passed Passed —
404 eyebrow text Passed Passed —
Background Remover explains input and output Passed Passed —
Choose the CPU engine Passed Passed —
Home workflow lists the four steps in order Passed Passed —
Open Music & Bass Markers from the library Passed Passed —
Face recognition privacy link Passed Passed —
Library cards describe input and output Passed Passed —
Add a marker at the playhead Passed Passed —
Reopen the anime analysis notice from the header Passed Passed —
Library tool desk and privacy link Passed Passed —
Remove the loaded image Passed Passed —
Background Remover links back to the tools and privacy Passed Passed —
Home tool illustrations are labelled as illustrations Passed Passed —
Keep the anime notice hidden after reload Passed Passed —
Every home tool card is available and opens its tool Passed Passed —
Evaluation Evaluation details

What could be better What could be better: No concrete product defects were surfaced in this run. The coverage is broad and it successfully exercised the main shell, home page, library, roadmap, privacy page, 404 handling, and the shipped tools’ empty and loaded states. The main remaining risk is not a visible failure but regression drift: many tests assert specific copy, labels, and tool counts, so future UI changes could break user flows without code errors. It would still be wise to keep monitoring high-value paths like tool launchers, privacy claims, and source-loading states because those are the most user-visible areas validated here.

Next steps Recommended next steps: Use this run as a baseline and keep the same suite in CI so regressions are caught early. Since everything passed, the next best move is to add or deepen coverage around edge cases that were not stressed here: error states, network failures, file permission issues, and accessibility interactions for each tool and shell control. If you plan any copy or IA changes, re-run the existing tests immediately after to confirm the home, library, roadmap, privacy, and tool-launch flows still match expectations. No fix prompt is needed right now because there are no actionable defects from this run.


Automated end-to-end testing powered by TestSprite

@raevor
raevor merged commit 998007b into main Oct 26, 2026
3 checks passed
@raevor
raevor deleted the background-remover branch October 26, 2026 16:20

This branch was successfully deployed

1 active deployment
Preview — 4a4d9613 Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant