Skip to content
IFAI

AI tools

MatAnyone brings 4K real-time video matting to 3GB VRAM

Published Reach 41

Researchers just introduced MatAnyone, a video matting model capable of isolating complex elements like individual hair strands and semi-transparent edges. It runs on around 3GB of VRAM and hits real-time 4K matting on a single H200 GPU by selectively allocating compute to tricky regions. Open-source code and ComfyUI node support are planned soon.

Video editors know that background removal is pure pain whenever flyaway hair or semi-transparent fabrics enter the frame. High-end AI matting fixes the quality, but it usually devours video memory before the first scene finishes rendering.

Researchers just introduced MatAnyone, an ultra-efficient video matting system (detailed in their MatAnyone-E paper) that cleanly extracts fine details down to a single strand of hair while sipping just around 3GB of VRAM. Better yet, it delivers full 4K real-time matting on a single NVIDIA H200 GPU.

High-res only where it actually counts

Most modern matting models rely on memory networks to track objects over time, matching every pixel in the current frame against previously saved frames. That works wonders for temporal stability, but 4K video turns that memory search into an absolute hardware nightmare.

MatAnyone-E avoids brute force with a sparse memory propagation trick. It first scans the frame at low resolution to flag difficult, uncertain spots like wispy hair or soft glass reflections, matching those tricky zones with only the most relevant historical frames.

High-resolution matching is then triggered exclusively for those identified headache zones, while the rest of the frame simply borrows the low-resolution calculations. Paired with a lightweight decoder built to clear processing bottlenecks, the new model matches the quality of MatAnyone 2 while boasting a 7.4x inference speedup and cutting 4K peak VRAM usage down to just 7.6% of its predecessor.

Real-time 4K on consumer silicon

The performance gains are massive. Paired with inference compilation on a single NVIDIA H200, the model reaches 73.07 FPS at 1080p and 28.62 FPS at 4K, crossing the real-time broadcast threshold with room to spare.

For everyday creators, the 3GB VRAM footprint is the real headline. You do not need an enterprise server to strip out complex backgrounds or handle crowded multi-person shots; a standard gaming laptop GPU can run it smoothly.

The project repository indicates that training code and model weights are slated for release soon, alongside dedicated ComfyUI custom nodes for local workflow integration.

Why it matters

We see MatAnyone as a major leap for practical production because it turns hair-level matting from an expensive offline rendering task into an everyday local utility.

Until now, creators had to choose between crude real-time background blur and glacial, server-heavy keying pipelines. Squeezing 4K real-time performance into 3GB of memory opens the door for real-time live streaming, indie VFX compositing, and automated short-form video pipelines running locally without cloud fees.

Architecturally, the model proves that intelligent spatial routing beats raw parameter scaling. Directing compute strictly where uncertainty is highest is a lesson high-res video generators should quickly adopt. That said, code and weights are still pending public drop, so creators will want to see how well it handles erratic camera shake and extreme motion blur once community testing begins.

Sources (1)

  1. [1]

Best of AI, daily