Stay organized with collections Save and categorize content based on your preferences.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],[],[],[],null,["Firebase AI Logic client SDKs\n\nBuild generative AI features directly into your mobile and web apps\n\nCall 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. \n[Get started](https://console.firebase.google.com/project/_/genai) [View docs\n*arrow_forward*](/docs/ai-logic) \n\nUse your favorite programming languages \nLeverage 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. \n\nProtect your resources \nYou 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. \n\nSimple setup, easy to use \nStart 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. \n\nStreamline file uploads with Cloud Storage for Firebase \nEfficiently 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. \n\nEffortlessly update models and prompts \nFirebase 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. \nTry Firebase today\n\n\nIntegrating it into your app is easy.\n[Get started](https://console.firebase.google.com/) \n\nAll Firebase products \n\nBuild\n\n- [App Check](/products/app-check)\n- [App Hosting](/products/app-hosting)\n- [Authentication](/products/auth)\n- [Cloud Functions](/products/functions)\n- [Cloud Storage](/products/storage)\n- [Data Connect](/products/data-connect)\n- [Extensions](/products/extensions)\n- [Firestore](/products/firestore)\n- [Firebase ML](/products/ml)\n- [Genkit](https://genkit.dev/)\n- [Hosting](/products/hosting)\n- [Realtime Database](/products/realtime-database)\n- [Firebase AI Logic client SDKs](/products/firebase-ai-logic)\n\n[Generative AI](/products/generative-ai) \n\nRun\n\n- [A/B Testing](/products/ab-testing)\n- [App Distribution](/products/app-distribution)\n- [Cloud Messaging](/products/cloud-messaging)\n- [Crashlytics](/products/crashlytics)\n- [Google Analytics](/products/analytics)\n- [In-App Messaging](/products/in-app-messaging)\n- [Performance Monitoring](/products/performance)\n- [Remote Config](/products/remote-config)\n- [Test Lab](/products/test-lab)"]]