Video Background Removal API
Isolate the subject in a video and export it with a transparent or solid-color background. Keep the original audio if needed.
- Video to video
Starting at
$0.005
per second of output
Video Background Removal playground
Input
Public source video URL. MP4, MOV or WebM, up to 100 MiB.
Runs are charged to your balance.
Output

Output will appear here.
Check the price and run the model. Your result will appear here; browser use does not need an API key.
Video Background Removal API pricing
| Option | Price per second |
|---|---|
| Standard | $0.005 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "video-background-removal",6 "input": {7 "videoUrl": "https://example.com/input.png",8 "backgroundColor": "transparent",9 "outputFormat": "webm",10 "preserveAudio": true11 }12 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
videoUrl | string | Yes | — | Public source video URL. MP4, MOV or WebM, up to 100 MiB. |
backgroundColor | string | No | transparent | Background for the output. Transparent backgrounds require WebM.One of: transparent, black, white, gray, red, green, blue, yellow, cyan, magenta, orange |
outputFormat | string | No | webm | Output format. WebM uses VP9 and supports transparency. MP4 uses H.264 and requires a solid background.One of: webm, mp4 |
preserveAudio | boolean | No | true | Keep the original audio track when possible. |
Frequently asked questions
How much does Video Background Removal cost?
Video Background Removal starts at $0.005 per second of output on API Stock. The final charge depends on the selected settings.
How do I get an API key for Video Background Removal?
Create an account and API key on API Stock, then fund your balance. The same key works with Video Background Removal and other catalog models.
How do I call the Video Background Removal API?
POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "video-background-removal". Use the returned task id for polling or receive a webhook.
What input parameters does Video Background Removal accept?
Video Background Removal accepts 4 input parameters, including the required field(s) videoUrl. See their types, defaults and allowed values above.
What happens if a Video Background Removal request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Video Background Removal with the same API key as other models?
Yes. Use your API Stock API key and balance for Video Background Removal and other catalog models.
Other Video models
- Grok Imagine 1.5 VideoxAI$0.014/ second
- MiniMax H3MiniMax$0.016/ second
- Agnes Video 2.5Agnes AI$0.023/ second
- PixVerse V6PixVerse$0.024/ generation
- Seedance 2.0 MiniByteDance$0.025/ second
- Gemini Omni 1.2 FlashGoogle$0.029/ second
- Wan 3.0 VideoAlibaba$0.047/ second
- Kling Avatar 2.0 StandardKling$0.05/ second
- Seedance 2.0 FastByteDance$0.057/ second
Guides
- Text to videoWhich text-to-video model fits the shot you have in mind, prompts that actually work, and the full API run from create to finished file.8 min read
- Image to videoTurning a still into a shot — which model to animate it with, first and last frame control, motion transfer, and the prompts that keep the subject intact.7 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
