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.
就绪
$0.05每次运行·~20 / $1
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.
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.
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.
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 is based on video duration:
| Video Duration | Cost 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).
Tips for best results:
Use cases:
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.
# 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].// 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# 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 outputVideo 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.
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.
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.
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.
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.
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.