Examples & Integrations

Examples

Reference architectures and practical implementation templates.

Common Patterns

  • Creator app uploads -> process -> auto-download
  • CMS batch pipeline with queue workers
  • Live campaign builder with model switch per scene

Reference Stack

LayerSuggestion
QueueBullMQ / SQS
WorkersNode.js or Python
StorageS3/R2 for assets
DBPostgreSQL for job state

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.

How to Choose an Example

ScenarioRecommended Example
Simple SaaS app integrationNext.js Integration
Large async batch processingPython Batch Worker / Node Queue Worker
Automation-first no-code flown8n Integration