# Using Text-to-Speech

If you have at least one TTS command configured, a channel connected to VoxBot, and the browser source added to your streaming software you can send text-to-speech commands on your stream. If you stream on a platform that always has a chat available (like Twitch, Kick, Parti), you do not need to be live to send TTS messages. However, if you stream on a platform that only has a chat available while live (like YouTube, Rumble, TikTok) you do need to be live to use TTS.

### Sending a TTS Command

Any enabled TTS voice in your command list can be used to generate TTS messages. Type the command in chat followed by the message you want played through text-to-speech (for example, `!tts What game is this?`). Different commands can be used to trigger different TTS voices. There is no limit on the number of TTS commands you can have enabled.

After a TTS command is sent it will be automatically played through the browser source in your streaming software. Non AI messages are normally generated and played within a couple seconds. AI messages can take 1-2 seconds longer to be generated, although the length of the message can make this faster or slower. Typically all messages are generated and played on your stream within a few seconds of being sent in chat.

<figure><img src="/files/lktnR0WG8QcDOmD9ZqdT" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vox.bot/getting-started/using-text-to-speech.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
