# Gemini 3.1 Flash TTS（文本转语音）预览版

{% callout type="note" %}
`gemini-3.1-flash-tts-preview` 是旧版预览模型。对于新的生产工作负载，请迁移到 [Gemini 3.8 Flash TTS](/docs/models/gemini-3.8-flash-tts)
(`gemini-3.8-flash-tts`）或 [Gemini 3.8 Flash-Lite TTS](/docs/models/gemini-3.8-flash-lite-tts)
(`gemini-3.8-flash-lite-tts`）。请参阅 [迁移指南](/docs/speech-generation#migration).
{% /callout %}

Gemini 3.1 Flash TTS Preview 模型提供强大的低延迟语音生成功能，具有自然输出、可操纵提示和富有表现力的音频标签，可实现精确的叙述控制。

{% button href="https://aistudio.google.com?model=gemini-3.1-flash-tts-preview" variant="ais" %}在 Google AI Studio 中体验{% /button %}

## 文档  {% #documentation %}

Gemini 3.1 Flash TTS Preview 模型引入了富有表现力的 [音频标签](/docs/speech-generation#controllable)
用于控制叙述，以及自然性、可控性和多语言性的整体改进。

参观 [文字转语音](/docs/speech-generation) 全面涵盖特性和功能的指南。

## gemini-3.1-flash-tts-preview  {% #gemini-31-flash-tts-preview %}

{% doc-table variant="model" %}
{% doc-row header="true" %}
{% doc-cell %}
属性
{% /doc-cell %}

{% doc-cell %}
说明
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="id_card" /%}模型代码
{% /section %}
{% /doc-cell %}

{% doc-cell %}
`gemini-3.1-flash-tts-preview`
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="save" /%}支持的数据类型
{% /section %}
{% /doc-cell %}

{% doc-cell %}
**输入** 文本

**输出** 音频
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="token_auto" /%}token 限制{% sup %}[[*]](/docs/tokens){% /sup %}
{% /section %}
{% /doc-cell %}

{% doc-cell %}
**输入token限制** 8,192

**输出 token 限制** 16,384
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="handyman" /%}功能
{% /section %}
{% /doc-cell %}

{% doc-cell %}
{% section class="three-column-grid" %}
{% section %}
[**音频生成**](/docs/speech-generation)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**代码执行**](/docs/code-execution)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**上下文缓存**](/docs/caching)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**文件搜索**](/docs/file-search)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**函数调用**](/docs/function-calling)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**使用 Google 地图提供事实依据**](/docs/maps-grounding)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**使用 Google 搜索提供事实依据**](/docs/google-search)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**图像生成**](/docs/image-generation)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**Live API**](/docs/live-api)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**结构化输出**](/docs/structured-output)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**思考**](/docs/thinking)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**URL 上下文**](/docs/url-context)

{% badge type="not-supported" /%}
{% /section %}
{% /section %}
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="speed" /%}消费选择
{% /section %}
{% /doc-cell %}

{% doc-cell %}
{% section class="three-column-grid" %}
{% section %}
[**Batch API**](/docs/batch-api)

{% badge type="supported" /%}
{% /section %}

{% section %}
[**弹性推理**](/docs/flex-inference)

{% badge type="not-supported" /%}
{% /section %}

{% section %}
[**优先推理**](/docs/priority-inference)

{% badge type="not-supported" /%}
{% /section %}
{% /section %}
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="123" /%}版本
{% /section %}
{% /doc-cell %}

{% doc-cell %}
阅读 [模型版本模式](/docs/models#model-versions) 了解更多详情。

* `gemini-3.1-flash-tts-preview`
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="calendar_month" /%}最新更新
{% /section %}
{% /doc-cell %}

{% doc-cell %}
四月 2026
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="id_card" /%}模型详情
{% /section %}
{% /doc-cell %}

{% doc-cell %}
[模型详情](https://deepmind.google/models/model-cards/gemini-3-1-flash-audio/)
{% /doc-cell %}
{% /doc-row %}

{% doc-row header="false" %}
{% doc-cell %}
{% section class="model-property" %}
{% icon name="paid" /%}价格
{% /section %}
{% /doc-cell %}

{% doc-cell %}
[价格](/docs/pricing#gemini-3.1-flash-tts-preview)
{% /doc-cell %}
{% /doc-row %}
{% /doc-table %}
