Spiral gives your agent every tool with one account. Browse the tools →

Gemini · AudioReleased 2026-04-15

How to Use Gemini 3.1 Flash TTS in Gemini

Gemini 3.1 Flash TTS turns finished scripts into expressive narration and dialogue. Its square-bracket audio tags let you change delivery at specific points in the script.

Prompts to try with Gemini 3.1 Flash TTS in Gemini

Copy an example into Gemini, or ask in your own words.

Use Gemini 3.1 Flash TTS to read this in a warm, unhurried tone: Welcome to the neighborhood. The library is across from the park, and the community garden is open every Saturday morning.

Gemini 3.1 Flash TTSGemini
Try asking
  • Write a six-turn Spanish dialogue between a café customer and a server, then voice it with Gemini 3.1 Flash TTS. Give the two speakers distinct voices and use a deliberate pace for a beginner listening lesson.

  • Use Gemini 3.1 Flash TTS to perform this short mystery scene with restrained suspense: The hallway was empty. [whispers] Someone had left the door unlocked. She checked the envelope again. Her name was on it.

  • Explain why bread rises in about 100 words, then narrate the explanation with Gemini 3.1 Flash TTS. Use a patient teacher's tone and keep the script free of headings and stage directions.

  • Write an eight-turn conversation in which a curious host asks an instructor how rainbows form. Use Gemini 3.1 Flash TTS to voice the finished dialogue with contrasting deliveries: an animated host and a measured instructor.

How to set up Gemini 3.1 Flash TTS in Gemini

Pick the way that suits you. Each takes about two minutes.

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Gemini 3.1 Flash TTS

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "fal-ai/gemini-3.1-flash-tts",
        "input": {
          "prompt": "I can'\''t believe it worked! [laughing] After all those hours of debugging [sigh] it was just a missing semicolon."
        }
      }'

Then paste one of the prompts above: Gemini finds Gemini 3.1 Flash TTS on Spiral, shows the price and runs it.

Gemini 3.1 Flash TTS providers and prices

Spiral runs Gemini 3.1 Flash TTS through fal. Open a card for today's price, with every fee included.

falAudio
Gemini 3.1 Flash Tts
fal-ai/gemini-3.1-flash-tts

Settings you can ask for

Gemini 3.1 Flash TTS works from your prompt and style instructions. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
VoiceAchernar, Achird, Algenib, Algieba, Alnilam, Aoede, Autonoe, Callirrhoe and 22 moreKore

Voice preset for single-speaker synthesis. 30 distinct voices are available. Ignored when speakers is set. Popular choices: Kore (strong, firm female), Puck (upbeat, lively male), Charon (calm, professional male), Zephyr (bright, clear female), Aoede (warm, melodic female).

Language codeArabic (Egypt), Bangla (Bangladesh), Dutch (Netherlands), English (India), English (US), French (France), German (Germany), Hindi (India) and 79 more

Language for multilingual synthesis. When set, steers the model to speak in the specified language. If not set, the model auto-detects the language from the text.

Temperature0 to 21

Controls the randomness of the speech output. Higher values produce more creative and varied delivery, while lower values make the output more predictable and focused.

Output formatwav, mp3, or ogg_opusmp3

Audio output format. mp3: compressed, small file size (recommended). wav: uncompressed PCM wrapped in WAV (24 kHz, 16-bit mono). ogg_opus: Ogg container with Opus codec, good quality-to-size ratio.

Every API field of Gemini 3.1 Flash Tts is on its tool page: open its card above.

What can you do with Gemini 3.1 Flash TTS in Gemini?

Create spoken explanations, short performances, and practice dialogues from text developed in conversation. Use Gemini 3.1 Flash TTS after the wording is settled so you can focus on the narrator's delivery.

Product walkthrough narration

Turn a short walkthrough script into spoken guidance. Give the narrator a measured delivery and review how product names and button labels sound.

Two-person explainers

Write an exchange between a curious host and a knowledgeable guest. Use distinct delivery directions to make questions and answers easy to follow.

Language lesson listening practice

Voice a prepared dialogue in the language being taught. Produce a deliberate reading for learners and a conversational reading for comparison.

Short story performances

Narrate a short scene with a clear overall mood. Place delivery cues at a reveal or a whispered line, then listen for directions that were accidentally spoken.

Spoken service notices

Create recordings from approved maintenance, delivery, or appointment notices. Direct a calm tone and review every date, time, and reference number.

Read-aloud articles

Produce narrated editions of edited articles or newsletters. Break longer pieces at section boundaries and check each recording against its script.

Game menu guidance

Voice written menu descriptions and tutorial instructions. Keep directions concise and use a consistent delivery brief across the recordings.

Training lesson narration

Turn approved lesson text into spoken instruction. Use a patient delivery for explanations and create separate recordings for each topic.

Questions about Gemini 3.1 Flash TTS in Gemini

Can Gemini use Gemini 3.1 Flash TTS?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Gemini 3.1 Flash TTS like any built-in tool.

How much does Gemini 3.1 Flash TTS cost in Gemini?

Each item in `prompt` adds $0.065. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

Do I need a fal account to use Gemini 3.1 Flash TTS in Gemini?

No. Spiral runs Gemini 3.1 Flash TTS on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Gemini 3.1 Flash TTS in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Gemini 3.1 Flash TTS runs?

Gemini 3.1 Flash TTS runs in the background. Gemini starts the run, checks on it and gives you the audio when it's ready.

What is Gemini 3.1 Flash TTS good at?

Use it to turn a finished script into narration or dialogue with deliberate delivery. It suits explainers, story excerpts, training lessons, and spoken announcements where you want to direct how the words sound.

Can Gemini 3.1 Flash TTS generate dialogue?

Yes, it supports native multi-speaker dialogue. Write clearly labeled turns and give each speaker a distinct delivery direction, such as an inquisitive host and a measured instructor.

How many languages does Gemini 3.1 Flash TTS support?

Google documents support for more than 70 languages. For localized narration, prepare the translated script first and have a fluent listener review the generated speech.

How do I direct the delivery?

Describe the overall delivery in natural language, then place square-bracket audio tags where a local change should happen. For example, put [whispers] immediately before a quiet line.

How long can a Gemini 3.1 Flash TTS script be?

Google lists an 8,192-token input limit and a 16,384-token output limit for the preview model. Treat these as token limits rather than a guaranteed recording length; divide longer material into sections and check that each recording reaches its final sentence.

Get started

Start using Gemini 3.1 Flash TTS in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options