Bria Video Background Removal

Bria Video Background Removal detects moving subjects in video and removes complex backgrounds in real time. It outputs clean alpha channels for precise keying. Ideal for virtual production, live streaming, post production pipelines, and automated video workflows.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
remove-background
Adaptive Fencing Reel Subject Cutout$0.302~23simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
outputFormat: 'WEBM',
model: 'bria:51@1',
providerSettings: {
bria: {
rgba: [
255,
255,
255,
0
]
}
},
inputs: {
video: 'https://assets.runware.ai/assets/inputs/37845e92-1321-4a24-b371-0ed835a9f808.mp4'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/37845e92-1321-4a24-b371-0ed835a9f808.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "removeBackground",
"taskUUID": "ed15567a-393a-4601-8eb2-e4c129910922",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/37845e92-1321-4a24-b371-0ed835a9f808.mp4"
}
}
]'runware run bria:51@1 \
outputFormat=WEBM \
providerSettings.bria.rgba.0=255 \
providerSettings.bria.rgba.1=255 \
providerSettings.bria.rgba.2=255 \
providerSettings.bria.rgba.3=0 \
inputs.video=https://assets.runware.ai/assets/inputs/37845e92-1321-4a24-b371-0ed835a9f808.mp4{
"taskType": "removeBackground",
"taskUUID": "ed15567a-393a-4601-8eb2-e4c129910922",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/37845e92-1321-4a24-b371-0ed835a9f808.mp4"
}
}Response
{
"taskType": "removeBackground",
"taskUUID": "ed15567a-393a-4601-8eb2-e4c129910922",
"videoUUID": "147961d9-af29-4219-9799-223a585eb73b",
"videoURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/147961d9-af29-4219-9799-223a585eb73b.webm",
"cost": 0.3024,
"mediaURL": "https://vm.runware.ai/video/os/a02d21/ws/5/vi/147961d9-af29-4219-9799-223a585eb73b.webm",
"mediaUUID": "147961d9-af29-4219-9799-223a585eb73b"
}remove-background
Polar Docuseries Title Sequence Plate$0.302~37simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
outputFormat: 'WEBM',
model: 'bria:51@1',
providerSettings: {
bria: {
rgba: [
255,
255,
255,
0
]
}
},
inputs: {
video: 'https://assets.runware.ai/assets/inputs/21e8ea12-1953-44c2-b859-0e3150b65899.mp4'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/21e8ea12-1953-44c2-b859-0e3150b65899.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "removeBackground",
"taskUUID": "1e3c72c1-79e8-45af-846f-259684b71068",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/21e8ea12-1953-44c2-b859-0e3150b65899.mp4"
}
}
]'runware run bria:51@1 \
outputFormat=WEBM \
providerSettings.bria.rgba.0=255 \
providerSettings.bria.rgba.1=255 \
providerSettings.bria.rgba.2=255 \
providerSettings.bria.rgba.3=0 \
inputs.video=https://assets.runware.ai/assets/inputs/21e8ea12-1953-44c2-b859-0e3150b65899.mp4{
"taskType": "removeBackground",
"taskUUID": "1e3c72c1-79e8-45af-846f-259684b71068",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/21e8ea12-1953-44c2-b859-0e3150b65899.mp4"
}
}Response
{
"taskType": "removeBackground",
"taskUUID": "1e3c72c1-79e8-45af-846f-259684b71068",
"videoUUID": "2641d09c-a90d-497f-ac92-27bec92c7110",
"videoURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/2641d09c-a90d-497f-ac92-27bec92c7110.webm",
"cost": 0.3024,
"mediaURL": "https://vm.runware.ai/video/os/a09dlim3/ws/5/vi/2641d09c-a90d-497f-ac92-27bec92c7110.webm",
"mediaUUID": "2641d09c-a90d-497f-ac92-27bec92c7110"
}remove-background
Punk ASL Lyric Cutout$0.302~22simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
outputFormat: 'WEBM',
model: 'bria:51@1',
providerSettings: {
bria: {
rgba: [
255,
255,
255,
0
]
}
},
inputs: {
video: 'https://assets.runware.ai/assets/inputs/bec99432-bb3d-4f91-93a1-9555bf65136a.mp4'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/bec99432-bb3d-4f91-93a1-9555bf65136a.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "removeBackground",
"taskUUID": "8b932e3b-663f-4f5c-ac73-2d86e412bd0d",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/bec99432-bb3d-4f91-93a1-9555bf65136a.mp4"
}
}
]'runware run bria:51@1 \
outputFormat=WEBM \
providerSettings.bria.rgba.0=255 \
providerSettings.bria.rgba.1=255 \
providerSettings.bria.rgba.2=255 \
providerSettings.bria.rgba.3=0 \
inputs.video=https://assets.runware.ai/assets/inputs/bec99432-bb3d-4f91-93a1-9555bf65136a.mp4{
"taskType": "removeBackground",
"taskUUID": "8b932e3b-663f-4f5c-ac73-2d86e412bd0d",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/bec99432-bb3d-4f91-93a1-9555bf65136a.mp4"
}
}Response
{
"taskType": "removeBackground",
"taskUUID": "8b932e3b-663f-4f5c-ac73-2d86e412bd0d",
"videoUUID": "0a9ae0ca-b0db-4dda-9fde-fe6f94146e03",
"videoURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/0a9ae0ca-b0db-4dda-9fde-fe6f94146e03.webm",
"cost": 0.3024,
"mediaURL": "https://vm.runware.ai/video/os/a06dlim3/ws/5/vi/0a9ae0ca-b0db-4dda-9fde-fe6f94146e03.webm",
"mediaUUID": "0a9ae0ca-b0db-4dda-9fde-fe6f94146e03"
}remove-background
Tidal Turbine Logo Loop$0.302~23simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
outputFormat: 'WEBM',
model: 'bria:51@1',
providerSettings: {
bria: {
rgba: [
255,
255,
255,
0
]
}
},
inputs: {
video: 'https://assets.runware.ai/assets/inputs/76dc0774-4413-4b90-9e57-2c2c8ae22232.mp4'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/76dc0774-4413-4b90-9e57-2c2c8ae22232.mp4"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "removeBackground",
"taskUUID": "ffad9eec-9ce7-46c3-a7b9-f5d7482e0908",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/76dc0774-4413-4b90-9e57-2c2c8ae22232.mp4"
}
}
]'runware run bria:51@1 \
outputFormat=WEBM \
providerSettings.bria.rgba.0=255 \
providerSettings.bria.rgba.1=255 \
providerSettings.bria.rgba.2=255 \
providerSettings.bria.rgba.3=0 \
inputs.video=https://assets.runware.ai/assets/inputs/76dc0774-4413-4b90-9e57-2c2c8ae22232.mp4{
"taskType": "removeBackground",
"taskUUID": "ffad9eec-9ce7-46c3-a7b9-f5d7482e0908",
"outputFormat": "WEBM",
"model": "bria:51@1",
"providerSettings": {
"bria": {
"rgba": [
255,
255,
255,
0
]
}
},
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/76dc0774-4413-4b90-9e57-2c2c8ae22232.mp4"
}
}Response
{
"taskType": "removeBackground",
"taskUUID": "ffad9eec-9ce7-46c3-a7b9-f5d7482e0908",
"videoUUID": "e8cbf88d-cb86-4c6b-877c-b07657fcd9fb",
"videoURL": "https://vm.runware.ai/video/os/a08dlim3/ws/5/vi/e8cbf88d-cb86-4c6b-877c-b07657fcd9fb.webm",
"cost": 0.3024,
"mediaURL": "https://vm.runware.ai/video/os/a08dlim3/ws/5/vi/e8cbf88d-cb86-4c6b-877c-b07657fcd9fb.webm",
"mediaUUID": "e8cbf88d-cb86-4c6b-877c-b07657fcd9fb"
}