THR888 · Theater
Build On-Device AI Experiences w/ Windows AI APIs
Speakers: Savo Icagic, Greg Woo
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Theater session on building on-device AI into Windows apps with the Windows AI APIs, part of Microsoft Foundry on Windows (Windows AI APIs and Foundry Local over Windows ML on GPU, NPU and CPU). The main announcement is Aion 1.0 Instruct, a 2.3B-parameter SLM replacing Phi Silica, with a 3.4x smaller memory footprint, up to 32K tokens of context, up to 2x faster responses and public preview from early December on NPU and GPU. Demos show text generation, the Rewrite and Summarize APIs, and structured output via constrained sampling, all running on the NPU of a Snapdragon X Elite. LoRA adapters are explained with a Microsoft Education case: per-language adapters of about 50 MB built with Foundry Toolkit, which cut broken exercises from 13% to 4%. The session also covers the extended Video Super Resolution API (captured text enhancement, stabilization, gaming detail, experimental GPU support) with WhatsApp and TeamViewer stories, and ends with the AI Dev Gallery.
Best for: Windows app developers and architects evaluating local SLM and vision capabilities on Copilot+ PCs; it is only indirectly relevant to Microsoft 365 Copilot work.
New material starts at 04:00. The first four minutes introduce local AI and the platform catalogue; at 04:00 the Aion 1.0 Instruct announcement begins.
Where to skip: Skip to 04:00 for Aion 1.0 Instruct. The core is the API demo at 05:16, structured output at 09:23 and the Microsoft Education LoRA case at 13:13. The VSR extensions at 16:46 are optional, and the partner videos and the recap from 19:40 can be skipped.
Chapters (14)
- 00:00 Recap Depth 100 · Novelty 1/3
Speaker intro, unmetered intelligence and why local AI matters
Greg Woo (PM) and Savo Icagic introduce the session on building AI experiences in Windows apps with the Windows AI APIs. They frame 'unmetered intelligence' as running AI workloads locally on GPU, NPU and CPU instead of the cloud, and say more than 500 million PCs already run AI workloads on the platform. Benefits of local AI listed: privacy/security/compliance, low latency, no network needed (including air-gapped systems) and APIs bundled with Windows at no cost.
- 02:18 Recap Depth 200 · Novelty 1/3
Microsoft Foundry on Windows and the Windows AI APIs catalogue
The platform is introduced as Microsoft Foundry on Windows, layering task-specific APIs (Windows AI APIs, Foundry Local) over Windows ML across GPU, NPU and CPU. Windows AI APIs ship in the Windows App SDK and need only a few lines of code. The catalogue covers text (summarization, rewrite), image (background removal, image enhancement, image generation), speech recognition and video super resolution.
- 04:00 New Depth 200 · Novelty 3/3
Aion 1.0 Instruct: 2.3B on-device SLM, public preview in early December
Aion 1.0 Instruct is presented as a 2.3-billion-parameter small language model running on Windows. Compared with the previous Windows SLM Phi Silica it has a 3.4x smaller memory footprint, 9x longer context (up to 32K tokens) and up to 2x faster responses. It will be in public preview from early December on NPU and GPU, and comes with ready-made APIs such as text rewrite, summarization, structured output and LoRA fine-tuning.
- 05:16 Demo Depth 200 · Novelty 2/3
Demo: Aion 1.0 Instruct text generation, Rewrite and Summarize APIs on the NPU
Savo runs a Windows App SDK demo app with Aion 1.0 Instruct next to Task Manager showing NPU utilisation on a Snapdragon X Elite. He generates an email asking to move a meeting, then uses the Rewrite API (flavours: general, casual, concise, formal) to make it casual, and the Summarize API to compress a four-paragraph weekly report into one paragraph. NPU activity correlates with token streaming.
- 08:29 Customer story Depth 100 · Novelty 1/3
Partner story: Flux Ink note-taking with Windows ML handwriting and Aion next-word prediction
Flux Ink, an AI note-taking app, combines a handwriting model on Windows ML that renders text in the user's own handwriting with Aion 1.0 Instruct for next-word prediction. Everything runs locally, so users need no internet connection and get predictions in a few milliseconds. The segment ends by handing over to structured output as one of the latest platform additions.
- 09:23 Demo Depth 300 · Novelty 2/3
Structured output via constrained sampling, with order-intake JSON demo
Savo explains that SLMs and LLMs do not reliably follow a schema, so the platform implements structured output using constrained sampling, guaranteeing output that matches the JSON schema supplied as input and avoiding broken downstream apps. In the demo, an order-intake message is converted into JSON with item (string), quantity and shipping (enum standard/express), all required and no extra fields. Aion on the NPU returns item 'USB-C adapters', quantity 4 (converted from the word 'four') and shipping 'standard'.
- 11:51 Deep dive Depth 300 · Novelty 1/3
LoRA fine-tuning: lightweight swappable adapters on top of Aion Instruct
Greg contrasts full fine-tuning, which retrains all weights and is slow and expensive, with LoRA fine-tuning, which trains only a small adapter used together with the frozen base model Aion Instruct. Organisations can create as many adapters as they need for different scenarios and swap them as required.
- 13:13 Customer story Depth 200 · Novelty 2/3
Microsoft Education: per-language LoRA adapters built with Foundry Toolkit
Microsoft Education generates interactive lesson exercises locally with on-device models, but the base model did not reliably meet format, language and teaching requirements. They trained LoRA adapters of about 50 MB per language using a pipeline built around Foundry Toolkit; on a blind test set teacher usability rose in every language and broken exercises dropped by two-thirds (slide: 13% to 4%). The reusable pipeline produced evaluated adapters for Aion in seven languages in six days.
- 14:45 Deep dive Depth 200 · Novelty 1/3
Video Super Resolution API: on-device upscaling up to 4K
Video Super Resolution is described as one of the latest APIs added to the platform, providing local video upscaling. A low-resolution input stream is enhanced on-device and output at a much higher resolution, up to 4K. A slider comparison of a talking-head video shows clearer faces and more readable background text.
- 15:47 Customer story Depth 100 · Novelty 1/3
Partner story: WhatsApp desktop uses Video Super Resolution for video calls
WhatsApp uses Video Super Resolution in its Windows desktop app to improve video call clarity. The partner video shows a call on a poor network where enabling HD sharpens the incoming video in real time, plus a split view comparing the same live stream with and without VSR.
- 16:46 New Depth 200 · Novelty 2/3
VSR expands to captured text, stabilization and gaming; NPU/CPU, GPU experimental
Beyond the original talking-head scenario, Video Super Resolution now supports enhancing captured text in video streams, a stabilization API that reduces camera shake, and enhancing in-game detail in gaming live streams. VSR is supported on NPU and CPU, while GPU support is experimental. A side-by-side video shows the stabilization effect, described as achievable in a few lines of code.
- 18:43 Customer story Depth 100 · Novelty 2/3
Partner story: TeamViewer Assist AR adopting Video Super Resolution in December
TeamViewer, a remote support platform, uses Video Super Resolution to make support calls clearer and text easier to read. In their video they state VSR comes to TeamViewer Assist AR this December, with text recognition enhancement, camera stabilization and more planned for Assist AR and other TeamViewer products in the new year.
- 19:40 Demo Depth 200 · Novelty 1/3
Key takeaways and AI Dev Gallery walkthrough for trying Windows AI APIs
Greg recaps Microsoft Foundry on Windows, the Windows AI APIs, Aion 1.0 Instruct with LoRA adapters and structured output, and Video Super Resolution. He recommends the AI Dev Gallery, a free, open-source app from the Microsoft Store with interactive samples, documentation and code snippets. He shows its AI APIs tab with samples such as text generation, LoRA adapters, text rewrite and the text recognition API for extracting text from images.
- 21:59 Closing Depth 100 · Novelty 0/3
Closing: feedback QR code, related local AI sessions and Windows booth
The speakers ask attendees to scan the QR code to give feedback and point to further local AI sessions later the same day and on Thursday. They stay for questions and invite visitors to the team's booth in the Windows section.
Announcements (8)
-
Aion 1.0 Instruct
A 2.3B-parameter on-device small language model for Windows with 32K-token context, running on NPU and GPU.
early December
Speaker’s quote (at 04:13)
„Ion Instruct will be available in public preview starting in early December on both NPU and GPU platforms.“
-
Structured output for Aion 1.0 Instruct
Uses constrained sampling to guarantee model output conforms to a JSON schema supplied as input.
Speaker’s quote (at 09:52)
„So we implemented the thing called structured output which relies on a technique called constraint sampling which guarantees you that you will have output which is formatted as JSON schema“
-
Video Super Resolution API
Upscales low-resolution video streams on-device with local AI, up to 4K output.
Speaker’s quote (at 14:45)
„Now let's talk video super resolution, which is one of the latest APIs that we've added to our platform.“
-
Video Super Resolution captured text enhancement
Enhances the quality of text captured in a video stream so it is easier to read.
Speaker’s quote (at 17:14)
„VSR now supports enhancing text quality, captured text quality over video stream, which makes text easier to read.“
-
Video Super Resolution stabilization API
Reduces camera shake in video streams filmed with a shaky camera.
Speaker’s quote (at 17:14)
„For streams which are filmed with shaky camera, stabilization API of VSR reduces camera shake.“
-
Video Super Resolution gaming enhancement
Enhances in-game details in gaming live streams.
Speaker’s quote (at 17:14)
„if you're streaming some gaming live stream, it enhances the in-game details of the gameplay.“
-
Video Super Resolution GPU support
Running VSR on the GPU, in addition to NPU and CPU, currently in an experimental stage.
Speaker’s quote (at 17:49)
„VSR is now supported on NPU and CPU. while GPU support is in experimental stage at the moment.“
-
Video Super Resolution in TeamViewer Assist AR
TeamViewer brings the Video Super Resolution API to its Assist AR remote support product.
December
Speaker’s quote (at 19:10)
„With Microsoft Foundry on Windows, we are bringing the Video Super Resolution API to TeamView AssistAR this December.“
Demos (3)
-
A developer shows on-device text generation, tone rewriting and summarization running locally on the NPU of a Copilot+ class PC.
Steps (5)
- Open the Windows App SDK demo app for Aion 1.0 Instruct and, side by side, Task Manager on the Performance > NPU tab.
- Ask the model 'who are you?' to confirm Aion Instruct is running.
- In text generation, ask it to draft a short email moving a meeting from Tuesday to Wednesday and send; watch tokens stream and NPU utilisation rise.
- Switch to the Rewrite API, select the Casual flavour, paste the generated email draft and click Rewrite.
- Switch to the Summarize API, paste a four-paragraph weekly report and click Summarize to get a one-paragraph summary.
Prerequisites: Windows PC with an NPU (demo shown on Snapdragon X Elite with Qualcomm Hexagon NPU); Windows App SDK; Aion 1.0 Instruct (public preview from early December).
-
Turning a free-form customer order message into schema-valid JSON for a downstream order system, running on-device.
Steps (5)
- In the Aion 1.0 Instruct demo app, enable the JSON schema input for the order-intake task.
- Define a schema with item (string), quantity (number) and shipping (enum: standard, express), mark all three as required and disallow additional fields.
- Paste the customer message asking for four USB-C adapters with standard delivery.
- Send and watch NPU activity in Task Manager.
- Check the returned JSON: item USB-C adapters, quantity 4, shipping standard.
Prerequisites: Windows PC with an NPU (Snapdragon X Elite shown); Aion 1.0 Instruct; a JSON schema for the target downstream app.
-
Developers explore Windows AI API samples interactively, read documentation and copy code snippets into their own apps.
Steps (5)
- Download the free AI Dev Gallery app from the Microsoft Store on a Windows PC.
- Open the app and select the AI APIs tab in the left navigation.
- Browse samples such as text generation, LoRA adapters and text rewrite.
- Open the text recognition API sample to extract text from an image and explore other image-based samples.
- Review the documentation and code snippets to implement the API in your app.
Prerequisites: Windows PC; AI Dev Gallery installed from the Microsoft Store.