How to Use Bria VRMBG 3.0 in opencode
Bria VRMBG 3.0 removes backgrounds from presenter, podcast, and product footage for reuse in edits and composites. Compared with Bria VRMBG 2.0, it improves frame accuracy and keeps subject edges more consistent across frames.
Prompts to try with Bria VRMBG 3.0 in opencode
Copy an example into opencode, or ask in your own words.
Use Bria VRMBG 3.0 to remove the background from public/videos/presenter.mp4. Export a transparent WebM with VP9, retain the audio, and save it beside the source for the tutorial page.
Use Bria VRMBG 3.0 on the product demo clips in assets/video, each no longer than 60 seconds. Give them a white background and preserve their original framing for the catalog.
Use Bria VRMBG 3.0 to extract the speaker from assets/podcast-excerpt.mp4, a 30-second clip. Save a transparent ProRes MOV for the editor and keep the source audio.
Use Bria VRMBG 3.0 on public/videos/product-loop.mp4. Export a transparent WebM with VP9 and crop to one fixed frame containing the product throughout the clip.
Use Bria VRMBG 3.0 to prepare a transparent version of assets/course-intro.mp4, which is 45 seconds long. Keep the original framing and add a preview over the lesson page's background.
How to set up Bria VRMBG 3.0 in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Bria VRMBG 3.0
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "bria/video/background-removal/v3", "input": { "video_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/rmbg_tests/videos/video.mp4" } }'
Then paste one of the prompts above: opencode finds Bria VRMBG 3.0 on Spiral, shows the price and runs it.
Bria VRMBG 3.0 providers and prices
Spiral runs Bria VRMBG 3.0 through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Bria VRMBG 3.0 works from your video URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Output container and codec | mp4_h265, mp4_h264, webm_vp9, mov_h265, mov_proresks, mkv_h265, mkv_h264, mkv_vp9 and 1 more | webm_vp9 | Output container and codec. Options: mp4_h265, mp4_h264, webm_vp9, mov_h265, mov_proresks, mkv_h265, mkv_h264, mkv_vp9, gif. |
| Preserve audio | on or off | on | If true, audio will be preserved in the output video. |
| Background color | Transparent, Black, White, Gray, Red, Green, Blue, Yellow and 3 more | Black | Background color. Options: Transparent, Black, White, Gray, Red, Green, Blue, Yellow, Cyan, Magenta, Orange. |
| Auto zoom | on or off | off | If true, crop the output to the smallest rectangle the subject stays inside for the whole video. |
Every API field of Bria's VRMBG 3.0 · Video Remove Background is on its tool page: open its card above.
What can you do with Bria VRMBG 3.0 in opencode?
Prepare presenter and product cutouts for the videos used in your project. Your coding agent can organize the exports and add them to an existing page or editing workflow.
Presenter overlays for tutorials
Extract a presenter from a short recording, then place the transparent video over a screen recording or slide deck.
Podcast clips for social posts
Remove the recording-room background from a podcast excerpt so an editor can reuse the speaker over branded graphics.
Product videos for catalog pages
Give short product demonstrations a consistent solid background, or export transparent footage for a designed product page.
Reusable advertising footage
Extract a person or product from an existing commercial clip for placement in several campaign layouts during editing.
Foreground layers for film composites
Turn a short cinematic shot into a foreground layer for compositing. Review the moving edges against the intended replacement background.
Consistent course presenter clips
Remove different room backgrounds from short instructor recordings before assembling lessons with a consistent visual layout.
More on Bria VRMBG 3.0 and opencode
Overview
Bria VRMBG 3.0 in other agents
Questions about Bria VRMBG 3.0 in opencode
Can opencode use Bria VRMBG 3.0?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Bria VRMBG 3.0 like any built-in tool.
How much does Bria VRMBG 3.0 cost in opencode?
Up to $3.90 per run at the default inputs for 60 seconds of input. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a fal account to use Bria VRMBG 3.0 in opencode?
No. Spiral runs Bria VRMBG 3.0 on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Bria VRMBG 3.0 in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Bria VRMBG 3.0 runs?
Bria VRMBG 3.0 runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What is Bria VRMBG 3.0 useful for?
Use it to extract subjects from presenter recordings, podcasts, product footage, commercials, and film clips. The cutout can then become a layer in your video edit.
What changed from Bria VRMBG 2.0?
Bria reports better accuracy within individual frames and more consistent results across frames. That makes moving subject boundaries a useful place to compare results.
How long can a video be, and what resolution comes back?
Bria documents clips up to 60 seconds and input dimensions up to 16000 by 16000 pixels. Output dimensions follow the source unless subject cropping is enabled.
Why did my transparent export get a black background?
The export needs a codec that preserves transparency. Use WebM with VP9, MOV with ProRes, or MKV with VP9; Bria documents a black-background fallback for incompatible presets.
Does automatic cropping follow the subject around?
It chooses one fixed rectangle that contains the subject throughout the clip. Leave cropping off when you need the original framing for a later composite.
Start using Bria VRMBG 3.0 in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


