Real-Time Video Background Removal API

Real-Time Video Background Removal API

Banuba's Background Remover API is a real-time, on-device background removal API for live video, running at min 30 FPS on mid-range mobile hardware with no green screen and no cloud upload. It removes, replaces, or blurs the background in the camera stream itself, so there is no round trip to a server. Built for continuous video: conferencing, calling, gaming, e-learning, and live streaming.

Video Background Remover

Banuba’s Background Remover API delivers real-time background separation for video applications. Powered by advanced computer vision and neural networks, the API performs high-precision foreground detection to distinguish subjects from their surroundings at pixel level. Developers can integrate background subtraction into conferencing platforms, live streaming apps, camera solutions, and content creation tools — enabling seamless background replacement, blur, and visual enhancements. Optimized for performance, stability, and privacy-sensitive environments.

  • Powered by Deep Learning

    Banuba's Background Remover API runs proprietary neural network models that classify every pixel of every frame as subject or background, on the device's GPU. Pixel-level segmentation on each frame is what makes it work on moving video rather than on stills. This enables:

    • Real-time background subtraction at min 30 FPS on mid-range mobile hardware

    • Stable segmentation during motion

    • Natural blending between subject and new background

    • Handling of complex details such as hair and transparent objects

    The models are continuously improved through dataset refinement to ensure reliable performance across varied lighting conditions and environments. All processing is executed on the end-user's device, so no video frame ever leaves it, which supports privacy-focused applications and GDPR compliance.

  • Subtly Robust

    Banuba's Background Remover API minimizes flickering, unstable edges, and segmentation errors - the three failure modes that make background separation obvious in video.

    Foreground detection stays stable across frames, so results hold up during movement and dynamic lighting rather than only in a still test shot.

    The result: immersive and professional-grade video experiences.

  • Cross-Compatibility

    The Background Remover API integrates across iOS, Android, Web, Windows, macOS, Unity, Flutter, and React Native, and ships with an official video-call integration for Agora.

    It is a module of the Face AR SDK, so the same integration also delivers:

    • Background subtraction and virtual backgrounds

    • AR face effects

    • Beautification

    • 3D masks

    • Real-time video enhancements

    That makes it a fit for video conferencing platforms and live streaming apps that need more than a background swap.

No Green Screens Needed

  • Real-time video background removal at min 30 FPS on mid-range mobile hardware
  • Background replacement with an image or a video file as the new background
  • Background blur with an adjustable radius (bokeh effect)
  • High-precision segmentation powered by proprietary neural networks
  • Real-time and post-processing support
  • Works with video and image formats
  • Portrait and landscape orientation support
  • On-device processing, no video sent to a server
  • Designed for GDPR compliance and secure video communication

Immersive Applications

  • 41

    Video Conferencing

  • 42

    Video Calling

  • 43

    Games

  • 44

    Live Streaming

  • 45

    E-Learning

  • 46

    Photo / Video Editing

Technical Requirements

Banuba's Background Remover API runs on iOS 15.0+ and Android 8.0+ devices with a 1280x720 camera (recommended) at min 30 FPS, and supports HTML5, Windows, macOS, Unity, Flutter, and React Native.

mobile-1

Mobile

OpenGL ES 3.0+
Android 8.0, API level 26+
iOS 15.0+

  • logo-apple-ios-May-15-2021-03-30-43-36-PM
  • logo-android-square-2
  • logo-html-2
  • img_logo_flutter
  • img_logo_reactnative
desktop-1

Desktop

OpenGL 4.3+ (4.1+ for MacOS)
Windows 8.1+
MacOS 12.0+
Ubuntu 18.04+

  • logo-apple-macos-May-15-2021-03-31-33-39-PM
  • logo-windows-3
  • logo-ubuntu
  • logo-html-3
web-1

Web

WebGL 2.0+
Mobile: Chrome, FireFox, Safari.
Desktop: Chrome, FireFox, Safari.

  • logo-chrome
  • logo-firefox
  • logo-safari
Why Banuba’s Technology

Why Banuba’s Technology

  • One of the few commercially available real-time background removal APIs for video

  • On-device processing, so no video frame leaves the user's device

  • No per-image or per-frame API call, because segmentation runs client-side

  • Proprietary computer vision technology developed in-house

  • Neural network-based background separation models

  • Optimized for performance on end-user devices

  • Continuous R&D improvements in foreground detection accuracy

  • 10+ years of AR innovation

  • Dedicated technical support team

FAQ
  • Banuba's Background Remover API is a real-time, on-device background removal API for video. It uses proprietary neural network models to separate the person from the background in each frame, then removes, replaces, or blurs that background at a minimum of 30 FPS on mid-range mobile hardware. It is a module of the Banuba Face AR SDK and runs on iOS, Android, Web, Windows, macOS, Unity, Flutter, and React Native.
  • No. Banuba's Background Remover API processes video directly on the end user's device. No video frame is uploaded to a server, which removes network latency from the pipeline and supports privacy and GDPR compliance.
  • Image background removal APIs such as the ones built for product photos process one uploaded still at a time in the cloud and bill per image. Banuba's Background Remover API segments every frame of a live camera stream on the device, so it holds up on moving video, and there is no per-image cost or round trip. If your input is a video feed rather than a photo library, that difference decides whether the feature is usable.
  • Yes. Since background separation is processed locally on-device, no video data is sent to external servers. This makes the solution suitable for applications requiring enhanced privacy and GDPR compliance.
  • Yes. Banuba publishes official video-call integration guides for Agora across platforms, plus an Agora Filter Extension, so that background removal and AR effects can be applied to an Agora video stream. Setup is covered in the Banuba Face AR SDK documentation.
  • The Background Remover API is licensed as part of the Banuba Face AR SDK, under two models: a flat annual license fee, where usage is unlimited and the cost stays fixed no matter how far the app scales, or an Active User Based model, where the cost tracks active users over time, starts significantly lower, and grows with the user base. The trade-off is predictability against a lower start. The Banuba Face AR SDK pricing guide walks through both.
  • The official technical documentation for the Banuba Background Remover API is available online and includes requirements, setup instructions, and configuration details:

    Banuba Background Remover API iOS documentation

    Banuba Background Remover API Android documentation

    Banuba Background Remover API Flutter documentation

    Banuba Background Remover API React Native documentation

    Banuba Background Remover API Web documentation

    Banuba Background Remover API Unity documentation

    Banuba Background Remover API Desktop documentation

    Banuba Virtual Background API documentation

    This Banuba Background Remover API documentation should be your primary reference during integration.

  • You can access official integration code samples for the Banuba Background Remover API on GitHub. Banuba provides platform-specific examples to help you integrate faster:

    Banuba Background Remover API iOS integration code sample

    Banuba Background Remover API Android integration code sample

    Banuba Background Remover API Flutter integration code sample

    Banuba Background Remover API React Native integration code sample

    Banuba Background Remover API Desktop integration code sample

    Banuba Background Remover API Web integration code sample

    Banuba Background Remover API Unity integration code sample

    These Banuba Background Remover API repositories include setup instructions and minimal working examples for quick deployment.

  • Yes. Banuba publishes Agent skills that give coding agents structured SDK knowledge, integration guidance, and workflow context, so an AI agent can scaffold the integration rather than you reading the docs first. Install them from github.com/Banuba/ai-skills with npx skills add Banuba/ai-skills.
  • The Banuba Background Remover API provides official cross-platform plugins to simplify integration into hybrid applications:

    Banuba Background Remover API Flutter plugin

    Banuba Background Remover API React Native plugin

    These Banuba Background Remover API plugins are maintained by Banuba and support faster implementation for cross-platform apps.

  • Yes. Banuba's Background Remover API runs in any browser with WebGL 2.0 or higher, including Chrome, Firefox, and Safari, on desktop, Android, and iOS. Camera frames are processed in the user's browser and are never sent to a server. It is part of the Banuba Web AR SDK, so the same integration adds blur or a virtual background to a web video call.
  • Yes. Banuba gives a 14-day free trial of the Background Remover API as part of the Face AR SDK, with every feature on every supported platform. Request the free trial with the form on this page.
Get Free Trial