Linux 软件免费装
Banner图

Presswell Alt Text Generator

开发者 presswell
benplum
更新时间 2026年11月4日 23:42
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library accessibility ai alt text image seo

下载

1.2.0 1.3.0 1.3.1 1.0.0 1.1.0

详情介绍:

Presswell Alt Text Generator helps teams reduce accessibility backlog by generating descriptive alt text for new and existing images. Connect a provider, choose a model, and run generation workflows directly inside wp-admin. Features Media Library Tools An Alt Text column shows each image's alt text, and a "Generate Alt Text" or "Regenerate Alt Text" row action updates it in place. The same button appears in the media modal and on the attachment edit screen, along with "Restore previous alt text" after a regeneration. Block Editor Select an Image block to find an Alt Text Generator panel in its sidebar. It fills in the block's alt text and updates the image in the Media Library. Bulk Generator The Bulk page counts images missing alt text, can regenerate existing alt text or do a test run on the first five images missing it, and runs batches while surfacing progress, failures, and rate-limit pauses. Debug Tab Settings -> Alt Text Generator -> Debug shows how requests are sent and what can stop them (API key, rate limits, bulk runs, images missing alt text), a Test Connection button, and the private debug log. Connector Source WordPress AI Connectors (Settings -> Connectors, WordPress 7.0+) are the recommended setup and the default for new installs. The Plugin connector source, which stores API keys in this plugin's settings, is deprecated and will be removed in a future release; the settings screen shows a warning while it is selected. On WordPress versions without AI Connectors, the plugin keeps using its own keys. Documentation Filters Actions Functions WP-CLI If WP-CLI is available, you can run single-image generation, bulk generation, and missing-alt counts from the command line: Optional CLI flags:

安装:

Install via the WordPress plugin installer, or manually upload the plugin directory to wp-content/plugins/. Configuration
  1. Activate the plugin.
  2. Visit Settings -> Alt Text Generator. Choose Core to use a provider set up in Settings -> Connectors (WordPress 7.0+), or Plugin to enter an API key and choose a model.
  3. Use Test Connection on the Debug tab to confirm the provider responds.
  4. (Optional) Turn Generate on Upload on or off.
  5. Use the bulk tool under Media -> Alt Text Generator, or the Media Library and Image block actions.

屏幕截图:

  • Alt text generation controls in the media modal.
  • Bulk generator with progress and per-image results.
  • Settings screen with connector, model, prompt, and upload controls.
  • Debug screen with connection status, Test Connection, and the debug log.

常见问题:

Which providers are supported?

OpenAI (GPT-4.1 and GPT-4o, including the mini models), Anthropic Claude (Haiku 4.5, Sonnet 5, Opus 5.5), and Google Gemini (2.5 Flash, Flash-Lite, and Pro). In Core mode on WordPress 7.0+, the OpenAI, Anthropic, and Google connectors in Settings -> Connectors can be used; other connectors are offered only once the pwatg_core_connector_service_map filter maps them to one of the plugin's providers. The pwatg_available_models filter changes the model list, and the pwatg_provider_registry filter adds provider classes.

Where are API keys stored?

In Core mode (recommended), keys are managed by WordPress in Settings -> Connectors. In the deprecated Plugin mode, keys are stored in the site's options (the network's, when the plugin is network-activated on Multisite) and sent only to the selected provider, from your server. Saved keys are never printed in the settings page, and they are removed when the plugin is deleted. Plugin mode will be removed in a future release, so switch to WordPress AI Connectors when you can.

Can I regenerate specific images without affecting others?

Yes. Use the inline "Regenerate Alt Text" link in the Media Library or media modal to update a single attachment without affecting the rest of the queue, or run wp pwatg generate <attachment-id> --force.

Can I run generation from WP-CLI?

Yes. Use wp pwatg generate <attachment-id> for one image, wp pwatg bulk-generate for a batch run, and wp pwatg count-missing to check remaining backlog.

How does it work on Multisite?

It depends on how the plugin is activated.

  • Network-activated (recommended for managing settings once): the AI provider, API keys, model, and prompt are set once for the whole network, in Network Admin -> Settings -> Alt Text Generator, so only Super Admins manage keys and costs. Each site can choose whether new uploads get alt text automatically (or follow the network's choice), and has its own Bulk screen and Debug tab. Test Connection on a site's Debug tab is available to Super Admins. Settings saved on the main site by earlier versions move to the network automatically.
  • Activated on individual sites: each site has its own settings page, API keys, and Test Connection, just like a single-site install.

Can I run bulk generation network-wide on Multisite?

Yes. Use wp pwatg network-bulk-generate to process all sites in the network, or pass --sites=<id,id,...> to target specific site IDs.

What is removed when I delete the plugin?

Deleting the plugin (not deactivating it) always removes saved API keys, debug logs, rate-limit pauses, and bulk run state. With Remove Data on, it also removes the settings and generation history (when each image was last generated, and the alt text kept for Restore previous alt text). Alt text itself is never removed.

How does rate limiting work?

When a provider reports a rate limit, the plugin pauses requests to that provider for the time it asks for, between 1 and 30 minutes (5 minutes when it doesn't say). An out-of-credit or quota error pauses it for an hour. Bulk runs stop and say why, and the image that hit the limit is retried when you continue.

更新日志:

1.3.1 1.3.0 1.2.0 1.1.0 1.0.0