Remove background from video
aetherwave_remove_background_videoStrips the background from a video frame-by-frame using rembg (u2netp) on AetherWave's Python service. Pass a public videoUrl. Choose bgType: "transparent" for an alpha-channel WebM output (compositing) or bgType: "color" with a customColor hex for a solid replacement. 2 credits per second. Slowest tool in the surface (per-frame processing); a 6s clip takes ~4 min, a 30s clip ~15-20 min. Works best on subjects with clear edges (people, products). Returns the processed video URL (R2-hosted).
Returns within ~45 s. If the result has state "running" the job is still rendering: poll aetherwave_get_job with the returned taskId and kind every ~10 s. Pass wait:true ONLY if your MCP client permits tool calls longer than 60 s (most do not). Pass async:true to get the taskId back immediately without waiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Block until the job finishes (up to the tool's full budget, 6-15 minutes). ONLY if your MCP client permits tool calls longer than 60 s; most abandon the call at 60 s and lose the taskId. Default false: return within ~45 s and hand back a taskId if still running. | |
| async | No | Submit and return the taskId immediately without polling at all. Then poll aetherwave_get_job(taskId, kind). | |
| bgType | No | 'transparent' = alpha WebM output (default). 'color' = solid replacement using customColor. | |
| videoUrl | Yes | Public URL of the source video (MP4). | |
| customColor | No | Hex color for solid background when bgType='color' (e.g. '#00ff00'). Default green. |