Automatic alt text on upload

Updated

With Automatic generation on, every image you upload gets AI alt text a few moments later, as long as its Alternative Text is empty. Images already in your library that are missing alt text are filled in too, gradually, in the background.

Save a site API key first

Automatic alt text, like the rest of the AI tools, uses the OpenRouter key saved for the whole site.

  1. Go to AI → Settings.
  2. Fill in OpenRouter API Key and save.
  3. Go back to AI → Alt Text.

Until a site key is saved, the automatic section asks you to add one, and the checkbox doesn't appear.

Turn it on

  1. Open AI → Alt Text.
  2. Under Automatic generation, check Automatically generate alt text when images are uploaded.
  3. Change the Model if you want. The recommended default works well.
  4. Upload a test image in Media → Library and check that Alternative Text fills in after a short wait.

Uncheck the box to turn it off. It never overwrites alt text you've already written.

Images already in your library

While Automatic generation is on, images already in the Media Library that have no alt text, or only a file name such as IMG_4021.jpg, get described in the background, oldest first. This happens a few images at a time. It covers up to 500 images a day, so a large library takes a few days. A quiet site, where few people visit, can take longer, because the background work runs when the site gets visits.

The descriptions go live as they're saved; nothing waits for approval. To fill in the whole library now and watch it happen instead, use Generate All Alt Text on the AI Alt Text screen (Generate missing alt text). Images marked Decorative image in the Media Library are skipped, on upload and in the background (see Decorative Images).

If the AI can't describe an image

Sometimes the AI replies with an error message, such as "I'm unable to see the image", instead of a description. That's never saved, and the image stays on the AI Alt Text screen under Missing Alt Text. Use Generate Alt Text to try again, or pick another model. After three failed tries it marks the image Skipped in Media → Library and on the AI Alt Text screen. When older images are filled in, an image whose file can't be read or converted counts the same way. An outage at the AI service doesn't count toward it. Write its alt text yourself or use Generate Alt Text with another model.

If automatic alt text stops working

When the AI service turns a request down (for example, the OpenRouter account is out of credits or the model was retired), a notice at the top of Media → Library and the AI Alt Text screen says what went wrong. Images uploaded meanwhile stay on the AI Alt Text screen under Missing Alt Text, ready for Generate All Alt Text once it's fixed. When the problem is the key, the credits or the model, filling in older images pauses too, and tries again a day later. The notice goes away after the next image is described, or after a week.

If the chosen Model has been retired, Dirigible AI Alt Text switches to the recommended one by itself.

Tips

  • Each image described uses OpenRouter credits, including older images filled in from the library.
  • Uploading a large batch queues a lot of work in the background. To watch progress instead, turn automatic generation off, upload the batch, then use Generate All Alt Text on the AI Alt Text screen.

Built by Dirigible Studio. Get in touch