The latest Gemini models, like
Gemini 3.6 Flash , are available to use with Firebase AI Logic!
Learn more. All Imagen models will shut down as early as
June 30, 2026 .
Learn about migrating your apps to use Nano Banana. Gemini 2.5 models will shut down in
October 2026 . To avoid service disruptions, update to a newer model (like
gemini-3.6-flash or
gemini-3.1-flash-image). Any stable Gemini Live API 2.5 models are not impacted.
Learn more.
Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
发送反馈
数据治理和负责任 AI
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
点击您的 Gemini API 提供商,以查看此页面上特定于提供商的内容
和代码。
Gemini Developer API
Agent Platform Gemini API
您在使用 Firebase AI Logic 时必须遵守
Google Cloud Platform 服务条款 。
由于 Firebase AI Logic 是一项生成式 AI 服务,因此其使用受
Google Cloud Platform 服务条款的服务专用条款
中的生成式 AI 服务条款的约束。
Firebase AI Logic 使您能够向应用添加生成式 AI 功能。
它提供代理服务、客户端 SDK 和其他功能,让您可以访问生成式 AI 模型,以便在移动应用和 Web 应用中构建 AI 功能。
您可以选择要使用的“Gemini API ”提供商和模型,并且
对这些 API 的任何使用都受其适用服务条款的约束。
根据您选择的 API 提供方提供的详细信息
对 Gemini Developer API 的任何使用都受其适用
服务条款的约束。
如需了解详情,请参阅
Gemini API 附加服务条款
和
附加使用政策 。
发送反馈
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-08-02。
需要向我们提供更多信息?
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-08-02。"],[],[]]