# Smart photo organization through privacy-first, on-device AI

DevFeed: [Smart photo organization through privacy-first, on-device AI](<https://devfeed.tech/articles/smart-photo-organization-through-privacy-first-on-device-ai-16636.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2025/10/privacy-first-on-device-ai>)

Author: Cynthia Wang

Published: 2025-10-15T08:00:00Z

Content type: tutorial

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [Firebase](<https://devfeed.tech/topics/firebase.md>), [PWA](<https://devfeed.tech/topics/pwa.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-logic](<https://devfeed.tech/tags/ai-logic.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [hybrid-inference](<https://devfeed.tech/tags/hybrid-inference.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [pwa](<https://devfeed.tech/tags/pwa.md>), [sdks](<https://devfeed.tech/tags/sdks.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>), [web](<https://devfeed.tech/tags/web.md>), [web-browser](<https://devfeed.tech/tags/web-browser.md>)

## AI overview

This Firebase tutorial explains how to build a privacy-focused photo organization progressive web app using on-device AI. It describes running a local model in the browser so photos remain on the user's device and can be analyzed offline, with Firebase AI Logic SDKs detecting and caching compatible models such as Gemini Nano and providing a fallback approach for other browsers.

## Source excerpt

News, tutorials, and updates from the Firebase team.