xAIVoice
xAI TTS
Grok's expressive voices, with laugh, sigh and pause tags.
voice/xai-tts-v1
Captain Ara
Commander, the portal is stable. [pause] Whatever is waiting on the other side, [sigh] we face it together.
- Price
- 1.3 credits / minute
- Typical time
- about 4 s
- Makes
- Text to speech
Best for
xAI TTS is the speech model behind Grok's voices. It offers 28 voices in 21 languages and reads inline tags such as laugh, sigh and pause as delivery, and it is one of the lowest priced models here.
- Lively companion and sidekick chatter.
- Long scripts such as lore entries and journals, up to 15,000 characters at a time.
- Multilingual voice lines from the same voice.
Put it together
Where xAI TTS fits in a game, with the models it works well with. Your agent runs every step.
A talking character
A portrait that speaks its lines in its own voice.
Price
| Mode | Model | Price |
|---|---|---|
| Text to speech | xAI TTS | 1.3 credits / minute |
Paid from your Summer credits.
Use it from code or your agent
Sign in once with summer login. Your agent or your code then runs it with your paid credits.
npx -y summer-engine@latest login
npx -y summer-engine@latest api run voice/xai-tts-v1 \
--input '{"text":"The gate opens at dawn. Bring the lantern.","voiceId":"eve"}' \
--download .voice/xai-tts-v1: $0.015 per 1,000 characters. Paid from your Summer credits.
Inputs
What input takes for voice/xai-tts-v1. Send only what you need; Summer fills in tested defaults.
textstringRequired · up to 5000 charactersThe words to speak, at most 5000 characters.
voiceIdstringup to 100 charactersSpeech: a voice of the game cast.
voiceSettingsobjectSpeech: voice tuning.
Show 5 child parameters
voiceSettings.stabilitynumber0 to 1voiceSettings.similarityBoostnumber0 to 1voiceSettings.stylenumber0 to 1voiceSettings.speednumber0.7 to 1.2voiceSettings.useSpeakerBoostboolean
Model docs · Summer API docs · Set up the Summer MCP server · Try it in the browser
Questions
- What is xAI TTS good for in game development?
- xAI TTS is the speech model behind Grok's voices. It offers 28 voices in 21 languages and reads inline tags such as laugh, sigh and pause as delivery, and it is one of the lowest priced models here. Typical game uses: lively companion and sidekick chatter; long scripts such as lore entries and journals, up to 15,000 characters at a time; multilingual voice lines from the same voice.
- How much does xAI TTS cost in Summer?
- xAI TTS costs 1.3 credits / minute in Summer Studio. It is charged from your Summer credits.
- What kind of audio can xAI TTS make?
- In Summer, xAI TTS is used for text to speech.
- Can I use xAI TTS from Claude Code, Cursor or Codex?
- Yes. Connect the Summer MCP server to Claude Code, Cursor, Codex or another MCP client, then ask your agent to generate with summer_generate_audio with capability: "text_to_speech", modelId: "xai-tts-v1". Setup instructions are at summerengine.com/mcp.
- Where do xAI TTS results go?
- Every generation is saved to your Summer asset library. From there you can download it or bring it into a Summer Engine project.