Giảm 50% mô hình Vidu Q3 & Q3 Pro · Chỉ trên WaveSpeedAI | 20/5 – 2/6

Video Eraser Mask

bria /

Bria Video Eraser (Mask) removes unwanted objects from videos using a user-provided mask video. Mark regions frame-by-frame (black/white or alpha), and the model performs AI video inpainting to reconstruct clean, temporally consistent backgrounds for people, logos, text, and props. Ready-to-use REST API with fast response, best performance, no cold starts, and affordable pricing.

ai-remover
Input

Kéo & thả hoặc nhấp để tải lên

Kéo & thả hoặc nhấp để tải lên

Whether to keep the original audio in the output video (true = preserve audio, false = remove audio)

Idle

$0.02per run·~50 / $1

ExamplesView all

Related Models

README

Bria Video Eraser (Mask-Based)

Bria Video Eraser (Mask-Based) is a precision video inpainting tool that removes objects using a mask video. Provide the original video plus a matching mask video (white = erase, black = keep), and the model removes the masked regions frame-by-frame while reconstructing the background for clean, production-ready results.

This mode is ideal for creators and post-production teams who need pixel-accurate control over what gets removed—without manual frame-by-frame painting.

Why it stands out

  • Mask-based control for precise, frame-consistent object removal.
  • Clean inpainting to reconstruct backgrounds after erasing masked regions.
  • Works well for VFX cleanup, unwanted object removal, and scene polishing.
  • copy_audio toggle to preserve or remove the original audio track.
  • Transparent, duration-based pricing based on BRIA official per-second rates.

Capabilities

  • Mask-video guided object removal (white regions removed, black regions preserved)
  • Background reconstruction (video inpainting) across frames
  • Frame-by-frame precision for moving objects and tracked masks
  • Optional original audio preservation via copy_audio

Parameters

ParameterDescription
video*Input video file or public URL.
mask_video*Mask video defining erase vs keep (white = remove, black = keep). Must align with the input video.
copy_audioWhether to keep the original audio in the output video (true = preserve, false = remove).

How to use

  1. Upload the video you want to edit (or paste a public URL).
  2. Upload a matching mask_video:
  • White areas = regions to erase
  • Black areas = regions to keep
  1. Make sure the mask video matches the input video’s resolution, duration, and timing for best results.
  2. Choose copy_audio:
  • true to preserve the original audio track
  • false to output a silent video
  1. Run the model, preview the output, and refine the mask if needed.

Mask tips (best practices)

  • Use pure white for removal and pure black for preservation whenever possible.
  • Slight edge feathering can reduce hard seams and improve blending.
  • If the mask “misses” parts of the object during motion, expand the mask slightly and re-run.
  • For complex motion, generate masks with rotoscoping tools or segmentation models, then export as a mask video.

Pricing

Official BRIA pricing:

  • $0.02 per second for Video Eraser.

Current endpoint limit:

  • Maximum supported duration: 5 seconds per request
  • Videos longer than 5 seconds may be trimmed to the first 5 seconds or rejected, depending on the API request settings.

Reference prices (USD):

DurationTotal Price
1 s$0.02
5 s$0.10
> 5 sNot supported in one official request

Notes

  • The mask video must be properly aligned; misaligned masks can cause jittery edges or incomplete removals.
  • Fast motion blur and heavy occlusion may reduce inpainting quality—use tighter masks and short test clips first.
  • If you need quick removal without mask prep, use the prompt-based variant instead.
  • If you want to generate a mask video. Please use the SAM-3 Video to build one!

Related Models

Accessibility:This website uses AI models provided by third parties.

Video Eraser Mask API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/bria/video-eraser/mask with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Video Eraser Mask below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/bria/video-eraser/mask" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "video": "https://example.com/your-input.mp4",
    "copy_audio": true
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("bria/video-eraser/mask", {
        "video": "https://example.com/your-input.mp4",
        "copy_audio": true
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "bria/video-eraser/mask",
    {
    "video": "https://example.com/your-input.mp4",
    "copy_audio": true
}
)

print(output["outputs"][0])  # → URL of the generated output

Video Eraser Mask API — Frequently asked questions

What is the Video Eraser Mask API?

Video Eraser Mask is a Bria model for object / watermark removal, exposed as a REST API on WaveSpeedAI. Bria Video Eraser (Mask) removes unwanted objects from videos using a user-provided mask video. Mark regions frame-by-frame (black/white or alpha), and the model performs AI video inpainting to reconstruct clean, temporally consistent backgrounds for people, logos, text, and props. Ready-to-use REST API with fast response, best performance, no cold starts, and affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Video Eraser Mask API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/bria/bria-video-eraser-mask.

How much does Video Eraser Mask cost per run?

Video Eraser Mask starts at $0.020 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Video Eraser Mask accept?

Key inputs: `video`, `copy_audio`, `mask_video`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/bria/bria-video-eraser-mask.

How long does Video Eraser Mask take to generate?

Average end-to-end generation time on WaveSpeedAI is around 50 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.

Can I use Video Eraser Mask outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (Bria). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.