GoogleVoice
Gemini 3.1 Flash TTS
Speech directed in plain words, with 30 voices.
voice/gemini-3.1-flash-ttsGemini 3.1 Flash TTS
Voice
- Price
- 4.2 credits / minute
- Typical time
- about 4 s
- Makes
- Text to speech
Best for
Gemini 3.1 Flash TTS is the Gemini speech model before 3.8. You direct the delivery in plain words beside the line, and pick one of 30 voices.
- Story lines with directed delivery: whispered, tense, cheerful.
- Narration in many languages.
- Quick voice drafts for every character.
Put it together
Where Gemini 3.1 Flash 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 | Gemini 3.1 Flash TTS | 4.2 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/gemini-3.1-flash-tts \
--input '{"text":"The gate opens at dawn. Bring the lantern.","voiceId":"Kore"}' \
--download .voice/gemini-3.1-flash-tts: $0.05 per 1,000 characters. Paid from your Summer credits.
Inputs
What input takes for voice/gemini-3.1-flash-tts. 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 Gemini 3.1 Flash TTS good for in game development?
- Gemini 3.1 Flash TTS is the Gemini speech model before 3.8. You direct the delivery in plain words beside the line, and pick one of 30 voices. Typical game uses: story lines with directed delivery: whispered, tense, cheerful; narration in many languages; quick voice drafts for every character.
- How much does Gemini 3.1 Flash TTS cost in Summer?
- Gemini 3.1 Flash TTS costs 4.2 credits / minute in Summer Studio. It is charged from your Summer credits.
- What kind of audio can Gemini 3.1 Flash TTS make?
- In Summer, Gemini 3.1 Flash TTS is used for text to speech.
- Can I use Gemini 3.1 Flash 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: "gemini-3.1-flash-tts". Setup instructions are at summerengine.com/mcp.
- Where do Gemini 3.1 Flash 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.

