Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Document the AssemblyAI connector in the README provider list, installation guide, features overview, and custom-connectors note

Murtaza Nasir43f398107859
diff --git a/README.md b/README.md
index c484c422..f5af0cdd 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Speakr turns a recording into organized, searchable, shareable knowledge. Here i
- **Hands-off intake** - a watched "black hole" folder auto-imports and processes any audio dropped into it.
### Transcribe
-- **Bring your own engine** - self-hosted WhisperX (recommended; it is what enables the speaker features below), OpenAI, Mistral / Voxtral, or any custom ASR webservice. The right connector is auto-detected from your configuration.
+- **Bring your own engine** - self-hosted WhisperX (recommended; it is what enables the speaker features below), OpenAI, Mistral / Voxtral, AssemblyAI, or any custom ASR webservice. The right connector is auto-detected from your configuration.
- **Speaker diarization** - automatic who-said-what labeling (WhisperX, or OpenAI's diarizing models).
- **Voice profiles** - recognize the same person across different recordings via voice embeddings (requires the WhisperX ASR backend).
- **Custom vocabulary and hotwords** (most effective with the WhisperX backend) - bias the transcriber toward names, jargon, and acronyms it would otherwise mishear; configurable globally or per tag / folder.
@@ -149,6 +149,7 @@ Speakr uses a **connector-based architecture** that auto-detects your transcript
| **WhisperX ASR** | GPU container | Yes (best quality) | Yes |
| **Mistral Voxtral** | Just API key | Yes (built-in) | No |
| **VibeVoice ASR** | Self-hosted (vLLM) | Yes (built-in) | No |
+| **AssemblyAI** | Just API key | Yes (built-in) | No |
| **Legacy Whisper** | Just API key | No | No |
**Simplest setup (OpenAI with diarization):**
@@ -177,6 +178,13 @@ TRANSCRIPTION_CONNECTOR=vibevoice
TRANSCRIPTION_BASE_URL=http://your-vllm-server:8000
TRANSCRIPTION_MODEL=vibevoice
```
+
+**AssemblyAI (cloud diarization, long multi-speaker meetings):**
+```bash
+TRANSCRIPTION_CONNECTOR=assemblyai
+TRANSCRIPTION_API_KEY=your-assemblyai-key
+```
+Handles multi-hour, multi-speaker files in a single job. New accounts get free credits with no card required.
Requires [VibeVoice](https://huggingface.co/microsoft/VibeVoice-ASR) served via vLLM with GPU.
> **PyTorch 2.6 Users:** If you encounter a "Weights only load failed" error with WhisperX, add `TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=true` to your ASR container. See [troubleshooting](https://murtaza-nasir.github.io/speakr/troubleshooting#pytorch-26-weights-loading-error-whisperx-asr-service) for details.
diff --git a/docs/advanced/custom-connectors.md b/docs/advanced/custom-connectors.md
index 9ec5145c..251be918 100644
--- a/docs/advanced/custom-connectors.md
+++ b/docs/advanced/custom-connectors.md
@@ -1,6 +1,6 @@
# Creating Custom Transcription Connectors
-This guide explains how to create custom transcription connectors for Speakr. Connectors allow you to integrate new transcription providers like Deepgram, AssemblyAI, Google Cloud Speech-to-Text, or your own custom services.
+This guide explains how to create custom transcription connectors for Speakr. Connectors allow you to integrate new transcription providers like Deepgram, Google Cloud Speech-to-Text, or your own custom services. (AssemblyAI is already built in; see the [installation guide](../getting-started/installation.md#for-assemblyai-cloud-based-diarization). Its connector is a good reference example for an async upload-and-poll provider.)
## Architecture Overview
diff --git a/docs/features.md b/docs/features.md
index 4589debc..052685ff 100644
--- a/docs/features.md
+++ b/docs/features.md
@@ -24,7 +24,7 @@ An opt-in mode (`ENABLE_SERVER_RECORDING_CHUNKS`) streams in-app recording chunk
### Multi-Engine Support
-Speakr supports multiple transcription engines to match your needs and budget. Use [OpenAI's Whisper API](getting-started.md#option-a-openai-whisper-configuration) for quick, cloud-based transcription with excellent accuracy. Deploy the [recommended ASR container](getting-started.md#option-b-custom-asr-endpoint-configuration) for advanced features like speaker diarization and local processing. Use [Mistral Voxtral](getting-started/installation.md#for-mistral-voxtral-cloud-based-diarization) for cloud-based diarization via the Mistral API, or run [VibeVoice ASR](getting-started/installation.md#for-vibevoice-asr-self-hosted-via-vllm) on your own hardware for fully self-hosted transcription with diarization. See the [installation guide](getting-started/installation.md) for detailed setup instructions. The system automatically handles different audio formats, converting them as needed for optimal transcription quality.
+Speakr supports multiple transcription engines to match your needs and budget. Use [OpenAI's Whisper API](getting-started.md#option-a-openai-whisper-configuration) for quick, cloud-based transcription with excellent accuracy. Deploy the [recommended ASR container](getting-started.md#option-b-custom-asr-endpoint-configuration) for advanced features like speaker diarization and local processing. Use [Mistral Voxtral](getting-started/installation.md#for-mistral-voxtral-cloud-based-diarization) for cloud-based diarization via the Mistral API, or run [VibeVoice ASR](getting-started/installation.md#for-vibevoice-asr-self-hosted-via-vllm) on your own hardware for fully self-hosted transcription with diarization. For long, multi-speaker meetings, [AssemblyAI](getting-started/installation.md#for-assemblyai-cloud-based-diarization) offers cloud diarization and handles multi-hour files in a single job. See the [installation guide](getting-started/installation.md) for detailed setup instructions. The system automatically handles different audio formats, converting them as needed for optimal transcription quality.
### Speaker Diarization
diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md
index 8299654e..fbf5f9d1 100644
--- a/docs/getting-started/installation.md
+++ b/docs/getting-started/installation.md
@@ -224,6 +224,17 @@ TRANSCRIPTION_MODEL=vibevoice
If your vLLM server requires authentication, also set `TRANSCRIPTION_API_KEY`. Configure the text generation model as described above for summaries and chat features.
+#### For AssemblyAI (Cloud-Based Diarization)
+
+AssemblyAI is a cloud transcription provider with strong speaker diarization on long, multi-speaker recordings. It is not OpenAI-compatible (it uses its own asynchronous upload-and-poll API), so it has a dedicated connector. It ingests files up to 10 hours in a single job, so the app does not chunk for it. New accounts get free credits and no credit card is required to create an API key.
+
+```bash
+TRANSCRIPTION_CONNECTOR=assemblyai
+TRANSCRIPTION_API_KEY=your-assemblyai-api-key
+```
+
+The AssemblyAI endpoint is fixed, so the shared `TRANSCRIPTION_BASE_URL` and `TRANSCRIPTION_MODEL` are intentionally ignored for this connector (a leftover value from another connector will not misroute requests). To pin a speech model, set `ASSEMBLYAI_SPEECH_MODEL` (for example `universal-3-pro`); omit it to use your account default. Speaker diarization and hotwords come from each user's settings (hotwords map to AssemblyAI's word boost). Configure the text generation model as described above for summaries and chat features.
+
### Step 4: Configure System Settings
One of Speakr's conveniences is automatic admin account creation. Instead of going through a registration process, you define the admin credentials in your environment file, and Speakr creates the account automatically on first startup. This ensures you can log in immediately without any additional setup steps: