Video Background Remover API
activeAI-powered video background removal — remove or replace video backgrounds instantly. Supports custom background images.
Quick Start
Send a request to the Video Background Remover API:
| 1 | curl -X POST https://apiin.one/api/v1/videos/tools/bg-remover \ |
| 2 | -H "Authorization: Bearer YOUR_API_KEY" \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -d '{ |
| 5 | "model": "video-bg-remover", |
| 6 | "video": "https://example.com/talking-head.mp4" |
| 7 | }' |
API Endpoint
/api/v1/videos/tools/bg-removerSend a POST request with your API key to generate content using Video Background Remover.
Headers
Bearer YOUR_API_KEY
application/json
Body Parameters
Model identifier: video-bg-remover
URL of the video to process
URL of a custom background image to replace with
Example Request
| 1 | { |
| 2 | "model": "video-bg-remover", |
| 3 | "video": "https://example.com/talking-head.mp4" |
| 4 | } |
Example Response
Successful task creation response.
| 1 | { |
| 2 | "code": 200, |
| 3 | "message": "success", |
| 4 | "data": { |
| 5 | "task_id": "n53xxxx_vbgr", |
| 6 | "status": "IN_PROGRESS" |
| 7 | } |
| 8 | } |
Check Task Status
For asynchronous tasks, poll the status endpoint to check when your task is complete:
/api/v1/tasks/{task_id}Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
| 1 | curl https://apiin.one/api/v1/tasks/task_abc123 \ |
| 2 | -H "Authorization: Bearer aio_your_key" |
Use Cases
- ✓Remove backgrounds from talking-head videos for presentations
- ✓Create green-screen effects without physical green screens
- ✓Replace video backgrounds for virtual meetings content
- ✓Build automated video editing pipelines
API Tester
Test the Video Background Remover API directly from your browser:
Error Codes
| 1 | { |
| 2 | "error": { |
| 3 | "code": 400, |
| 4 | "message": "Invalid parameters", |
| 5 | "type": "invalid_request" |
| 6 | } |
| 7 | } |
Frequently Asked Questions
How much does Video BG Remover cost?
Each video costs 10 credits (~$0.02). Extremely affordable for video editing.
Can I replace the background with a custom image?
Yes. Use the "background_image" parameter to provide a custom background image URL.
What video formats are supported?
The API accepts standard video URLs (MP4, MOV, etc.) hosted on HTTP/HTTPS.
Why Use Video Background Remover Through API in One?
Ready to use Video Background Remover?
Get Your API Key →