AltVision AI Text Generator

外掛說明

AltVision AI Text Generator helps WordPress users automatically generate alt text for images in their Media Library using AI. This improves accessibility, SEO, and user experience across your website.

✨ Features

  • Generates missing image alt text using AI for clear, concise descriptions.
  • Processes images one-by-one to ensure stability and prevent server timeouts.
  • Respects API rate limits, especially for free tiers.
  • Displays the total number of images missing alt text before you start.
  • Live progress bar and log show exactly what’s being processed.
  • Simple admin dashboard to securely save your API key.
  • Stores alt text automatically in the WordPress Media Library.
  • Does not overwrite existing, manually-written alt text.

Credits

Developed by EileenGetSocialGuide.com

螢幕擷圖

  • Settings page showing the API key input field.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/altvision-ai-text-generator/ directory, or install via the WordPress Plugin screen.
  2. Activate the plugin through the “Plugins” menu.
  3. Go to Settings AltVision AI to enter your API key.
  4. Navigate to Media AltVision AI to see the total count and click “Start Alt Text Generation” to process images.

常見問題集

Where do I get the API key?

You can create a free key at https://aistudio.google.com/app/apikey. You must also enable the API and billing in your Google Cloud project.

I’m getting an “HTTP 429: Quota Exceeded” error. Why?

This means you have hit your API rate limit (often on free tiers). This plugin includes delays to help prevent this, but if you process a very large number of images or run it frequently, you might still hit a limit. Enabling billing usually provides much higher limits.

How many images does it process at once?

The plugin processes images one at a time with a short delay between each. This prevents server timeouts and respects API rate limits, ensuring a stable experience even on shared hosting.

Will it overwrite existing alt text?

No. The plugin only generates alt text for images that don’t have one.

Is my data sent to the AI service?

Yes. The image file and a text prompt are sent securely to the AI API to generate the description.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AltVision AI Text Generator〉的開發相關工作。

參與者

將〈AltVision AI Text Generator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

4.3

  • Fixed final missing translator comments based on plugin check feedback.

4.2

  • Fixed missing translator comments identified by plugin checker

4.1

  • Added check to skip unsupported image formats (like GIF) that cause API errors.
  • Updated count logic to only show supported images missing alt text.
  • Added placeholder meta for skipped/errored images to prevent repeated attempts.
  • Updated FAQ with supported formats.

4.0

  • Renamed plugin from “Gemini AI Alt Text Generator” to “AltVision AI Text Generator”.
  • Updated all PHP class names, function prefixes, text domains, nonces, JS objects, and CSS IDs/classes to match the new name.
  • Fixed missing translator comments.

3.7

  • Fixed missing translator comments for _n() and sprintf().
  • Added escaping for output in Exception messages and number_format_i18n().
  • Replaced discouraged strip_tags() with wp_strip_all_tags().
  • Corrected Stable tag mismatch in readme.txt.

3.6

  • Added missing translator comments based on plugin check feedback.

3.4

  • Slowed down AJAX delay to 1000ms (1 second) to further prevent 429 errors.

3.3

  • Slowed down AJAX delay to 500ms to better respect API rate limits.

3.2

  • Updated Plugin URI and Author URI to be distinct URLs.

3.1

  • Fixed all plugin check errors for WordPress.org submission.

3.0

  • Switched to WordPress HTTP API (wp_remote_post) to meet plugin guidelines.
  • Added uninstall.php for clean uninstallation.
  • Enqueued JS/CSS in separate files.
  • Fully internationalized (translation-ready).

2.2

  • Fix for MAX_TOKENS error by increasing token limit to 8192.
  • Fixed critical PHP syntax errors.

2.1

  • Added total count of missing alt text to the main tool page.
  • Implemented a percentage-based progress bar.

2.0

  • Re-engineered to process images one-by-one to fix server timeouts.
  • Added robust error checking (e.g., MAX_TOKENS, SAFETY).

1.0

  • Initial public release.