Enjoy 50% OFF Vidu Q3 & Q3 Pro models • Only on WaveSpeedAI | May 20 – Jun 2

Video Background Remover

wavespeed-ai /

WaveSpeed Video Background Remover replaces or removes video backgrounds with a custom image. Upload or paste a link to your video, then provide a background image by URL or file—clean matting, edge-aware blending, and natural compositing keep subjects realistic. Built for creator workflows and batch jobs. Ready-to-use REST inference API with fast response, no cold starts, and predictable pricing.

ai-remover
Input

Drag & drop or click to upload

Drag & drop or click to upload

Idle

$0.05per run·~20 / $1

ExamplesView all

Related Models

README

WaveSpeed Video Background Remover

Video Background Remover is an AI-powered tool that automatically detects and removes backgrounds from videos, with the option to replace them with custom background images. Perfect for content creators, video editors, and marketers who need clean, professional video compositing without manual masking.

Key capabilities

  • Automatic background detection and removal Intelligently separates foreground subjects from backgrounds in video content without manual masking or green screens.

  • Custom background replacement Replace the original background with your own image for branded content, virtual backgrounds, or creative compositing.

  • Transparent background support Generate videos with transparent backgrounds when no replacement image is provided, ready for further editing or overlay.

  • Production-ready quality High-quality edge detection and matting for professional-looking results suitable for marketing, social media, and presentations.

Parameters and how to use

  • video: (required): URL of the input video to process
  • background_image: URL of the replacement background image

How to use

  1. video – (required) Provide the URL of your input video. The video should clearly show the subject you want to keep in the foreground. Best results with videos where the subject is distinct from the background.

  2. background_image – (optional) Provide the URL of an image to use as the new background. If omitted, the output will have a transparent background. The image will be automatically scaled and positioned to fit the video dimensions.

After you finish configuring the parameters, click Run, preview the result, and iterate if needed.

Pricing

Pricing is based on video duration:

Video DurationCost per run
≤ 5 seconds$0.05
10 seconds$0.10

Rate: $0.01 per second (minimum $0.05 for ≤5s, capped at 600s / $6.00).

Notes

Tips for best results:

  • Use videos with clear subject-background separation for optimal edge detection
  • Ensure adequate lighting to help the model distinguish the foreground subject
  • For replacement backgrounds, use high-resolution images that match or exceed your video resolution
  • Better to use a landscape video which the ratio is 16:9.

Use cases:

  • Social Media Content – Create eye-catching videos with branded backgrounds
  • Product Videos – Showcase products on clean or custom backgrounds
  • Virtual Presentations – Replace home office backgrounds with professional settings
  • Green Screen Alternative – Process videos without needing physical green screens

Related Models

  • Bria Video Eraser – AI-powered video object removal tool for erasing unwanted elements from videos.
Accessibility:This website uses AI models provided by third parties.

Video Background Remover API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/video-background-remover 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 Background Remover below.

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

# 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("wavespeed-ai/video-background-remover", {
        "video": "https://example.com/your-input.mp4"
});

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

output = wavespeed.run(
    "wavespeed-ai/video-background-remover",
    {
    "video": "https://example.com/your-input.mp4"
}
)

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

Video Background Remover API — Frequently asked questions

What is the Video Background Remover API?

Video Background Remover is a WaveSpeedAI model for object / watermark removal, exposed as a REST API on WaveSpeedAI. WaveSpeed Video Background Remover replaces or removes video backgrounds with a custom image. Upload or paste a link to your video, then provide a background image by URL or file—clean matting, edge-aware blending, and natural compositing keep subjects realistic. Built for creator workflows and batch jobs. Ready-to-use REST inference API with fast response, no cold starts, and predictable pricing. You can call it programmatically or try it from the playground above.

How do I call the Video Background Remover 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/wavespeed-ai/video-background-remover.

How much does Video Background Remover cost per run?

Video Background Remover starts at $0.050 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 Background Remover accept?

Key inputs: `video`, `background_image`. 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/wavespeed-ai/video-background-remover.

How long does Video Background Remover take to generate?

Average end-to-end generation time on WaveSpeedAI is around 28 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 Background Remover outputs commercially?

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