← All playgrounds
Text-to-speech playground

Gemini 2.5 Flash TTS API

Google controllable multi-speaker text-to-speech.

Gemini 2.5 Flash TTS is a text-to-speech model from Google, available on OttoPort's OpenAI-compatible API as the model ID gemini-2.5-flash-tts at $11.50 / 1M characters as of 2026-10-14.

Provider

Google

Price

$11.50 / 1M characters

Model ID

gemini-2.5-flash-tts

Type

text-to-speech model

VoiceoversProduct narrationConversational audio

Create with Gemini 2.5 Flash TTS

tts

Your result appears here

Start with the example prompt or make it your own. Your OttoPort account is used securely for generation.

Pricing

Gemini 2.5 Flash TTS API pricing

What OttoPort bills for Gemini 2.5 Flash TTS, and what that works out to per unit. Rates are read from the same catalog the gateway meters against, and were current on 2026-10-14.

Per 1M characters$11.50
1,000 characters$0.0115roughly 150 spoken words
A 500-word script$0.0316about 2,750 characters
Characters per $186,956

No subscription and no minimum — OttoPort bills prepaid credits against usage. See the full rate card.

Quickstart

Call Gemini 2.5 Flash TTS in three lines

Send "model": "gemini-2.5-flash-tts" to POST https://ottoport.ai/api/v1/audio/speech with an OttoPort key. No Google account, no waitlist, no separate SDK.

curl https://ottoport.ai/api/v1/audio/speech \
  -H "Authorization: Bearer $OTTOPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-2.5-flash-tts",
    "input": "Welcome to OttoPort.",
    "format": "mp3"
  }' --output speech.mp3

Before you start

  1. 1. Create a key at /api-keys.
  2. 2. Top up credits — the smallest pack is $25.
  3. 3. Paste the request. It returns on the same request.

Full reference at /docs, or drive it from an agent with the MCP server and CLI.

Reference

Request parameters

The body POST https://ottoport.ai/api/v1/audio/speech accepts for Gemini 2.5 Flash TTS.

FieldTypeRequiredNotes
modelstringYesAlways gemini-2.5-flash-tts for Gemini 2.5 Flash TTS.
inputstringYesText to speak. Characters are the billed unit.
voicestringNoProvider voice identifier.
formatstringNoAudio container, e.g. `mp3`.
Comparison

Gemini 2.5 Flash TTS direct vs through OttoPort

Gemini 2.5 Flash TTS is the same model either way — what changes is how many accounts, keys, and integrations you carry to reach it.

Google directVia OttoPort
Accounts and keysA Google account, plus one more for every other model you addOne OttoPort account and one key for the whole catalog
Request shapeGoogle's own SDK and response formatOpenAI-compatible — point baseURL at OttoPort and change the model string
Switching modelsA new integration per providerReplace gemini-2.5-flash-tts with any other model ID in the catalog
BillingA separate invoice and contract per providerPrepaid credits, no subscription, one usage ledger
Provider outagesYour call failsConfigured backup routes are tried in order on provider failure
01

Write for the ear, not the page.

02

Use punctuation to guide pauses.

03

Keep each generation focused on one tone.

FAQ

Gemini 2.5 Flash TTS API questions

Cost, keys, and model IDs for Gemini 2.5 Flash TTS on OttoPort.

How much does the Gemini 2.5 Flash TTS API cost?

On OttoPort, Gemini 2.5 Flash TTS costs $11.50 / 1M characters as of 2026-10-14. For scale, a 500-word script: $0.0316. Billing is prepaid usage with no subscription and no minimum, and the current rate is always published at ottoport.ai/pricing.

How do I get a Gemini 2.5 Flash TTS API key?

You do not need a Google key. Create an OttoPort account, generate a key at ottoport.ai/api-keys, and send it as "Authorization: Bearer <key>" to POST https://ottoport.ai/api/v1/audio/speech with "model": "gemini-2.5-flash-tts". The same key reaches every other model in the catalog.

What is the model ID for Gemini 2.5 Flash TTS?

The OttoPort model ID for Gemini 2.5 Flash TTS is gemini-2.5-flash-tts. Pass it as the model field on POST https://ottoport.ai/api/v1/audio/speech, or list it programmatically from GET https://ottoport.ai/api/v1/models.

Do I need a Google account to use Gemini 2.5 Flash TTS?

No. OttoPort connects to Google on your behalf, so one OttoPort account covers Gemini 2.5 Flash TTS and every other model in the catalog — no per-provider contracts, keys, or invoices.