Video Matte Stabilizer & Background Changer

AI video background replacement with temporal matte stabilization, adjustable model settings, and flicker reporting.

Demo limits: This Space runs on CPU, so use short clips, low FPS, and BiRefNet Lite for best performance. The default inference size is 768 for better matte quality, but processing may be slow.

1 30
Background Type
Background Color
Video Handling
Segmentation Model

Lite is faster; Full is slower but may improve mask quality.

Inference Size

Higher values may improve fine edges like hair but are slower.

Smoothing Window Size

1 = off/lightest, 3 = default, 5 = stronger but may ghost

0 1
Examples
Input Video Background Type Background Image Background Video