> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepSeek-TTS

Convert text into natural-sounding speech. There is no language parameter; the language is detected automatically from the text.

### Model parameters

* Model ID: `deepseek-tts`
* Model pricing: [DeepSeek-TTS](https://geekai.co/models/deepseek-tts)
* Endpoint: `https://geekai.co/api/v1/audio/speech`
* Model parameters: See the [Text-to-speech API guide](https://docs.geekai.co/en/api/audio/texttospeech.md)
* API authentication: [Get an API key](https://geekai.co/user/api_keys)

> [!NOTE]
>
> The following parameters from the public text-to-speech API are not supported:
>
> * `stream_format`
> * `speed`
> * `instructions`
>
> Also see the [official DeepSeek-TTS API documentation](https://api-docs.deepseek.com/guides/tts/).

### Pricing

DeepSeek-TTS is billed according to the number of input text characters:

| Model | Price (CNY/10,000 characters) |
| - | - |
| deepseek-tts | 3 |

When using GeekAI's [low-cost proxy channels](https://docs.geekai.co/en/docs/model_price.md), multiply the listed price for each parameter by its corresponding discount factor. For example, with the high-availability channel, the discount factor is `0.5`. Synthesizing 10,000 characters with `deepseek-tts` would cost `0.5 x 3 = 1.5` yuan. Apply the same calculation to other parameters.

### Speech synthesis

Use the `deepseek-tts` model for speech synthesis:

```bash theme={null}
curl https://geekai.co/api/v1/audio/speech \
  -H "Authorization: Bearer $GEEKAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-tts",
    "input": "Hello, I am DeepSeek"
  }' \
  --output speech.mp3
```

By default, the model returns generated audio as a binary WAV file. Use the `response_format` parameter to specify the output format. The available values are:

* `mp3`
* `wav`

You can also use the `voice` parameter to specify the voice ID. DeepSeek-TTS supports these preset voices:

* `stella` (default voice): Starfish, female voice
* `tide`: Dark Tide, male voice


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.