Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Bria Video Editing API
version: ''
contact:
name: We are happy to answer any questions you may have at
email: support@bria.ai
description: '# Introduction
The Bria API is designed to provide a comprehensive suite of tools for generating and customizing images.'
servers:
- url: https://engine.prod.bria-api.com/v1
tags:
- name: Video Editing
paths:
/video/background/remove:
post:
tags:
- Video Editing
summary: Remove Background from Video
externalDocs:
description: Try it in the Sandbox
url: https://platform.bria.ai/apps/remove-video-background
description: '**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**:
- File types: `mp4`, `avi`, `mov`, `gif`, `webm`
- Framerate: All framerates are supported; the original video''s framerate is preserved in the output.
- Resolutions: No limit; the output resolution matches the input resolution.
**Output**: - File type: `webm`
- Framerate: Matches the original video.
- Resolution: Matches the original video.'
operationId: removeVideoBackground
parameters:
- in: header
name: api_token
schema:
type: string
required: true
description: API token associated with the organization.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
video_url:
type: string
description: A publicly accessible URL of the video to process. The input video time limit is up to 1 minute.
example:
video_url: https://example.com/input_video.mp4
responses:
'200':
description: Background successfully removed.
content:
application/json:
schema:
type: object
properties:
result_url:
type: string
description: URL of the video with the background removed.
example:
result_url: https://example.com/processed_video.webm
'400':
description: Bad request. Invalid input parameters.
'415':
description: Unsupported Media Type. Invalid file type. Supported file types are `mp4`, `avi`, `mov`, `gif`, `webm`.
'422':
description: Unprocessable Entity. The URL does not point to a valid video or is inaccessible.
'429':
description: Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
'500':
description: Internal server error.
externalDocs:
description: Register and get API Access
url: https://labs.bria.ai/api-plans