npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@qburst.com/ai-image-metadata-generator

v1.0.2

Published

Generate alt text and captions for media library images using OpenAI vision, with batch processing and keyword support.

Downloads

457

Readme

AI Image Metadata Generator

Generate alt text and captions for your Strapi Media Library images with OpenAI vision — review, refine, and save without leaving the admin panel.

Compatible with Strapi 5+.

Features

  • Dual AI generation — create alt text and captions together in one pass
  • Keyword-aware prompts — add brand, product, or context keywords for sharper results
  • Review before save — edit AI output in a preview modal, then write back to the Media Library
  • Batch processing — run selected images, or process everything still missing metadata
  • Live progress — track batch status and cancel mid-run when needed
  • Folder browsing — navigate your Media Library folders without leaving the plugin
  • Flexible browsing — switch between list and grid views
  • Smart filters — search by name and focus on images that still need metadata
  • Accessibility & SEO ready — fill the fields that help screen readers and search engines

How it works

Workflow: browse, select, add keywords, generate, review, save

  1. Open AI Alt Text Generator from the admin sidebar
  2. Pick an image (or select many for a batch)
  3. Optionally add keywords for context
  4. Generate, review, edit, and save

See it in action

Media library browser

Browse, filter, and batch-process images in list or grid view.

AI Alt Text Generator landing page

Preview & edit

Review AI-generated alt text and captions, refine with keywords, then save.

AI Alt Text Generator preview modal

Requirements

  • Strapi 5+
  • Node.js 1822
  • An OpenAI API key with a vision-capable model (default: gpt-4o-mini)

Installation

yarn add @qburst.com/ai-image-metadata-generator
# or
npm install @qburst.com/ai-image-metadata-generator

Enable the plugin in config/plugins.ts (or config/plugins.js):

export default ({ env }) => ({
  'ai-image-metadata-generator': {
    enabled: true, // required
    config: {
      openai: {
        apiKey: env('OPENAI_API_KEY'), // required
        url: env('OPENAI_URL', 'https://api.openai.com/v1'), // optional
        model: env('OPENAI_MODEL', 'gpt-4o-mini'), // optional
      },
      // optional
      ui: {
        alertAutoClose: 5000, // optional
      },
      // optional
      processing: {
        batchSize: 10, // optional
        maxConcurrent: 3, // optional
        timeout: 60000, // optional
      },
    },
  },
});

Rebuild or restart Strapi, then grant access under Settings → Administration panel → Roles.

Configuration

Environment variables

OPENAI_API_KEY=your-openai-api-key-here   # required
OPENAI_URL=https://api.openai.com/v1      # optional
OPENAI_MODEL=gpt-4o-mini                  # optional

Options

| Option | Required | Description | | --- | --- | --- | | openai.apiKey | yes | OpenAI API key | | openai.url | no | API base URL (defaults to OpenAI) | | openai.model | no | Vision-capable model | | ui.alertAutoClose | no | Alert auto-dismiss duration (ms) | | processing.batchSize | no | Images per batch | | processing.maxConcurrent | no | Max concurrent AI requests | | processing.timeout | no | Request timeout (ms) |

Troubleshooting

API key not set — Confirm OPENAI_API_KEY is set and mapped into plugin config, then restart Strapi.

Images not processing — Check API credits, that image URLs are reachable from the server, and that formats are PNG, JPEG, or WebP.

Rate limiting — Lower batchSize / maxConcurrent and respect OpenAI rate limits.

License

MIT © Joyal James. See LICENSE.