Capítulo 745 de 988

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

  1. Understand options when working with downloadWhisperModel().
  2. Understand folder when working with downloadWhisperModel().
  3. Understand model when working with downloadWhisperModel().
  4. Understand onprogress? when working with downloadWhisperModel().
  5. 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.