Pricing
Compare models →Billing duration: Input media duration is rounded up to whole seconds. The minimum billed duration is 3 seconds; shorter inputs are billed as 3 seconds. Existing per-5-second rate tables remain unchanged.
Pricing is based on video duration:
| Video Duration | Cost per run |
|---|---|
| ≤ 3 seconds | $0.03 |
| 10 seconds | $0.10 |
Rate: $0.01 per second (minimum $0.03 for ≤3s, capped at 600s / $6.00).
Input schema
| Parameter | Type | Description |
|---|---|---|
videoRequired | string | URL of the input video to process for background removal or replacement |
background_image | string | Optional. A background image to place the subject on (scaled to fill the frame). Used with output_format mp4. |
background_video | string | Optional. A background video to place the subject on (scaled to fill the frame; it loops when shorter than the input). Used with output_format mp4; takes priority over background_image. |
output_format | string | mp4: the subject on the background video or image, or on white when none is given. webm: a transparent video with an alpha channel (transparent in Chrome, Edge and Firefox; Safari plays it on black). matte: a black-and-white MP4 of the alpha matte (white = subject).mp4webmmatte"mp4" |
README
OpenSI 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
- 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
Billing duration: Input media duration is rounded up to whole seconds. The minimum billed duration is 3 seconds; shorter inputs are billed as 3 seconds. Existing per-5-second rate tables remain unchanged.
Pricing is based on video duration:
| Video Duration | Cost per run |
|---|---|
| ≤ 3 seconds | $0.03 |
| 10 seconds | $0.10 |
Rate: $0.01 per second (minimum $0.03 for ≤3s, 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.
Duration limit
The maximum supported video duration is 10 minutes.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Video Background Remover API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/video-background-remover for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/02-098be40eccd3.mp4",
"background_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"background_video": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
"output_format": "mp4"
}Video Background Remover API — Frequently asked questions
What is the Video Background Remover API?
Video Background Remover is a OpenSIAI model for video background removal, exposed as a REST API on OpenSIAI. OpenSI 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 OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/video-background-remover.
How much does Video Background Remover cost per run or per second?
Video Background Remover starts at $0.01 per run or per second. 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, background_video, output_format. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/video-background-remover.
How long does Video Background Remover take to generate?
Reported generation time on OpenSIAI is around 64 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. 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 (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
