Quick overview
This workflow queues up to five consent-checked video background-removal jobs to a provider API (or runs an offline demo), polls for completion with a bounded retry loop, and produces a QA manifest that flags whether alpha and audio metadata look ready for human review.
How it works
- Runs manually to load a configuration that defines the provider base URL, processing mode, and a list of background-removal jobs.
- Validates each job’s rights confirmation, video URL, duration, background settings (transparent/blur/color), and edge mode before any submission.
- Builds per-job provider payloads with a stable idempotency key and the requested output options.
- In demo mode, generates a simulated “completed” result with alpha metadata; in live mode, submits each job once to the provider’s POST /jobs endpoint using header-based authentication.
- Classifies the submit response, then polls the provider’s GET /jobs/{jobId} endpoint every 15 seconds up to a capped number of attempts when the job is queued.
- Evaluates the provider response metadata to flag transparency/alpha readiness and whether audio appears preserved, then outputs a per-job QA manifest including result URL, attempts, and review notes.
Setup
- Decide whether to run in demo mode (no external calls) or live mode (paid processing), and set mode plus allowPaidProcessing accordingly in the configuration.
- For live mode, replace providerBaseUrl with your HTTPS background-removal API that supports POST /jobs and GET /jobs/{jobId} returning jobId, status, resultUrl, and optional output metadata.
- Create an n8n HTTP Header Auth credential for your provider and select it on both HTTP requests.
- Update the jobs list with your HTTPS videoUrl values and ensure each entry includes rightsConfirmed=true and a rightsReference you can audit later.
Additional info
Created by Shisan Hua, who works on Video Background Remover: https://www.videobgremover.org/. This workflow uses a generic authorized processing-provider contract and does not claim a public product API. It is intended only for footage the operator owns or has permission to edit.