### Android AI code samples

[![](http://developer.android.com/static/ai/assets/images/ai_catalog_screenshot.png)](https://github.com/android/ai-samples)  
Cloud

### [Android AI Sample Catalog](https://github.com/android/ai-samples)

The Android AI Sample Catalog is a standalone application that gives you access to individual, self-contained samples that illustrate the possibilities for generative AI capabilities that can be unlocked by Google's AI models.  
[Get the code](https://github.com/android/ai-samples) [![](http://developer.android.com/static/ai/assets/images/androidify_header.png)](https://github.com/android/androidify)  
Cloud On-device

### [Androidify](https://github.com/android/androidify)

Androidify is a sample app that showcases how to integrate with Firebase AI Logic SDK to build multimodal AI features in your Android apps. The app transforms your selfie into a bot version of yourself with your unique likeness. The sample is a showcase of Material 3 Expressive, Jetpack Compose, CameraX, and Firebase AI Logic SDK. The sample also demonstrates how to integrate with the ML Kit Subject Segmentation API to extract the bot from the background.  
[Get the code](https://github.com/android/androidify) [Learn more](https://developers.google.com/solutions/learn/androidify) [![](http://developer.android.com/static/images/social-and-messaging/samples/socialite.png)](http://developer.android.com/ai/samples/socialite)  
Cloud

### [SociaLite: A sample social network app](http://developer.android.com/ai/samples/socialite)

The SociaLite sample app demonstrates how to use Android platform APIs to implement features that are commonly deployed in social network and communications apps. We have integrated the Gemini API using the Firebase AI Logic SDK to demonstrate how chatbot capabilities can be implemented in your own Android apps.  
[Learn more](http://developer.android.com/ai/samples/socialite)