Bria's Video Editing API empowers builders with powerful tools for programmatically transforming video content while maintaining original quality.
The first feature, Background Removal, enables developers to seamlessly remove backgrounds from videos while preserving the source video's resolution and framerate. The API supports a wide range of common video formats including MP4, AVI, MOV, GIF, and WEBM, offering builders flexibility for various video processing implementations.
Processing is asynchronous, meaning the API returns a video URL immediately, but results are available only after processing is complete. A 10-second video typically takes ~5 minutes, with longer videos scaling proportionally.
https://engine.prod.bria-api.com/v1/
Description
This endpoint allows users to remove the background from videos. It supports various video file formats and retains the original video's framerate and resolution in the output.
Supported Inputs:
mp4
, avi
, mov
, gif
, webm
Output: - File type: webm
https://engine.prod.bria-api.com/v1/video/background/remove
curl -i -X POST \
https://engine.prod.bria-api.com/v1/video/background/remove \
-H 'Content-Type: application/json' \
-H 'api_token: string' \
-d '{
"video_url": "https://example.com/input_video.mp4"
}'
{ "result_url": "https://example.com/processed_video.webm" }