Skip to content

A demo extension that uses the (trial) ML API to generate alt text for images

License

Notifications You must be signed in to change notification settings

Firefox-AI/webext-ai-alt-text

Repository files navigation

Trial Inference API Extension Example

This web extension implements an alt text feature on any image in the browser. You can right click on the image and you will get an alt text generated by an image-to-text model.

See the WebExtensions AI API for reference.

Installation

  1. Go into about:debugging > This Nightly > Load Temporary Add-on
  2. Go into the directory containing this repository.
  3. Pick manifest.json and load it.
  4. Once the extension is loaded, go into about:addons and enable the optional permission.

Usage

In a web page with images, right-click on an image then chose "Generate ML description". The first time you will use it, the model will be downloaded from our servers and you will get a download progress.

About

A demo extension that uses the (trial) ML API to generate alt text for images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published