Chapter 750: downloadWhisperModel()
Core Idea
:::warning Unstable API: This package is experimental for the moment. As we test it, we might make a few changes to the API and switch to a WebGPU-based backend in the future.
Key Concepts
- Options
- model
- onProgress?
- Return Value
- See also
Code Examples
const {alreadyDownloaded} = await downloadWhisperModel({
model: 'tiny.en',
onProgress: (progress) => {
console.log(progress);
},
});
- What it demonstrates: Usage pattern for downloadWhisperModel() from the official docs.
Key Takeaways
- Understand options when working with downloadWhisperModel().
- Understand model when working with downloadWhisperModel().
- Understand onprogress? when working with downloadWhisperModel().
- Understand return value when working with downloadWhisperModel().
- Understand see also when working with downloadWhisperModel().
Connects To
- Convert to Captions: related page in the Whisper Web (@remotion/whisper-web) section.
- Download Whisper Model: related page in the Whisper Web (@remotion/whisper-web) section.
- Install Whisper cpp: related page in the Whisper Web (@remotion/whisper-web) section.