getAvailableModels()v4.0.518
Returns the timestamped Whisper models supported by transcribe().
models.tsimport {getAvailableModels } from '@remotion/whisper-webgpu'; constmodels =getAvailableModels ();console .log (models );
Each item contains the short name, Hugging Face modelId, parameter count, whether the model is multilingual, and the estimated WebGPU download size.
Available sizes are tiny, base, small, medium, and large-v3-turbo. English-only .en variants are available through medium.
The set of available models may change between versions as faster variants of these models are in development by Hugging Face. Call clearStaleModels() to remove cached models that are no longer available after upgrading.
The estimates cover model weights. Browser caches and supporting model files may add a small amount.
Compatibility
| Browsers | Environments | |||||
|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | ||||