Gemini API:更新日誌·· 2026-06-17AI 評分41
Gemini API 更新:gemini-3.1-flash-tts-preview 支援語音生成串流輸出
June 17, 2026
AI 導讀
Gemini API 現已支援 gemini-3.1-flash-tts-preview 模型進行語音生成串流輸出。可透過 streamGenerateContent,或在 Interactions API 使用 stream: true 啟用串流。
正文
- Streaming support for speech generation: Streaming via
streamGenerateContent(andstream: truein the Interactions API) is now supported for thegemini-3.1-flash-tts-previewmodel. To learn more, see the Text-to-Speech guide.
來源:Gemini API:更新日誌 · ai.google.dev