A gallery that showcases on-device ML/GenAI use cases and allows people to try and use models locally.
Find a file
2025-06-03 11:44:56 +07:00
.github/ISSUE_TEMPLATE Update feature_request.md 2025-05-22 12:49:30 -07:00
Android - Try to limit the image size taken by the camera in ask image task 2025-05-22 16:51:22 -07:00
.gitignore Initial checkin 2025-04-14 16:42:40 -07:00
CONTRIBUTING.md Initial checkin 2025-04-14 16:42:40 -07:00
LICENSE Initial checkin 2025-04-14 16:42:40 -07:00
model_allowlist.json Update model_allowlist.json 2025-05-21 11:18:17 -07:00
README.md Update README.md 2025-06-03 11:44:56 +07:00

Google AI Edge Gallery

License GitHub release (latest by date) Platform Unlock the power of on-device Generative AI! The Google AI Edge Gallery is your experimental playground to explore, experience, and evaluate cutting-edge AI models—running entirely offline, directly on your Android device (iOS support coming soon).

Dive into a world of creative and practical AI: chat with advanced models, get insights from your images, experiment with prompts, and see real-time performance. All this, without needing an internet connection once models are downloaded.


🚀 What Can You Do?

The Gallery showcases a variety of on-device AI capabilities:

Overview & Model Selection Visual Q&A (Ask Image)
Overview Ask Image
Explore available models and dive into different AI experiences. Upload an image and ask questions about it, get descriptions, or identify objects.
Prompt Lab (Single-Turn LLM) AI Chat (Multi-Turn Conversation)
Prompt Lab AI Chat
Summarize text, rewrite content, generate code, or use freeform prompts. Engage in dynamic, multi-turn conversations with an AI.

Suggestion: Consider creating a short GIF showcasing these features in action and embedding it here for a more dynamic preview!


Core Features

  • 📱 Run Locally, Fully Offline: Experience the magic of Generative AI without an internet connection. All processing happens directly on your device, ensuring privacy and speed.
  • 🤖 Diverse Model Zoo: Easily switch between different foundation models (e.g., from Hugging Face) and compare their performance and capabilities.
  • 🖼️ Visual Question Answering (Ask Image): Go beyond simple object detection. Upload an image and ask complex questions, get detailed descriptions, or solve visual puzzles.
  • ✍️ Creative Prompting (Prompt Lab): A sandbox for your ideas! Summarize articles, rewrite paragraphs, generate code snippets, or explore other single-turn LLM use cases.
  • 💬 Conversational AI (AI Chat): Engage in fluid, multi-turn conversations. Explore the model's reasoning, memory, and conversational abilities.
  • 📊 Real-time Performance Insights: Monitor key metrics like Time To First Token (TTFT), decode speed (tokens/sec), and overall latency to understand model efficiency on your device.
  • 🧩 Bring Your Own Model (BYOM): Advanced users can easily test their own local LiteRT .task models.
  • 🔗 Developer-Focused Resources: Quick access to model cards, source code, and relevant documentation.

🏁 Get Started in Minutes!

  1. Download the App: Grab the latest ai-edge-gallery.apk from our Releases Page.
  2. Install & Explore:
    • Enable installation from unknown sources on your Android device.
    • Install the APK.
    • Launch the app and download your first model!
  3. Need Help? For detailed installation instructions (including for corporate devices) and a full user guide, head over to our Project Wiki.

This app leverages Google's cutting-edge on-device ML technologies:

  • Google AI Edge: The core suite of APIs and tools enabling powerful on-device machine learning.
  • LiteRT (MediaPipe GenAI): A lightweight, high-performance runtime optimized for executing Generative AI models directly on mobile devices.
  • LLM Inference API: Specifically designed for running Large Language Models efficiently on-device, powering features like chat and prompt lab.
  • Hugging Face Integration: Seamlessly discover, download, and utilize a wide range of pre-trained models from the Hugging Face Hub.

🤝 We Value Your Feedback!

This is an experimental Alpha release, and your input is crucial for shaping its future.

  • 🐞 Found a bug? Help us improve by reporting it here.
  • 💡 Have an idea or feature request? We'd love to hear it! Suggest it here.
  • 🤔 Questions or discussions? Join the conversation on our Discussions Tab (if enabled) or raise an issue.

📄 License

Licensed under the Apache License, Version 2.0. See the LICENSE file for details.



Made with ❤️ by the Google AI Edge Team.