Contents
Grok text to speech turns written text into spoken audio with a single API call, and the feature that separates it from a standard voice generator is control. Inline speech tags let you place a laugh, a whisper, or a pause exactly where you want one, so delivery stops being something you hope for and becomes something you write. xAI released it on April 17, 2026 alongside Grok Speech to Text, built on the same stack that runs Grok Voice, Tesla vehicles, and Starlink customer support.
Grok TTS is available in the Picsart AI Playground, so trying it takes a prompt rather than an API key. Every technical detail below comes from xAI’s own documentation.
Grok text to speech at a glance
| Spec | Detail |
|---|---|
| Developer | xAI |
| Released | April 17, 2026 |
| Two ways in | A standard request for finished audio, or streaming for real time |
| Max text | 15,000 characters per standard request |
| Languages | 20, plus auto-detect |
| Voices on Picsart | 5 |
| Price via xAI | $15.00 per 1 million characters |
| Price via Picsart | 1 credit per 1,000 characters |
What is Grok text to speech?
Grok text to speech, also called Grok TTS, is a standalone audio API from xAI that converts text into spoken audio. It arrived as one half of a pair, with Grok Speech to Text handling transcription in the other direction, and it is aimed at voice agents, accessibility tools, podcasts, and interactive audio.
There are two ways in. The standard one takes a block of text and hands back a finished audio file. The streaming one sends audio back while the text is still arriving, which is what live voice assistants need.
Either way, the request is short. You supply the words, the language, and the voice, and audio comes back. Everything else has a sensible default.
Two things are required: the words you want spoken, up to 15,000 characters, and the language they should be read in. Everything else is optional.
- Voice. Which of the built-in voices reads the script, Eve by default.
- Output format. The file type and audio quality, MP3 at 24 kHz by default.
- Speed. Anywhere from 0.7 to 1.5, with 1.0 as normal.
- Symbols as words. Numbers, abbreviations, and symbols get spoken out in full. Off by default.
- Timestamps. The exact timing of every character comes back with the audio. Off by default.
Most text-to-speech systems give you a voice and a speed slider. Grok TTS gives you a markup layer inside the text itself, and it comes in two forms.
Write “So I walked in and [pause] there it was. [laugh] I honestly could not believe it!” and the beat and the laugh land exactly where the sentence needs them.
Inline tags sit in square brackets and fire a single expression at the exact point you drop them in. They cover pauses, laughter and crying, mouth sounds, and breathing, with tags such as pause, long-pause, and laugh.
Wrapping tags go around a stretch of text and change how that whole section is delivered, opening and closing around it. They cover volume and intensity, pitch and speed, and vocal style, with tags such as whisper, slow, and soft. Wrap one sentence in a whisper and the volume drops for that line alone, then returns to normal.
xAI’s guidance is specific. Place inline tags where the expression would naturally happen in speech rather than scattering them. Combine them with punctuation, since “Really? [laugh] That’s incredible!” beats stacking tags together. Reach for a pause to let a thought land. Wrap complete phrases rather than single words. Tags can also be nested, so a slow tag and a soft tag together give one line both qualities.
Voices and voice cloning
Every built-in voice has its own personality, and Picsart exposes five of them in the AI Playground. xAI keeps the full roster behind a list-voices endpoint rather than publishing it in the docs, so the lineup can grow without breaking anything already built on it.
Custom voices go further. A voice can be cloned from a short reference clip through the Custom Voices API, or created for free in the xAI console, then picked from the list exactly like a built-in one. Cloning a voice you do not have permission to use is the obvious thing to avoid here, and consent from the speaker matters as much as the technical setup.
Supported languages
Grok TTS reads 20 languages, and it can detect which one you have written in rather than making you declare it.
The list covers English, Arabic in Egyptian, Saudi, and Emirati variants, Bengali, Chinese (Simplified), French, German, Hindi, Indonesian, Italian, Japanese, Korean, Portuguese in Brazilian and European variants, Russian, Spanish in Mexican and Castilian variants, Turkish, and Vietnamese.
xAI notes that the model can produce speech in languages beyond that list with varying accuracy, so treat anything outside the 20 as worth testing before it ships. In the Picsart AI Playground the language sits next to a separate accent control, so English can be set to American rather than left generic.
Output formats and audio quality
Output settings decide what kind of file comes back. A podcast, a website, and a phone system each want something different, and the defaults are tuned for the web.
Choose a file type
- MP3 for general use and web playback, the widest compatibility
- WAV for lossless audio heading into an edit
- PCM for raw audio in real-time processing
- mulaw and alaw for phone systems
Choose the audio quality
- Sample rate: 8, 16, 22.05, 24, 44.1, or 48 kHz, defaulting to 24 kHz
- Bit rate, MP3 only: 32, 64, 96, 128, or 192 kbps, defaulting to 128 kbps
Higher numbers mean better sound and bigger files. xAI’s rule of thumb pairs 8 kHz with phone systems, 24 kHz with the web, and 44.1 kHz or higher with anything heading into an edit.
Timestamps for captions and lip sync
Switch timestamps on and Grok TTS reports the exact moment every single character is spoken. That is the difference between captions that drift and captions that land on the right word, and it is what makes karaoke highlights and lip sync possible without guesswork.
The response changes shape when you do this. Instead of a plain audio file, you get a data package with the audio tucked inside it, so saving the file takes one extra step in code.
One quirk is worth knowing. The timing list mirrors your text character for character, including spaces, punctuation, and the speech tags themselves. A token spoken as several words puts its whole span on the first character, so $5 read aloud as “five dollars” hangs all of that time on the $. Read the list in order rather than matching it against positions in your original text.
Streaming for live voice agents
The streaming endpoint is for anything that talks back. Text goes in piece by piece and audio comes back the same way, so the voice starts speaking before the sentence is finished. That removes the pause that makes an assistant feel slow, and it lifts the length cap that applies to a standard request.
| Limit | Standard endpoint | Streaming endpoint |
|---|---|---|
| Max text length | 15,000 characters per request | No total limit, 15,000 per chunk |
| Request timeout | 15 minutes | None, the connection stays open |
| Concurrent sessions | Not applicable | 50 per team |
Two behaviors make it work for real conversations. The connection stays open between turns, so a back-and-forth exchange never reconnects, and nothing from one answer bleeds into the next.
The second is interruption. A single cancel message stops the voice mid-sentence and readies it for whatever the user says instead, saving roughly 600 milliseconds every time somebody cuts in. Anyone who has talked over a voice assistant and waited for it to finish knows why that matters.
Grok TTS pricing
Pricing is usage-based on both routes, with no tiers to compare and no surcharge for picking a particular voice. A 1,000-word script runs somewhere near 6,000 characters, so a million characters covers roughly 160 scripts of that length.
- Through xAI: $15.00 per 1 million characters, with streaming billed on total input characters.
- Through the Picsart AI Playground: 1 credit per 1,000 characters, on the same balance as the image and video models.
Getting better output
A few habits raise quality more than any parameter change.
- Punctuate naturally. Commas, periods, and question marks drive pacing and intonation. “Wait, really?” lands better than “Wait really”.
- Let punctuation carry emotion. “That’s amazing!” reads enthusiastic while “That’s amazing.” reads flat, with no tag required.
- Break long text into paragraphs. Paragraph breaks create natural pauses and hold quality steady across longer scripts.
- Split long scripts. Past the character cap, stream instead, or segment by paragraph and join the audio.
- Keep the API key server-side. Calling the endpoint from a browser exposes the key, so proxy requests through a backend.
- Cache repeated audio. Text that gets requested more than once should be stored rather than regenerated.
How to use Grok text to speech on Picsart
Grok TTS is an API first, which means a key, a backend, and code to handle the response. The Picsart AI Playground skips all of that. Grok TTS sits in the Audio mode there with five voices and multilingual support, carrying a Fast label, so a script becomes a voiceover without a single line of code.
To generate one:
- Open the AI Playground and switch the mode selector to Audio.
- Choose Grok TTS from the model dropdown.
- Set the language and the accent, such as English and American.
- Pick a voice, such as Eve.
- Type or paste the script into the prompt bar and generate.
The accent selector is worth pausing on, because it sits alongside the language rather than inside it. Picking English still leaves the choice of how that English sounds, which is the difference between a voiceover that fits an audience and one that merely speaks their language.
Everything then lands in the same workspace as the editing tools, so narration goes onto a timeline without a download and a re-import. The model browser also has a Compare toggle, and the Audio tab holds eleven voice models, so hearing the same line read two ways takes one toggle rather than two accounts.
Get answers to common questions
Grok text to speech is xAI’s model for turning written text into spoken audio, released on April 17, 2026. Its distinguishing feature is speech tags, which let you script laughter, pauses, and whispers into the text itself.
Turn a script into a voiceover
Grok text to speech goes well past basic narration, with speech tags, custom voices, and character-level timestamps that give you control over how a line actually lands. Open the Picsart AI Playground, switch to Audio, pick Grok TTS, and hear your script read back in a voice you chose.