Chapter 745: downloadWhisperModel()
Core Idea
Downloads a Whisper. cpp model to a folder.
Key Concepts
- Options
- folder
- model
- onProgress?
- printOutput?
- signal?<AvailableFrom v="4.0.156" />
- Return Value
- alreadyExisted
Code Examples
const {alreadyExisted} = await downloadWhisperModel({
model: 'medium.en',
folder: path.join(process.cwd(), 'whisper.cpp'),
});
- What it demonstrates: Usage pattern for downloadWhisperModel() from the official docs.
Key Takeaways
- Understand options when working with downloadWhisperModel().
- Understand folder when working with downloadWhisperModel().
- Understand model when working with downloadWhisperModel().
- Understand onprogress? when working with downloadWhisperModel().
- Understand printoutput? when working with downloadWhisperModel().
Connects To
- Convert to Captions: related page in the Whisper Web (@remotion/whisper-web) section.
- Install Whisper cpp: related page in the Whisper Web (@remotion/whisper-web) section.
- to Captions: related page in the Whisper Web (@remotion/whisper-web) section.