Vibeleaderboard
← All Intel
Intel / post

How to steer Gemini 3.1 TTS delivery with inline audio tags

Source
x.com
Date
Google AI@GoogleAI

Last week, we launched Gemini 3.1 TTS, our latest and best text-to-speech model. This new model introduces [awe] audio tags, an intuitive way to guide vocal style, pace, and delivery. Here are some tips on the best ways to use audio tags in your prompts: 1. All inline tags must be enclosed in square brackets, such as [screams] or [whispers] 2. Insert these tags exactly where you want the transition to occur and make sure to avoid placing tags directly next to each other 3. Use tags like [slow] or [fast] to control the pace of the delivery, or even [short pause] or [long pause] to ramp up the anticipation in dramatic moments 4. The model also offers granular control over vocalizations, allowing you to direct the delivery with cues like [cackles] or [whispers] 5. An ideal audio tag formula could look something like: [encouraging] Let’s try that last sentence again to make sure that you nailed it. [slow] "L'oiseau s'est envolé." [short pause] Perfect! [laughs] You're a natural. No matter what you’re developing — from [scholarly] a language learning tool, to [mysterious] an interactive podcast app, to [friendly] more adaptive customer service offerings, and beyond — these…

Read the full post on X

Context

An audio tag in Gemini 3.1 TTS is an to the voice written into the script itself, and it takes effect where it sits. In a prompting thread posted a week after the launched, Google AI sets out the rules: each tag is a short cue enclosed in square brackets, placed exactly where the delivery should change, and tags should not sit directly next to one another. Cues can set the pace (slow or fast), insert a short or long pause to build anticipation, or call for a vocalization such as a laugh, a cackle or a whisper.

Google's worked example shows why placement matters. A language-tutor line opens with an encouraging tone, switches to slow delivery for the French phrase the learner is practicing, takes a short pause, and then marks a laugh after the praise. Because each tag marks a transition point, a single script can change its delivery several times without splitting it into separate requests.

This square-bracket style belongs to the 3.1 preview model, which arrived with tags across more than 70 languages (launch coverage). Google's later Gemini 3.8 TTS models, released in September, handle direction differently. According to the current speech generation docs, 3.8 treats the text strictly as a verbatim transcript, takes sustained directions such as whispering or speaking slowly in a separate style , and keeps inline tags, written in angle brackets, for momentary events like a laugh, a sigh or a pause. The docs present 3.8 Flash-Lite TTS as the replacement for the 3.1 preview, so scripts tagged the way this thread describes would need their sustained cues moved out of the text to carry over.

Terms in this piece · Glossary
  • Instruction — A statement in the context that tells the model how to behave or what to do; module 3's first layer.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Field — One named piece of a record, such as name or approved_on; a record is one entity's set of values, one per field.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Tools in this story
More from Google AI
Recommended reads