Gemini 3.1 Flash Tts Preview
Gemini 3.1 Flash TTS Preview is a text-to-speech model from Google, and a substantial generational step up from Gemini 2.5 Flash TTS. It takes text input and produces audio output across 70+ languages — nearly 3× the language coverage of its predecessor. The headline addition is a system of 200+ inline audio tags (e.g. `[whispers]`, `[laughs]`, `[excited]`) that let developers steer delivery, emotion, and pacing mid-sentence, alongside a "director's chair" workflow in Google AI Studio for defining per-character Audio Profiles and scene-level context. It supports up to two speakers with independent voice and style configuration per speaker, outputs PCM audio at 24 kHz / 16-bit mono, and automatically watermarks all output with SynthID. Context window is 32k tokens.
Pricing
💱 匯率 USD/NTD = 31.58 · 不含稅 · 更新於 2026/06/10
Technical specifications
Quick Start
Use Gemini 3.1 Flash Tts Preview via BazaarLink API — just change the base_url:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="gemini-3.1-flash-tts-preview",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "gemini-3.1-flash-tts-preview",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Gemini 3.1 Flash Tts Preview via BazaarLink?
- ✓USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
- ✓OpenAI-compatible API — zero code changes required
- ✓Automatic failover — multi-provider redundancy for the same model
- ✓Chinese-language support — local team, instant help
Frequently Asked Questions
What is Gemini 3.1 Flash Tts Preview?
Gemini 3.1 Flash TTS Preview is a text-to-speech model from Google, and a substantial generational step up from Gemini 2.5 Flash TTS. It takes text input and produces audio output across 70+ languages — nearly 3× the language coverage of its predecessor. The headline addition is a system of 200+ inline audio tags (e.g. `[whispers]`, `[laughs]`, `[excited]`) that let developers steer delivery, emotion, and pacing mid-sentence, alongside a "director's chair" workflow in Google AI Studio for defining per-character Audio Profiles and scene-level context. It supports up to two speakers with independent voice and style configuration per speaker, outputs PCM audio at 24 kHz / 16-bit mono, and automatically watermarks all output with SynthID. Context window is 32k tokens.
How much does the Gemini 3.1 Flash Tts Preview API cost?
Gemini 3.1 Flash Tts Preview costs $1.0000 per 1K input tokens and $20.0000 per 1K output tokens when accessed through BazaarLink.
How do I use Gemini 3.1 Flash Tts Preview with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "gemini-3.1-flash-tts-preview". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Gemini 3.1 Flash Tts Preview?
Gemini 3.1 Flash Tts Preview supports a context window of 8,192 tokens.
Is Gemini 3.1 Flash Tts Preview available for free?
Gemini 3.1 Flash Tts Preview is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.