Remove Background

Remove & Change Background from Videos

Remove Background from videos, or replace with custom backdrops.

post/remove-background

Request

  • Base URL
    https://video-api.picsart.io/v1
  • URL
    https://video-api.picsart.io/v1/remove-background
  • Auth
    API key in header X-Picsart-API-Key

Request body multipart/form-data

video_urlstring uri

Source video URL.

bg_colorstring nullable

Can be a hexcolor code (e.g., #82d5fa, #fff) or a color name (e.g., blue). For full transparency, use 'transparent' or '#00000000'. In this case, the export format .webm will be enforced and applied. For semi-transparency, 4-/8-digit hexcodes are also supported (e.g., #18d4ff87 or #00000066). The default is greenscreen's '#008800'. Use either bg_color or bg_image_url.

bg_image_urlstring uri nullable

The background image URL. Use either bg_color or bg_image_url. When not provided the default value of the bg_color=#008800 will be applied to the background.

Response

Request successfully accepted for an asynchronous transformation.

transaction_idstring nullable
status'success' | 'error' | 'processing' | 'queued'

Changes

No recorded changes to this operation across all 1 revision of this API.