Starting November 2, 2026, Firebase App Check enforcement will be
required to use Firebase AI Logic.
Learn more. Model updates:
-
Gemini 4 Argon is now available to use with
Firebase AI Logic!
Learn more.
-
Gemini 2.5 models are deprecated or shut down. For the
Agent Platform Gemini API, all general-use Gemini 2.5 models
have shut down. For the Gemini Developer API, starting
December 1, 2026, requests to the general-use
Gemini 2.5 Flash and Pro models will be automatically routed to newer
models (which may cause breaking changes;
learn more).
To avoid service disruptions, update to a newer model (like
gemini-4-argon,
gemini-3.8-flash,
gemini-3.5-flash-lite, or
gemini-nano-banana-2.1).
Learn more.
Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
使用 Gemini API 生成音频
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您可以生成以下类型的音频:
TTS 与 Live API 的比较
文字转语音 (TTS) 模型和 Live API 模型都是低延迟、语音生成模型,可以针对不同的回答语音和语言进行配置。不过,两者的应用场景大不相同。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-11-09。
[null,null,["最后更新时间 (UTC):2026-11-09。"],[],[]]