Text to Speech
Connect the speech overlay in OBS, pick a voice tier, customize the !s command and AST speech functions, and manage filters, queues, and AI credits.
Text to speech (TTS) lets your stream hear viewer messages out loud. Viewers can trigger it with the !s chat command, and you can build speech right into custom commands and Channel Points rewards using AST functions. Audio plays out of an OBS Browser Source so it lands straight in your stream mix.
- Permissions: Only the channel owner or an admin with
tts:managecan edit TTS settings. Admins withtts:viewcan inspect the page without making changes. - Plan access: Every plan can use the available voice tiers; speech usage draws from your monthly AI credits.
Connect the speech overlay
Section titled “Connect the speech overlay”- Open Modules → Text to Speech and flip on Enable channel TTS.
- In the Speech URL card, click Copy URL.
- Add a Browser Source in OBS with that URL, and keep it active whenever you want speech to play.
- Confirm the bot is connected (your dashboard header reads Bot in your chat) and that the Speech Chat command (
!s) is enabled under Commands. Send!s Hello chat!in Twitch chat to verify everything works—!sworks even if you haven’t activated the bot yet.
When no copy of the speech URL is connected, incoming requests are turned away with "Speech overlay is not connected." Any messages already queued wait patiently until a copy reconnects.
You’re free to keep the speech URL open in multiple places at once—say, two OBS browser sources, a second PC, or a regular browser tab. Each open copy reports whether it’s currently visible, running inside OBS, and allowed to play audio.
By default, Play on every open copy inside the Speech URL card is turned off so each message plays on a single copy that can actually produce sound. DomDimaBot prefers visible OBS sources currently in program output, leaving hidden OBS sources, browser tabs still waiting for a click or tap to unlock audio, and copies that recently errored out as last resorts. Flip Play on every open copy on if you want every open instance to speak simultaneously (for instance, OBS plus a second PC). In that mode, the next queued message waits for every copy that started speaking to finish, and any copy that never begins is stopped. You can also ask the Dima assistant to toggle this setting for you.
The card displays Open in N places along with live health warnings, refreshing every 10 seconds. It flags hidden OBS sources (move them into your live scene with the eye icon enabled, or delete them), browser tabs waiting for a click or tap, copies that recently failed playback, and outdated copies that can’t report status—just refresh the OBS browser source to update an older copy. If you’re in one-copy mode and have more than one instance open, the card will suggest removing accidental duplicates.
If OBS stays silent, place the TTS browser source in your active streaming scene—or in a shared scene nested inside all your scenes—with its eye icon turned on. OBS won’t start audio for a browser source that’s hidden or not in the active scene. Avoid testing in a phone browser or regular browser tab, since browsers often block audio until you tap or click the page. After this update, refresh the browser source in OBS once so it can report status properly.
Choose a voice tier
Section titled “Choose a voice tier”In Modules → Text to Speech → Voice, choose the Voice tier. It applies to !s and $(tts ...) on every plan. Quality can’t be selected yet.
| Tier | Voices | Cost | Voice tags |
|---|---|---|---|
| Standard | Default for every channel; preset voices from DomDimaBot’s own speech server (Japanese and Chinese voices from a backup provider). | 1 credit per 15 characters, rounded up. | Removed. |
| Quality | Coming soon. | Not available yet. | Not available yet. |
| AI Voices | Cloned voices: four built-ins, saved favorites, or a 32-character hexadecimal voice ID. | 1.5 credits per character, rounded up. | Supported. |
Standard
Section titled “Standard”Choose the channel’s Default language (English or Spanish) and, under Standard voice, the Voice: Female or Male. New channels start on Male.
!s and $(tts ...) speak in the channel’s default language; they don’t detect the language of each message. One Female/Male choice covers both languages: a DimaFX item set to the other language with Channel voice (from Text to Speech) uses the same gender in that language.
| Language | Female | Male |
|---|---|---|
| English | Heart (af_heart) | Michael (am_michael) |
| Spanish | Dora (ef_dora) | Alex (em_alex) |
Optionally open Other voice and pick another Standard voice. Voices are available for US and UK English, Spanish, French, Hindi, Italian, Portuguese, Japanese, and Chinese. An English or Spanish other voice replaces your Female/Male voice only in its own language. For example, with Spanish as the default language, Santa (em_santa) speaks !s messages, while a DimaFX item set to English keeps your Female/Male English voice. An other voice in any other language replaces the voice of the channel’s default language.
Standard keeps speaking when credits run out, even if the balance goes below zero. Japanese and Chinese voices always come from a backup provider; for every other voice, if the speech server is busy or can’t speak a line, the backup provider speaks it with the same voice.
AI Voices
Section titled “AI Voices”AI Voices supports cloned voices and is the only tier that reads voice tags. The four built-in voices are gojo, rias_gremory, toji_fushiguro, and carlos_bodoque.
Find and save AI voices
Section titled “Find and save AI voices”Click Find voice to browse the catalog. Listening to catalog samples is free; generating a preview costs the normal speech rate.
Click the star to save a favorite (up to 20 per channel). It gets a nickname from its display name, such as pinky_pie (or pinky_pie_2 if that one is taken). To change it, click Edit nickname:
- Use 1–40 letters (a–z, no accents), numbers, or underscores, starting with a letter.
- Nicknames are case-insensitive and stored in lowercase. They must be unique and cannot reuse a built-in voice name.
Only the channel owner and admins with tts:manage can manage favorites. $(tts.ai voice:bodoquin &t) uses a favorite nickname; $(set.voice ...) also accepts its full display name, including spaces.
The !s chat command
Section titled “The !s chat command”Usage: !s <message>
!s is a regular AST command that speaks through your channel’s default tier and voice. Out of the box, the Speech Chat command is enabled for everyone with zero cooldown.
Its default template is:
$(tts $(user) dice: &t)That reads the viewer’s username, followed by dice:, and then their message. Want different wording? Edit Speech Chat under Commands or directly from the TTS page. Changing your channel language switches the voice, not the command template itself.
!s Hello chat, welcome to the stream!Every chat message runs through your message filters first; if nothing readable survives filtering, the request is rejected.
Cooldowns: Speech Chat comes with a 0-second cooldown, and each channel may keep only one editable command at 0 seconds. All other commands require a minimum cooldown of 5 seconds on Free, 3 seconds on Premium, or 1 second on Pro.
AST speech functions
Section titled “AST speech functions”Drop these functions into custom commands, timers, and Channel Points rewards. See Advanced commands for AST syntax.
| Function | What it does |
|---|---|
$(tts message) | Uses the channel’s default tier. |
$(tts.standard message) | Uses Standard with the channel’s Standard voice (Female/Male, or the Other voice) in the channel’s default language. Put a Standard voice ID first to choose a voice: $(tts.standard ef_dora message). |
$(tts.quality message) | Quality is coming soon. Queues nothing, spends no credits, and replies “Quality voices are coming soon.” (or its Spanish equivalent based on the channel language); it never falls back to Standard. |
$(tts.ai message) | Uses the default AI voice. To choose a voice, add voice: and a built-in name, favorite nickname, or 32-character hexadecimal voice ID: $(tts.ai voice:gojo message). An unknown name or ID is refused and nothing plays. A plain first word is always part of the message. |
$(set.voice name) | Changes the default AI voice and selects AI Voices. Accepts a built-in name, favorite nickname, or favorite display name. In AI chat it requires moderator access; set custom command permissions carefully because it changes a channel-wide setting. |
Older functions still work: $(tts.speak …) and $(tts.piper …) use Standard; $(tts.kokoro voice_id …) uses Standard with that ID; $(tts.clone voice …) and $(tts.fish voice …) use AI Voices with that voice.
Commands that read viewer input via &t pair well with Channel Points rewards that enable Viewer must type something. See Channel Rewards.
Need status or playback controls like $(tts.status), $(tts.connected), $(tts.queue.length), skip, clear, or refresh? Check TTS status and controls.
How the queue and overlay handle playback
Section titled “How the queue and overlay handle playback”- Messages play strictly in order, one at a time per channel.
- Maximum messages waiting includes the message currently speaking—with the default of 5, one plays while up to four wait in line.
- With zero copies connected, new speech requests are refused, though anything already queued stays put until a copy reconnects.
- In one-copy mode, if playback fails before any audio is heard—because the copy can’t play, audio fails to load or stalls, playback doesn’t begin within a few seconds of downloading, or the copy closes—the same message moves to the next copy that can play it. Up to three copies can try a single message, and because the audio is already generated, retries cost zero extra voice credits.
- A message is never replayed after it starts playing—even if a disconnect happens mid-sentence.
Message filters and limits
Section titled “Message filters and limits”Tune these rules under Modules → Text to Speech → Message limits:
| Setting | Default | Range | What it does |
|---|---|---|---|
| Maximum characters per message | 280 | 30–500 | Trims longer messages down to this character count. |
| Maximum messages waiting | 5 | 1–20 | Total queue capacity, including the active message. |
| Skip emotes | On | Strips emote names before speaking. | |
| Links become [link] | On | Swaps URLs for [link] so voices don’t spell out web addresses. | |
| Tidy extra spaces | On | Collapses repeated whitespace. |
Filters run on both chat commands and AST speech, and voice tags are processed before the character limit kicks in.
Voice tags (AI Voices only)
Section titled “Voice tags (AI Voices only)”With AI Voices, adding square-bracket tags adjusts how a line is delivered:
!s [happy] Great stream today!!s [whisper] [pause] Can you keep a secret?$(tts.ai voice:gojo [excited] Let's go!)Channel owners and admins with tts:manage can enable or disable individual tags under Modules → Text to Speech → Voice tags (every tag starts enabled). Any disabled or unrecognized tag is stripped before synthesis. Standard strips all tags automatically and reads the remaining text normally.
Supported tags:
Emotions
Section titled “Emotions”[happy] [sad] [angry] [excited] [calm] [nervous] [confident] [surprised] [scared] [worried] [disappointed] [curious] [sarcastic] [satisfied] [delighted] [upset] [frustrated] [depressed] [empathetic] [embarrassed] [disgusted] [moved] [proud] [relaxed] [grateful] [disdainful] [unhappy] [anxious] [hysterical] [indifferent] [uncertain] [doubtful] [confused] [regretful] [guilty] [ashamed] [jealous] [envious] [hopeful] [optimistic] [pessimistic] [nostalgic] [lonely] [bored] [contemptuous] [sympathetic] [compassionate] [determined] [resigned]
Voice and delivery
Section titled “Voice and delivery”[whisper] [shouting] [soft] [singing] [slow] [fast] [emphasis] [screaming]
Vocal sounds
Section titled “Vocal sounds”[laugh] [chuckle] [giggle] [cry] [sigh] [gasp] [inhale] [exhale] [sobbing] [groaning] [panting] [yawning] [snoring] [clear throat]
Pauses and effects
Section titled “Pauses and effects”[pause] [long-pause] [audience laughing] [background laughter]
Several shorthand aliases work too—[anger] maps to [angry], [whispering] to [whisper], [laughing] to [laugh], and [crowd laughing] to [audience laughing]. Disabling a tag disables its aliases as well.
Admin permissions
Section titled “Admin permissions”Channel owners always have full TTS control. For channel admins, permissions are split cleanly:
tts:view— view TTS settings without editing them.tts:manage— edit settings, manage AI voice favorites, and generate voice previews (includestts:view).commands:manage— edit the Speech Chat!scommand, without access to TTS settings.*— full access to both TTS and commands.
You can mix these with chat:admin—for example, letting a moderator manage chat while only viewing TTS settings.
AI credits and fallbacks
Section titled “AI credits and fallbacks”All AI features on your channel pull from one shared monthly pool of AI credits:
| Plan | Monthly AI credits |
|---|---|
| Free | 25,000 |
| Premium | 200,000 |
| Pro | 800,000 |
Per-message and preview costs:
- Standard: 1 credit per 15 characters, rounded up. Standard speech and previews keep working at zero credits, even if the balance goes below zero.
- AI Voices: 1.5 credits per character, rounded up. Previews cost the same as normal speech and need enough credits; an AI voice preview never falls back to Standard.
- Quality: Coming soon.
On every plan, if AI credits run out, the balance cannot be verified, or an AI voice fails while speaking, the message uses Standard instead and voice tags are removed. The saved default voice is unchanged. If the Standard server is busy or can’t speak a line, a backup provider speaks with the same voice.
For broader channel configuration, head to the dashboard guide.