Firebase AI Logic client SDKs
Build generative AI features directly into your mobile and web apps
Call the Gemini API client-side from your Android, Flutter, iOS, Web, Unity, and React Native apps. Start at no-cost with the Gemini Developer API, or use Vertex AI for enterprise-grade performance and reliability.
Use your favorite programming languages
Leverage our SDKs — available for Android (Kotlin/Java), Flutter (Dart), iOS (Swift), Web (JavaScript), Unity (C#), and React Native — to easily access our latest Gemini models for text, image, video, and audio processing.


Protect your resources
You can integrate Firebase AI Logic with Firebase App Check to add a layer of protection for your API calls, giving you the peace of mind to confidently use these SDKs from your client.
Simple setup, easy to use
Start quickly by enabling access to Gemini in the Firebase console. Then, with just a few lines of code you can incorporate multimodal AI content directly into your app, without building a backend server.


Streamline file uploads with Cloud Storage for Firebase
Efficiently upload and manage files for your multimodal prompts using Cloud Storage for Firebase. Additionally, Firebase Security Rules provides granular control over file access to help ensure only authorized users interact with uploaded content.
Effortlessly update models and prompts
Firebase Remote Config allows you to dynamically fine-tune prompts and model versions, delivering them seamlessly into your apps without requiring users to download a full update.
