> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec-12fd5b4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bria Background Removal in ComfyUI

> Learn how to use Bria Partner Nodes in ComfyUI for image and video background removal, green screen, and background replacement.

Bria's AI background processing models are now available in ComfyUI through Partner Nodes. This page covers **Image Background Removal**, **Video Background Removal**, **Transparent Video Background**, **Video Green Screen**, and **Video Background Replacement**.

<Tip>
  To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the [Partner Nodes Overview](/tutorials/partner-nodes/overview) section of the documentation to understand the specific requirements for using the Partner Nodes.
</Tip>

<Tip>
  <Tabs>
    <Tab title="Local users">
      Make sure your ComfyUI is updated.

      * [Download ComfyUI](https://www.comfy.org/download)
      * [Update Guide](/installation/update_comfyui)

      Workflows in this guide can be found in the [Workflow Templates](/interface/features/template).
      If you can't find them in the template, your ComfyUI may be outdated.

      If nodes are missing when loading a workflow, possible reasons:

      1. You are not using the latest ComfyUI version (Nightly version)
      2. Some nodes failed to import at startup
    </Tab>

    <Tab title="Cloud users">
      * [Cloud](https://cloud.comfy.org) will update after ComfyUI stable release.

      So, if you find any core node missing in this document, it might be because the new core nodes have not yet been released in the latest stable version. Please wait for the next stable release.
    </Tab>
  </Tabs>
</Tip>

<h3 id="utility_bria_remove_image_background">
  Bria: Remove Image Background
</h3>

Upload an image to automatically remove its background using the Bria API. The result is returned as an image with a transparent background.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_bria_remove_image_background-1.webp" alt="Bria: Remove Image Background workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=utility_bria_remove_image_background&utm_source=docs&utm_medium=referral&utm_campaign=background-removal">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_bria_remove_image_background.json">
    Download JSON or search "Bria: Remove Image Background" in Template Library
  </Card>
</CardGroup>

**Input materials**

Upload this file to the matching `LoadImage` node:

<CardGroup cols={2}>
  <Card title="denim_girl.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/denim_girl.png">
    `LoadImage` node 26 · `denim_girl.png`
  </Card>
</CardGroup>

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, minmax(0, 1fr))', gap: '1rem', alignItems: 'start'}}>
  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/denim_girl.png" alt="Input image" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />

  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/utility_bria_remove_image_background.png" alt="Bria: Remove Image Background example output" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />
</div>

## Video Background Processing

Bria's video background processing nodes let you remove, replace, or apply chroma-key effects to video backgrounds. The input video must be 60 seconds or shorter.

<h3 id="api_bria_remove_video_background">
  Bria: Remove Video Background
</h3>

Replace a video's background with a solid color of your choice.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bria_remove_video_background-1.webp" alt="Bria: Remove Video Background workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_bria_remove_video_background&utm_source=docs&utm_medium=referral&utm_campaign=background-removal">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_bria_remove_video_background.json">
    Download JSON or search "Bria: Remove Video Background" in Template Library
  </Card>
</CardGroup>

**Input materials**

Upload this file to the matching `LoadVideo` node:

<CardGroup cols={2}>
  <Card title="spear_warrior.mp4" icon="video" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/spear_warrior.mp4">
    `LoadVideo` node 4 · `spear_warrior.mp4`
  </Card>
</CardGroup>

<h3 id="api_bria_remove_video_background_transparent">
  Bria: Remove Video Background (Transparent)
</h3>

Remove the background from a video and output it with transparency.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bria_remove_video_background_transparent-1.webp" alt="Bria: Remove Video Background (Transparent) workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_bria_remove_video_background_transparent&utm_source=docs&utm_medium=referral&utm_campaign=background-removal">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_bria_remove_video_background_transparent.json">
    Download JSON or search "Bria: Remove Video Background (Transparent)" in Template Library
  </Card>
</CardGroup>

**Input materials**

Upload this file to the matching `LoadVideo` node:

<CardGroup cols={2}>
  <Card title="ad_video_demo.mp4" icon="video" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/ad_video_demo.mp4">
    `LoadVideo` node 5 · `ad_video_demo.mp4`
  </Card>
</CardGroup>

<h3 id="api_bria_video_green_screen">
  Bria: Video Green Screen
</h3>

Apply a professional chroma-key green or blue screen effect to your video, with multiple preset options including broadcast\_green, chroma\_green, and blue\_screen.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bria_video_green_screen-1.webp" alt="Bria: Video Green Screen workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_bria_video_green_screen&utm_source=docs&utm_medium=referral&utm_campaign=background-removal">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_bria_video_green_screen.json">
    Download JSON or search "Bria: Video Green Screen" in Template Library
  </Card>
</CardGroup>

**Input materials**

Upload this file to the matching `LoadVideo` node:

<CardGroup cols={2}>
  <Card title="investigator.mp4" icon="video" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/investigator.mp4">
    `LoadVideo` node 5 · `investigator.mp4`
  </Card>
</CardGroup>

<h3 id="api_bria_video_replace_background">
  Bria: Video Replace Background
</h3>

Replace a video's background with a custom image or another video.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_bria_video_replace_background-1.webp" alt="Bria: Video Replace Background workflow preview" />

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_bria_video_replace_background&utm_source=docs&utm_medium=referral&utm_campaign=background-removal">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_bria_video_replace_background.json">
    Download JSON or search "Bria: Video Replace Background" in Template Library
  </Card>
</CardGroup>

**Input materials**

Upload these files to the matching `LoadVideo` and `LoadImage` nodes:

<CardGroup cols={2}>
  <Card title="stained_window_vintage_woman.mp4" icon="video" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/stained_window_vintage_woman.mp4">
    `LoadVideo` node 4 · `stained_window_vintage_woman.mp4`
  </Card>

  <Card title="gothic_hall_light_rays.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/gothic_hall_light_rays.png">
    `LoadImage` node 8 · `gothic_hall_light_rays.png`
  </Card>
</CardGroup>

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, minmax(0, 1fr))', gap: '1rem', alignItems: 'start'}}>
  <img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/gothic_hall_light_rays.png" alt="gothic_hall_light_rays.png" style={{width: '100%', height: 'auto', objectFit: 'contain'}} />
</div>
