Examples & Integrations

n8n Integration

Production-ready n8n workflows with importable JSON templates and node-by-node setup guide.

Template Pack (Import Directly)

Download and import these workflows from the n8n editor: Workflows → Import from file.

All templates are designed for RemoveBGVideo Public API v1 and can run with your X-Api-Key header.

GitHub template repo: https://github.com/JsonChao/removebgvideo-n8n-templates

  • URL → Auto Start → Poll: /downloads/n8n/removebgvideo-url-auto-start-poll.json
  • Local File Upload → v1/jobs: /downloads/n8n/removebgvideo-local-upload-v1.json
  • Draft Job + Start (Pro Prompt): /downloads/n8n/removebgvideo-draft-start-pro.json
  • Webhook Callback Receiver: /downloads/n8n/removebgvideo-webhook-receiver.json
  • Daily Usage Summary Report: /downloads/n8n/removebgvideo-usage-daily-report.json

Required Variables

VariableExampleUsed In
API_BASEhttps://api.removebgvideo.comAll HTTP nodes
API_KEYvbr_xxxAll /v1 calls in X-Api-Key header
VIDEO_URLhttps://cdn.removebgvideo.com/uploads/7d77f979-cb19-411c-9936-c27829c5bdc5.mp4Create job payload
WEBHOOK_URLhttps://removebgvideo.com/webhooks/removebgvideojob.started/completed/failed callbacks

Node Screenshot-style Guide

Step 1: Create Job (HTTP Request)

Step 1: Create Job (HTTP Request)

POST /v1/jobs with video_url, model, output_format, auto_start

Step 2: Start Draft Job (Optional)

Step 2: Start Draft Job (Optional)

POST /v1/jobs/{job_id}/start for prompt/composition overrides

Step 3: Poll Status Loop

Step 3: Poll Status Loop

GET /v1/jobs/{job_id}, check completed/failed/processing branches

Step 4: Webhook Receiver

Step 4: Webhook Receiver

Receive job.completed and push output_url to downstream apps

Recommended Workflow

  1. Trigger: Manual/Cron/Webhook from your business system.
  2. HTTP node: POST /v1/jobs (set auto_start true for simplest path).
  3. If auto_start false: HTTP node POST /v1/jobs/{job_id}/start.
  4. Loop with Wait + HTTP GET /v1/jobs/{job_id} until completed.
  5. Success branch: use output_url to send email, upload cloud drive, or callback your app.
  6. Failed branch: log error payload and retry with controlled backoff.

Operational Tips

  • Use wait node to avoid tight polling loops.
  • Persist job_id and request_id in execution data for audit.
  • For local files, upload with POST /v1/uploads first, then feed returned video_url into /v1/jobs.
  • Add fallback branch for failed jobs.
  • Use webhook_url in /v1/jobs payload to reduce polling pressure in high-volume automations.

Operational Patterns

  • Use queue-based orchestration for sustained throughput.
  • Separate latency-sensitive traffic from bulk processing workloads.
  • Centralize webhook/event consumption through one idempotent handler.
  • Use dead-letter queue for repeated failures and manual replay.

Go-Live Checklist

  1. Load test with realistic clip duration distribution.
  2. Validate alerting for error rate, queue lag, and failed jobs.
  3. Confirm credit accounting and billing UX alignment.
  4. Prepare escalation template containing job_id + payload summary.

n8n Operational Risks

  • Avoid tight loops that hit API rate limits.
  • Persist job_id and external correlation id in workflow variables.
  • Use failure branch for notifications and replay queue.