IMPORTANT: In July 2025, we stopped releasing new versions of KTX modules, and we removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the previously released KTX modules, we recommend that you
migrate your app to use KTX APIs from the main modules instead. For details, see the
FAQ about this initiative.
Stay organized with collections
Save and categorize content based on your preferences.
com.google.firebase.ai
Classes
Chat |
Representation of a multi-turn interaction with a model.
|
FirebaseAI |
Entry point for all Firebase AI functionality.
|
FirebaseAIKt |
|
GenerativeModel |
Represents a multimodal model (like Gemini), capable of generating content based on various input types.
|
ImagenModel |
Represents a generative model (like Imagen), capable of generating images based on various input types.
|
LiveGenerativeModel |
Represents a multimodal model (like Gemini) capable of real-time content generation based on various input types, supporting bidirectional streaming.
|
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-07-21 UTC.
[null,null,["Last updated 2025-07-21 UTC."],[],[],null,["# com.google.firebase.ai\n======================\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Chat](/docs/reference/android/com/google/firebase/ai/Chat) | Representation of a multi-turn interaction with a model. |\n| [FirebaseAI](/docs/reference/android/com/google/firebase/ai/FirebaseAI) | Entry point for all *Firebase AI* functionality. |\n| [FirebaseAIKt](/docs/reference/android/com/google/firebase/ai/FirebaseAIKt) | |\n| [GenerativeModel](/docs/reference/android/com/google/firebase/ai/GenerativeModel) | Represents a multimodal model (like Gemini), capable of generating content based on various input types. |\n| [ImagenModel](/docs/reference/android/com/google/firebase/ai/ImagenModel) | Represents a generative model (like Imagen), capable of generating images based on various input types. |\n| [LiveGenerativeModel](/docs/reference/android/com/google/firebase/ai/LiveGenerativeModel) | Represents a multimodal model (like Gemini) capable of real-time content generation based on various input types, supporting bidirectional streaming. |"]]