DeepSeek STT Integration
AstrBot can use the official DeepSeek ASR API to transcribe user audio before passing the text to the configured chat model. Speech recognition is independent of the chat model, so you can use a chat model from another provider.
Get an API Key
Sign in to the DeepSeek Platform and create a key on the API Keys page.
Add the Provider
- Open the AstrBot dashboard and go to Providers → Speech to Text → Add.
- Select DeepSeek STT(API).
- Fill in and save the following settings, then enable the provider:
| Setting | Description |
|---|---|
| API Key | The key created on the DeepSeek Platform |
| API Base URL | Defaults to https://api.deepseek.com/v1. AstrBot appends /tools/asr; do not add another /v1 suffix |
| Timeout, proxy, custom headers | Optional network settings |
No model name or language parameter is required. The API detects the spoken language automatically.
Enable Speech Recognition
- Open Config Files and select the configuration to use.
- Under AI → Models, enable Speech Recognition.
- Select the new DeepSeek STT provider as the Default Speech-to-Text Model and save.
When a voice message arrives, AstrBot transcribes it and sends the resulting text to the current chat model as the user's message.
Audio Requirements and Limits
- Uploads are limited to 8 MiB and 120 seconds. Oversized audio must be shortened before sending.
- AstrBot converts unsupported audio to mono 16 kHz, 16-bit PCM WAV. Install ffmpeg for formats such as AMR; SILK conversion uses the bundled
silk-pythondependency. - Recognition is not streamed. For stereo WAV, only the left channel is recognized.
See the DeepSeek ASR documentation for supported formats and account limits.