Skip to navigation

Media · Video · Remove a video background

View as Markdown

Remove a video background using Bria. Source must be publicly accessible and fit the backend duration/resolution limits. Returns task_id; getTaskResult retrieves the output.

Authentication

AuthorizationApi-Key

Header authentication of the form Api-Key <token>

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
video_urlstringRequiredformat: "uri"
modestringRequiredDefaults to transparent

Background mode: transparent, black, white, gray, red, green, blue, yellow, cyan, magenta, or orange. Transparency produces WebM; solid backgrounds produce MP4.

Response

Resource or asynchronous submission result.
task_idstringOptional

Poll GET /api/v1/tasks/{task_id} until SUCCESS or FAILURE.