Skip to content

πŸŽ₯ Make videos programmatically with React

Add whisper-webgpu to transcription guide

Jonny Burger215149a2779d
diff --git a/packages/docs/docs/captions/transcribing.mdx b/packages/docs/docs/captions/transcribing.mdx
index ad0c25be0b..7f1b5c7366 100644
--- a/packages/docs/docs/captions/transcribing.mdx
+++ b/packages/docs/docs/captions/transcribing.mdx
@@ -10,20 +10,21 @@ crumb: Captions
Remotion provides several built-in options for transcribing audio to generate captions:
- [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp) - Transcribe audio locally on a server using [Whisper.cpp](https://github.com/ggerganov/whisper.cpp)
+- [`@remotion/whisper-webgpu`](/docs/whisper-webgpu) - Transcribe audio in the browser using timestamped Whisper models and WebGPU through [Transformers.js](https://huggingface.co/docs/transformers.js)
- [`@remotion/whisper-web`](/docs/whisper-web) - Transcribe audio in the browser using WebAssembly
- [`@remotion/openai-whisper`](/docs/openai-whisper) - Use the OpenAI Whisper API for cloud-based transcription
- [`@remotion/elevenlabs`](/docs/elevenlabs) - Use the ElevenLabs Speech to Text API for cloud-based transcription
## Comparison
-| | [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp) | [`@remotion/whisper-web`](/docs/whisper-web) | [`@remotion/openai-whisper`](/docs/openai-whisper) | [`@remotion/elevenlabs`](/docs/elevenlabs) |
-| -------------------- | ------------------------------------------------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
-| **Environment** | Server (Node.js) | Client (Browser) | Cloud (API) | Cloud (API) |
-| **Speed** | Fast (depends on hardware) | Slow (WASM overhead) | Fast | Fast |
-| **Cost** | Free | Free | Paid (OpenAI API pricing) | Paid (ElevenLabs API pricing) |
-| **Offline support** | βœ… | βœ… | ❌ | ❌ |
-| **No server needed** | ❌ | βœ… | βœ… | βœ… |
-| **Convert function** | [`toCaptions()`](/docs/install-whisper-cpp/to-captions) | [`toCaptions()`](/docs/whisper-web/to-captions) | [`openaiWhisperApiToCaptions()`](/docs/openai-whisper/openai-whisper-api-to-captions) | [`elevenLabsTranscriptToCaptions()`](/docs/elevenlabs/elevenlabs-transcript-to-captions) |
+| | [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp) | [`@remotion/whisper-webgpu`](/docs/whisper-webgpu) | [`@remotion/whisper-web`](/docs/whisper-web) | [`@remotion/openai-whisper`](/docs/openai-whisper) | [`@remotion/elevenlabs`](/docs/elevenlabs) |
+| -------------------- | ------------------------------------------------------------ | -------------------------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
+| **Environment** | Server (Node.js) | Client (Browser) | Client (Browser) | Cloud (API) | Cloud (API) |
+| **Speed** | Fast (depends on hardware) | Fast (depends on GPU) | Slow (WASM overhead) | Fast | Fast |
+| **Cost** | Free | Free | Free | Paid (OpenAI API pricing) | Paid (ElevenLabs API pricing) |
+| **Offline support** | βœ… | βœ… | βœ… | ❌ | ❌ |
+| **No server needed** | ❌ | βœ… | βœ… | βœ… | βœ… |
+| **Convert function** | [`toCaptions()`](/docs/install-whisper-cpp/to-captions) | [`toCaptions()`](/docs/whisper-webgpu/to-captions) | [`toCaptions()`](/docs/whisper-web/to-captions) | [`openaiWhisperApiToCaptions()`](/docs/openai-whisper/openai-whisper-api-to-captions) | [`elevenLabsTranscriptToCaptions()`](/docs/elevenlabs/elevenlabs-transcript-to-captions) |
## The `Caption` type