Skip to main content
Product ID: background_remover · Billing: Beeble Cloud credits Extract an alpha matte from an image or video for compositing. See the Background Remover product guide for matte examples and advice on preparing footage.

Before you start

  1. Create an API key for an organization with this product enabled.
  2. Prepare your media as Beeble URIs, authorized CDN URLs, public/presigned HTTPS URLs, or base64 data URIs.
  3. Select an available model below; complete any required consent in Beeble Cloud.

Models and inputs

Set BEEBLE_API_KEY and, for internal teams, BEEBLE_TEAM_ID.
Response (200): models contains each model’s id, name, input_schema, and any requires_consent value. Use the selected model’s input_schema for required inputs, types, defaults, and supported values. Request parameters and response schema

Submit a job

Schemas: Request body · Response. The inputs object follows your selected model’s input_schema above. Save as request.json with your media URIs. The Beeble URIs below can be replaced with any supported single-file media input. Use a unique idempotency_key for each new job; keep it unchanged on retries.
Python requires requests; JavaScript examples run in Node.js.
Response (202, abbreviated):

Results and constraints

The server measures media type and frame count; generation_type and frame_count can be omitted. See Billing & credits for spending caps and refunds.

Completed response

Poll the job using the returned id until status is success. Stop on failed, cancelled, or credit_required. Example response (200, success; abbreviated): URLs are illustrative. Available outputs depend on the model and input media.
Download outputs.alpha for the matte. A foreground result, when available, is returned as outputs.foreground.