Here's everything we announced at I/O, from new Firebase Studio features to more ways to integrate AI.
Read blog.
AIOptions interface
Options for initializing the AI service using getAI(). This allows specifying which backend to use (Vertex AI Gemini API or Gemini Developer API) and configuring its specific options (like location for Vertex AI).
Signature:
export interface AIOptions
Properties
Property |
Type |
Description |
backend |
Backend |
The backend configuration to use for the AI service instance. |
AIOptions.backend
The backend configuration to use for the AI service instance.
Signature:
backend: Backend;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[]]