Files
chrome-extensions-samples/functional-samples/ai.gemini-on-device-alt-texter
Sebastian Benz a8aec773d8 add audio scribe sample (#1475)
* add audio scribe sample

* Fix wrong parameter name

* Cleanup and more robust audio scribe

* better manifest descriptions

* demo chat app clean up
2025-05-20 08:37:50 +02:00
..
2025-05-20 08:37:50 +02:00
2025-05-20 08:37:50 +02:00
2025-05-20 08:37:50 +02:00

Alt-texter: On-device multimodal AI with Gemini Nano - image understanding

This sample demonstrates how to use the image understanding capabilities of the multi-modal Gemini Nano API preview together with Chrome's translation API. To learn more about the API and how to sign-up for the origin trial, head over to Built-in AI on developer.chrome.com.

Overview

This extension adds a context menu entry for images on the web to generate an alt text description that is displayed in a popup window.

Running this extension

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Right click an image on a webpage and select "Generate alt text"