DeepSeek TTS Integration
AstrBot can synthesize WAV speech with the official DeepSeek TTS API.
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 → Text to Speech → Add.
- Select DeepSeek TTS(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/tts; do not add another /v1 suffix |
| Voice | Stella (female, default) maps to stella; Tide (male) maps to tide |
| Filter Markdown | Removes Markdown formatting before synthesis; enabled by default |
| Timeout, proxy, custom headers | Optional network settings |
The output format is fixed to WAV, and no model name is required. The API detects the language from the text and does not expose language or speaking-rate settings.
Enable Voice Replies
- Open Config Files and select the configuration to use.
- Under AI → Models, enable Voice Replies.
- Select the new DeepSeek TTS provider as the Default Text-to-Speech Model and save.
AstrBot will then use its existing voice-reply flow to synthesize and send WAV audio through DeepSeek TTS.
Text Limits and Error Handling
Text must not be empty and is limited to 10,000 billable characters per request: Chinese characters count as 2 and other characters as 1. Shorten text that exceeds the limit. The request body is limited to 64 KiB.
See the DeepSeek TTS documentation for audio duration and account limits.