Remove Video Background
Removes the background from a video and optionally replaces it with a solid color or makes it transparent.
Input Video Limits:
- Max size: 100MB
- Max duration: 60 seconds
- Supported formats: MP4, MOV, WebM, MKV, GIF
- Supported codecs: H.264, H.265/HEVC, VP8, VP9, AV1, ProRes
- Resolution: 64x64 to 4096x4096 pixels
Authorizations
All API requests require a valid api key. Include your token as a HTTP request header in the following format: X-API-Key: skXXXXXXXXXXXXXXXX. You can obtain an api key by signing up for developer access in your Pixelcut account.
Body
URL of the video to be processed. Must be a publicly accessible URL.
"https://example.com/video.mp4"
The background color to use after removal.
- Use "transparent" for transparent background (requires webm_vp9, mov_proresks, or gif output format)
- Use hex code (e.g., "#000000", "#FF5733") for solid color
^(transparent|#[0-9A-Fa-f]{3}|#[0-9A-Fa-f]{6})$Output video format with codec specification. Defaults to mp4_h264 if not specified.
Formats:
- mp4_h264: MP4 with H.264 codec
- mp4_h265: MP4 with H.265/HEVC codec
- webm_vp9: WebM with VP9 codec (supports transparency)
- mov_h265: QuickTime with H.265 codec
- mov_proresks: QuickTime with ProRes 4444 codec (supports transparency)
- mkv_h264: Matroska with H.264 codec
- mkv_h265: Matroska with H.265 codec
- mkv_vp9: Matroska with VP9 codec
- gif: Animated GIF (supports transparency)
mp4_h264, mp4_h265, webm_vp9, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, gif Response
Accepted - processing has started
A unique identifier for this job that can be used to check status.
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"