getLoadedModels()
Deprecated
@remotion/whisper-web is deprecated and will no longer be published starting with Remotion 5.0. Use isWhisperModelCached() from @remotion/whisper-webgpu instead. It checks one model and returns a boolean, so call it for each model you want to check.
Returns an array of Whisper models that have already been downloaded and stored in the browser's IndexedDB storage.
app.tsimport {getLoadedModels } from '@remotion/whisper-web'; constloadedModels = awaitgetLoadedModels ();console .log (loadedModels ); // ['tiny.en']
Return value
Returns a Promise that resolves to an array of WhisperWebModel strings, representing the models that are already downloaded and available locally.