What is the AI Dev Gallery?
AI Dev Gallery is an open-source app for Windows developers aiming to integrate AI capabilities into their apps and projects.
The app contains:
- Over 25 interactive samples powered by local AI models, including samples for all the Windows Copilot Runtime APIs.
- A user-friendly interface to explore, download, and run models from Hugging Face and GitHub that can leverage your PC’s NPU, CPU, or GPU depending on your device capabilities.
- The capability to view the C# source code and seamlessly export each sample to a standalone Visual Studio project.
Visit the AI Dev Gallery repo on GitHub for instructions on how to install without using the Microsoft Store.
Prerequisites
- Windows 10 version 10.0.17763.0 or later
- Visual Studio 2022 or later
- Windows Application Development workload in Visual Studio
- Some AI models might require a minimum amount of dedicated GPU memory to function properly
Interact with samples powered by local AI models
AI Dev Gallery includes a selection of interactive AI-powered samples that demonstrate a wide range of functionalities. These samples cover diverse use cases, from natural language processing to image recognition, enabling developers to explore AI's potential in a hands-on, offline environment.
View and export sample source code
AI Dev Gallery allows developers to access the source code for every sample, making it quick to implement similar AI scenarios in your own project.
The app also enables exporting this code into a new standalone Visual Studio solution, containing only the specific code and model files required for the selected sample.
Experiment with different AI models
Developers can select from a curated list of AI models or download new ones from Hugging Face. A dedicated model section enables you to learn more about the capabilities of your favorite models.
Responsible AI
It is of utmost importance to adopt responsible AI practices when integrating AI into your app. The AI Dev Gallery enables users to access a variety of AI models from sources such as Hugging Face, but we cannot guarantee that these models comply with Microsoft's Responsible AI standards.
Users of the AI Dev Gallery are strongly encouraged to take personal accountability for adopting Responsible AI principles, comprehend the limitations and ethical implications of the models, and ensure adherence to applicable licenses when integrating models into your own app.
Learn more: Developing Responsible Generative AI Applications and Features on Windows
Frequently Asked Questions
Is a Microsoft account necessary to use the app?
- No, the app does not require a Microsoft account for use.
Can I use the app without an internet connection?
- Yes, the app works offline since the AI models are downloaded locally. However, you will need to be online to download additional AI models from Hugging Face or GitHub.
What AI models are available in the app?
- The app features popular Hugging Face models and also include models and APIs from the Windows Copilot Runtime (WCR). When executing a sample, you can select which model you want to use. Before downloading or using an open-source model, we strongly recommend you read its model card to better understand it.
Is the app's source code accessible? Can I contribute new samples?
- Yes, the app is completely open-source, and its code is accessible on GitHub
Where can I provide feedback?
- Provide feedback or file an issue on the AI Dev Gallery GitHub repository.