| 开发者 |
presswell
benplum |
|---|---|
| 更新时间 | 2026年4月30日 03:54 |
| PHP版本: | 6.1 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
pwatg_available_services — Modify the available AI providerspwatg_available_models — Modify the available models for each providerpwatg_provider_registry — Map provider slugs to custom service classeswp pwatg generate <attachment-id>wp pwatg bulk-generatewp pwatg count-missingwp pwatg network-bulk-generatewp pwatg generate <attachment-id> --forcewp pwatg bulk-generate --forcewp pwatg bulk-generate --limit=<int>wp pwatg bulk-generate --missing-onlywp pwatg network-bulk-generate --forcewp pwatg network-bulk-generate --limit=<int>wp pwatg network-bulk-generate --missing-onlywp pwatg network-bulk-generate --sites=<id,id,...>wp-content/plugins/.
Configuration
OpenAI (GPT-4.1, GPT-4o), Anthropic Claude (3.5 Haiku/Sonnet, 3 Opus), and Google Gemini (2.0 Flash, 1.5 Flash/Pro). You can extend the provider registry to add more.
Keys are stored in the site options table. They are used only when calling the selected provider from your server.
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.
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.
Yes. Use wp pwatg network-bulk-generate to process all sites in the network, or pass --sites=<id,id,...> to target specific site IDs.
If a provider responds with a retry-after header, the plugin sets a transient lock and pauses both single and bulk runs until the cooldown expires.