Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript
806 B
Raw Blame

Browser caption models

The web editor loads local caption models through Transformers.js from the openreel R2 bucket. Two quality tiers are mirrored:

  • Fast: models/onnx-community/whisper-tiny/resolve/main/ (~100 MB)
  • Accurate: models/onnx-community/whisper-large-v3-turbo_timestamped/resolve/main/ (~760 MB)

Only tokenizer/config files and the Q4 encoder/merged-decoder ONNX weights are mirrored. Both upstream Whisper models are Apache-2.0 licensed. Model binaries must not be committed to this repository.

R2 objects use long-lived public cache headers. The web worker uses the browser cache after the first download and prefers WebGPU for the accurate tier, with a WASM fallback. Publish a versioned prefix and update apps/web/src/workers/whisper-models.ts when replacing the weights.