Models

Gemini 3.1 Flash TTS Preview

Model id: gemini/models/gemini-3.1-flash-tts-preview

  • Audio

Google’s preview text-to-speech. One or more speakers.

Best for

Gemini spoken output while the preview is current.

Provider
Google Gemini
Context window
8,192
Release date
2026-04-15

Pricing

Input
$1.5423 / 1M
Output
$30.8462 / 1M

Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-09-21).

Performance

Reading

Last 7 days

Not enough data to display the chart.

Activity

Tokens

Top 5 tools · last 7 days

Not enough data to display tool activity.

Availability

Availability (%)

Last 7 days

Operational probes
99.98% over 7 days
Samples
9,205

View service status

Quick start

Turn text into speech with a tonia_ key and the exact model id below.

curl

curl https://pass.tonia.ca:8443/v1/interactions \
  -H "Authorization: Bearer $TONIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "model": "gemini/models/gemini-3.1-flash-tts-preview",
      "input": [
        {
          "type": "text",
          "text": "Bonjour"
        }
      ],
      "stream": false
    }'

Python (tonia SDK)

import os
from tonia import Tonia

client = Tonia(api_key=os.environ["TONIA_API_KEY"])
response = client.interactions.create(
    model="gemini/models/gemini-3.1-flash-tts-preview",
    input=[{"type": "text", "text": "Bonjour"}],
    stream=False,
)

TypeScript (tonia SDK)

import { Tonia } from "@tonia-router/sdk";

const client = new Tonia({
  apiKey: process.env.TONIA_API_KEY,
});

const response = await client.interactions.create({
  model: "gemini/models/gemini-3.1-flash-tts-preview",
  input: [{ type: "text", text: "Bonjour" }],
  stream: false,
});

Gemini speech and transcription models use /v1/interactions (not /v1/audio).

Create a key in the portal