Bria Video Green Screen
Get a broadcast-grade green screen out of any footage — Bria Video Green Screen
- result_video_url
Chroma-keying a video locally is a rabbit hole of per-frame segmentation, temporal flicker, and edge cleanup. Bria Video Green Screen skips all of it: feed it a video and it comes back with the subject keyed onto a clean, solid chroma background - ready for your favorite keyer in an NLE, or for compositing into a real scene. It's the video sibling of Bria Video Remove Background, but instead of transparency (or a solid fill color) you get an actual green/blue screen, which downstream editing tools can key much more reliably than an alpha track in a compressed webm.
It's part of the official BRIA AI API nodes pack: the clip goes up to BRIA's cloud, the processing happens there, and you need a BRIA API token from platform.bria.ai. No local model, no GPU, no per-frame hair-pulling.
How it works
Local video paths are uploaded to S3 via a presigned URL first; then the video is POSTed to BRIA's /v2/video/edit/green_screen endpoint. The node polls the returned status_url until the job completes (video jobs run long, so the timeout is generous) and hands back a single STRING: result_video_url. Because that's a URL and not a local file, wire it into the Bria Preview Video node to see the result in the ComfyUI UI, or pull the URL down however you like.
The inputs that matter
api_key- required; theBRIA_API_TOKENplaceholder is rejected, so paste your real key.video_url- a public URL or a local path.green_shade- this is the one people actually care about:broadcast_green(default, the standard TV green),chroma_green, orblue_screen. Pick blue if your subject's wardrobe is green - that's the entire reason the option exists.output_container_and_codec- defaults tomp4_h264, and unlike the RMBG node that's a sensible default; mp4/h264 is what most editors ingest.webm_vp9,mov_proresks, andgifare also available.preserve_audio- on by default; keeps the sound track through the key.
Install
The pack has no requirements file and no models:
cd path_to_comfyui/custom_nodes
git clone https://github.com/Bria-AI/ComfyUI-BRIA-API.git
or ComfyUI Manager → search "BRIA API" → restart. Grab a token, paste it in, go.
Gotchas
Two things trip people up. First: this is a paid API call and video processing is the priciest thing in the pack - every run burns real credits, so trim your clip before you send it, don't iterate on the full-length file. Second, the green-shade default is broadcast_green, and if your subject is wearing green you'll get holes where the keyer (and BRIA's matte) agree the subject is background. That's what blue_screen is for. And remember the output is a keyed video, not a transparency mask - if you wanted true alpha for compositing in ComfyUI itself, you want the Remove Background node with background_color: Transparent instead.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | BRIA_API_TOKEN | — |
| video_url | STRING | Local path or publicly accessible URL of the video to process. | |
| green_shadeopt | COMBO | broadcast_green | 3 options: broadcast_green, chroma_green, blue_screen |
| output_container_and_codecopt | COMBO | mp4_h264 | 9 options: mp4_h264, mp4_h265, webm_vp9, mov_h265, mov_proresks, mkv_h264, +3 |
| preserve_audioopt | BOOLEAN | true | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result_video_url | STRING | — |