Skip to content

en providers deepseek stt

github-actions[bot] edited this page Nov 15, 2026 · 2 revisions

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

  1. Open the AstrBot dashboard and go to Providers → Speech to Text → Add.
  2. Select DeepSeek STT(API).
  3. 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

  1. Open Config Files and select the configuration to use.
  2. Under AI → Models, enable Speech Recognition.
  3. 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-python dependency.
  • Recognition is not streamed. For stereo WAV, only the left channel is recognized.

See the DeepSeek ASR documentation for supported formats and account limits.

Chinese

English

Clone this wiki locally