Live Video Background Removal API
Add background removal to a live video product. Send a stream and receive background-removed video or a mask track in real time.
What is a real-time video background removal API?
A real-time video background removal API accepts a continuous video stream and returns background-removed video while the session is active.
Unlike a file-processing API, your application does not need to upload a complete recording and wait for a processing job to finish.
Live API vs file API
| Live API | File API | |
|---|---|---|
| Input | Continuous video stream | Uploaded video file |
| Result | During the live session | After the job completes |
| Best for | Meetings, streaming, recording | Editing, automation, final renders |
| Workflow | Persistent connection | Asynchronous job |
| Availability | In development | Available now |
Send live video. Receive a clean output.
Create a session, connect the live feed, and choose the output your product needs.
Create a session
Choose your output and receive the connection details for a new live session.
Send live video
Connect a camera, screen, or program feed from your application over WebRTC.
Receive the output
Subscribe to a processed video track or a separate mask track for compositing in your application.
Choose the output your product needs
Display the result directly or keep control of the final composition in your application.
Background-removed video
Receive a ready-to-display video stream with the background treatment already applied. Use it for previews, meetings, broadcasts, and recordings.
Mask track
Receive the foreground mask separately and control the background, effects, and composition inside your own product.
A small control API for a persistent media session
Create and stop sessions with ordinary HTTPS calls. Use WebRTC for the video itself, instead of uploading individual frames through REST.
- Create a session and reserve processing capacity
- Negotiate WebRTC input and output tracks
- Read session health, usage, and remaining credit
- Stop immediately from the API or client connection
POST /v1/live/sessions
Authorization: Bearer $VIDEO_BG_API_KEY
Content-Type: application/json
{
"output": "mask_track",
"resolution": "1080p"
}
201 Created
{
"id": "live_01J...",
"status": "waiting_for_connection",
"webrtc_url": "https://...",
"expires_at": "..."
}Interface preview for product evaluation. Endpoint names and fields may change before release.
Built for products that cannot wait for an upload job
Video meetings
Remove or replace participant backgrounds during a call.
Live streaming
Create foreground overlays for broadcasts and creator tools.
Remote recording
Capture a processed track while preserving the original source.
Live commerce
Isolate presenters and products inside interactive shopping experiences.
Real-time video background removal API questions
Is the real-time video background removal API available now?
No. The live API is still in development and does not have a release date yet. Join the waitlist to receive meaningful product and availability updates.
What kinds of products is the live API for?
The live API is intended for video meetings, streaming platforms, remote recording, live commerce, and other products that need background removal while a session is happening.
How will developers connect to the API?
The proposed contract uses HTTPS endpoints to create, inspect, and stop a live session, with WebRTC carrying the low-latency input and output video tracks. The contract may evolve before release.
Can I connect from a browser, mobile app, or backend?
That is the goal. Applications will create and control a session over HTTPS, then connect the live media stream over WebRTC.
What output will the live API return?
The proposed outputs are a composited or foreground video track and a separate grayscale mask track. The mask option lets applications perform their own live compositing.
Will the API support 4K live video?
1080p real-time processing is the first target. 4K support is under evaluation and will be validated during product development.
How will live API pricing work?
Pricing is not final. The current plan is usage-based billing for connected processing time, with limits enforced during a session so applications can stop cleanly when credit is exhausted.
How is this different from the existing video API?
The existing REST API processes uploaded video files asynchronously and is available today. The live API is designed for persistent, low-latency streams used by meetings, recording tools, creator apps, and live platforms.