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
- Create an API key for an organization with this product enabled.
- Prepare your media as Beeble URIs, authorized CDN URLs, public/presigned HTTPS URLs, or base64 data URIs.
- Select an available model below; complete any required consent in Beeble Cloud.
Models and inputs
SetBEEBLE_API_KEY and, for internal teams, BEEBLE_TEAM_ID.
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. Theinputs 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.
requests; JavaScript examples run in Node.js.
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 returnedid 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.
outputs.alpha for the matte. A foreground result, when available, is returned as outputs.foreground.