MODEL IDbria:51@1
live

Bria Video Background Removal

Bria
by Bria

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.

Bria Video Background Removal
Remove Background

Roller Rink Dance Solo

import { 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/cd9d5eb5-eec5-4ff7-b186-412e41ad31d2.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/cd9d5eb5-eec5-4ff7-b186-412e41ad31d2.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": "f3e62b38-4f7f-4634-bde2-a6bb431f85f3",
      "outputFormat": "WEBM",
      "model": "bria:51@1",
      "providerSettings": {
        "bria": {
          "rgba": [
            255,
            255,
            255,
            0
          ]
        }
      },
      "inputs": {
        "video": "https://assets.runware.ai/assets/inputs/cd9d5eb5-eec5-4ff7-b186-412e41ad31d2.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/cd9d5eb5-eec5-4ff7-b186-412e41ad31d2.mp4
{
  "taskType": "removeBackground",
  "taskUUID": "f3e62b38-4f7f-4634-bde2-a6bb431f85f3",
  "outputFormat": "WEBM",
  "model": "bria:51@1",
  "providerSettings": {
    "bria": {
      "rgba": [
        255,
        255,
        255,
        0
      ]
    }
  },
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/cd9d5eb5-eec5-4ff7-b186-412e41ad31d2.mp4"
  }
}
Response
{
  "taskType": "removeBackground",
  "taskUUID": "f3e62b38-4f7f-4634-bde2-a6bb431f85f3",
  "videoUUID": "0093424c-d424-44b3-90b4-686b473de5f1",
  "videoURL": "https://vm.runware.ai/video/os/a20d05/ws/5/vi/0093424c-d424-44b3-90b4-686b473de5f1.webm",
  "cost": 0.8527,
  "mediaURL": "https://vm.runware.ai/video/os/a20d05/ws/5/vi/0093424c-d424-44b3-90b4-686b473de5f1.webm",
  "mediaUUID": "0093424c-d424-44b3-90b4-686b473de5f1"
}
Remove Background

Velvet Lounge Saxophonist Silhouette

import { 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/474f980b-83b7-4c05-a0b8-58998d534db3.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/474f980b-83b7-4c05-a0b8-58998d534db3.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": "2eac0f10-d667-4556-88ba-77757fc5c04c",
      "outputFormat": "WEBM",
      "model": "bria:51@1",
      "providerSettings": {
        "bria": {
          "rgba": [
            255,
            255,
            255,
            0
          ]
        }
      },
      "inputs": {
        "video": "https://assets.runware.ai/assets/inputs/474f980b-83b7-4c05-a0b8-58998d534db3.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/474f980b-83b7-4c05-a0b8-58998d534db3.mp4
{
  "taskType": "removeBackground",
  "taskUUID": "2eac0f10-d667-4556-88ba-77757fc5c04c",
  "outputFormat": "WEBM",
  "model": "bria:51@1",
  "providerSettings": {
    "bria": {
      "rgba": [
        255,
        255,
        255,
        0
      ]
    }
  },
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/474f980b-83b7-4c05-a0b8-58998d534db3.mp4"
  }
}
Response
{
  "taskType": "removeBackground",
  "taskUUID": "2eac0f10-d667-4556-88ba-77757fc5c04c",
  "videoUUID": "92673639-bde9-44e2-b8b1-9fd7272bcff4",
  "videoURL": "https://vm.runware.ai/video/os/a11d13/ws/5/vi/92673639-bde9-44e2-b8b1-9fd7272bcff4.webm",
  "cost": 0.8527,
  "mediaURL": "https://vm.runware.ai/video/os/a11d13/ws/5/vi/92673639-bde9-44e2-b8b1-9fd7272bcff4.webm",
  "mediaUUID": "92673639-bde9-44e2-b8b1-9fd7272bcff4"
}
Remove Background

Sunlit Pottery Wheel Demonstration

import { 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/51ded713-4507-40e4-9efd-fe4105c7afda.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/51ded713-4507-40e4-9efd-fe4105c7afda.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": "6035fb77-188e-4001-8037-a0a0ada12969",
      "outputFormat": "WEBM",
      "model": "bria:51@1",
      "providerSettings": {
        "bria": {
          "rgba": [
            255,
            255,
            255,
            0
          ]
        }
      },
      "inputs": {
        "video": "https://assets.runware.ai/assets/inputs/51ded713-4507-40e4-9efd-fe4105c7afda.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/51ded713-4507-40e4-9efd-fe4105c7afda.mp4
{
  "taskType": "removeBackground",
  "taskUUID": "6035fb77-188e-4001-8037-a0a0ada12969",
  "outputFormat": "WEBM",
  "model": "bria:51@1",
  "providerSettings": {
    "bria": {
      "rgba": [
        255,
        255,
        255,
        0
      ]
    }
  },
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/51ded713-4507-40e4-9efd-fe4105c7afda.mp4"
  }
}
Response
{
  "taskType": "removeBackground",
  "taskUUID": "6035fb77-188e-4001-8037-a0a0ada12969",
  "videoUUID": "99ca3750-97e7-4c6a-817f-c1b5e5b9ebe2",
  "videoURL": "https://vm.runware.ai/video/os/a20d05/ws/5/vi/99ca3750-97e7-4c6a-817f-c1b5e5b9ebe2.webm",
  "cost": 0.8527,
  "mediaURL": "https://vm.runware.ai/video/os/a20d05/ws/5/vi/99ca3750-97e7-4c6a-817f-c1b5e5b9ebe2.webm",
  "mediaUUID": "99ca3750-97e7-4c6a-817f-c1b5e5b9ebe2"
}
Remove Background

Greenhouse Violin Practice Session

import { 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/fb4e28b1-8a32-41d2-b971-04dfcf5ca083.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/fb4e28b1-8a32-41d2-b971-04dfcf5ca083.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": "cac31f8a-06fd-40bf-8d10-b52edaad3342",
      "outputFormat": "WEBM",
      "model": "bria:51@1",
      "providerSettings": {
        "bria": {
          "rgba": [
            255,
            255,
            255,
            0
          ]
        }
      },
      "inputs": {
        "video": "https://assets.runware.ai/assets/inputs/fb4e28b1-8a32-41d2-b971-04dfcf5ca083.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/fb4e28b1-8a32-41d2-b971-04dfcf5ca083.mp4
{
  "taskType": "removeBackground",
  "taskUUID": "cac31f8a-06fd-40bf-8d10-b52edaad3342",
  "outputFormat": "WEBM",
  "model": "bria:51@1",
  "providerSettings": {
    "bria": {
      "rgba": [
        255,
        255,
        255,
        0
      ]
    }
  },
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/fb4e28b1-8a32-41d2-b971-04dfcf5ca083.mp4"
  }
}
Response
{
  "taskType": "removeBackground",
  "taskUUID": "cac31f8a-06fd-40bf-8d10-b52edaad3342",
  "videoUUID": "e737b739-99cc-4056-a49a-f9fc246cb393",
  "videoURL": "https://vm.runware.ai/video/os/a14d18/ws/5/vi/e737b739-99cc-4056-a49a-f9fc246cb393.webm",
  "cost": 0.8539,
  "mediaURL": "https://vm.runware.ai/video/os/a14d18/ws/5/vi/e737b739-99cc-4056-a49a-f9fc246cb393.webm",
  "mediaUUID": "e737b739-99cc-4056-a49a-f9fc246cb393"
}