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

# Use Text-to-speech

Text -to-speech allows you to set up a unique voice for the AI assistant so it can convert written words into speech and communicate with you with its adjustable tone, clarity, and speed like a person.

## Step 1. Set up Text-to-speech

* Click on the **Settings** menu on the left panel
* Select **Text-to-speech** tab to set up a voice for the AI assistant

<img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/tts.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=ab504355880b803d9106cc5871e8aac8" alt="Tts" width="2368" height="1672" data-path="images/tts.webp" />

## Step 2. Select a speech provider

You need to choose a Speech API to enable text-to-speech feature, there’re currently 3 options from the drop-down options:

* Browser (Web Speech API)
* ElevenLabs
* OpenAI Text-to-speech

### **Browser (Web Speech API)**

This option doesn’t require an API key and can be used for free, just choose a voice and start a conversation.

<img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/browser-api.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=3bb0447385b8f0412d748a8982edcab1" alt="Browser Api" width="2368" height="1672" data-path="images/browser-api.webp" />

<Note>
  Please note that the available voices will also depend on the browser you are using.
</Note>

### **ElevenLabs**

To use voices on ElevenLabs, you will need an API key:

<img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/11labs.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=7e851f237a1b6cff40e13fe6d639ad7a" alt="11labs" width="2368" height="1672" data-path="images/11labs.webp" />

Here’s how to get the API key from ElevenLabs:

* Sign up for ElevenLabs: [https://elevenlabs.io/app/sign-up](https://elevenlabs.io/app/sign-up)
* Click on your profile picture on the bottom left corner of the app and select API keys (or you can directly go to [https://elevenlabs.io/app/settings/api-keys](https://elevenlabs.io/app/settings/api-keys))

<img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/11labs-apikey.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=dde25d18e458b782406c7fd2e8d4bd95" alt="11labs Apikey" width="1214" height="1608" data-path="images/11labs-apikey.webp" />

* Copy the API Key to TypingMind and click “Check key” to see if the key is working or not.

The ElevenLabs Text-to-speech provides different speech models that are optimized for different purposes. You can select the available models on TypingMind. Click on Advanced options to toggle more settings to select the ElevenLabs models:

<img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/11labs-model.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=a36234c0e8c88f416599746a0fae7341" alt="11labs Model" width="2368" height="1672" data-path="images/11labs-model.webp" />

Please check the details here: [https://elevenlabs.io/docs/speech-synthesis/models](https://elevenlabs.io/docs/speech-synthesis/models)

<Note>
  Please note that if your usage surpasses the free limit provided by ElevenLabs API, it is necessary to upgrade to a ElevenLabs’ paid plan.
</Note>

### **OpenAI Text-to-speech**

Use voices from OpenAI also requires an OpenAI API key:

<img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/openai-tts.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=7769c048e9a550292d10d81417e160c4" alt="Openai Tts" width="2368" height="1672" data-path="images/openai-tts.webp" />

This will use your OpenAI API key that you entered via Settings —> API Keys section. If you have already entered the API key outside, then there’s no settings needed for this.

## Step 3. Let the AI speak!

After you done the setup, you can start a conversation, when you receive the AI response, there will be a Play button right below the answer so you can play the audio for the AI assistant manually.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/text-to-speech/use-text-to-speech/Untitled.png" alt="Untitled" />

<Note>
  Please note that you can:

  * Enable/disable the Play button
  * Allow auto-play AI message so you don’t need to click manually

      <img src="https://mintcdn.com/typingmind/R1Xvq6ZobRomufvy/images/tts-options.webp?fit=max&auto=format&n=R1Xvq6ZobRomufvy&q=85&s=f9ea5181b019589c7f96fdfe7bff6b9c" alt="Tts Options" width="2368" height="1672" data-path="images/tts-options.webp" />
</Note>

And that’s it, you’re all set.
