Bria's Video Editing API provides builders with powerful tools for programmatically transforming video content while preserving original quality. It supports object removal, background removal and replacement, resolution upscaling up to 8K, segmentation masking, and green-screen output — covering both finite-file processing and real-time streaming workflows for commercial use.

**API Access**

You can register and access the API Token through Bria's platform by clicking here.

**Core Capabilities**

The API is organized into two functional groups:

* **Editing Endpoints** — Modify existing video content. Includes **Eraser** (object removal with background reconstruction), **Remove Background**, **Replace Background**, **Green Screen** (chroma-key output for downstream compositing), and **Increase Resolution** (up to 8K).
* **Masking Endpoints** — Generate segmentation masks that drive other operations. Supports **Mask by Prompt** (text-driven), **Mask by Key Points** (coordinate-driven), and **Foreground Mask**.


**Choose Your Transport**

Select the integration model that fits your workload:

* **REST API (Async, Recommended):** Standard HTTP request/response. Submit a finite video, receive a `request_id` and `status_url`, and poll until the job completes. Best for batch processing and any workflow where seconds-to-minutes of latency is acceptable. Supports the full set of editing capabilities including audio preservation and codec/container selection.
* **Streaming API (WebSocket):** Persistent bidirectional connection for frame-by-frame processing with sub-second latency. Currently available for [Streaming Background Removal](/streaming-rmbg). Best for live feeds, interactive UIs, and continuous-stream sources where real-time output matters more than end-to-end editing flexibility.


**Asynchronous Requests and the Status Service**

Bria API v2 endpoints process requests asynchronously by default. When you make an asynchronous request, the API immediately returns a `request_id` and a `status_url` instead of the final result. Use the Status Service to track the request's progress until it reaches a completed state.

See the full guide at [Status Service Documentation](https://docs.bria.ai/status) for complete details and usage examples.