Alt Text Studio · Documentation
WP-CLI commands
Generate alt text and check status and credits from the command line.
If you manage your site from the command line, the plugin registers a wp alttextstudio command group. A valid API key must be set first.
1
Generate
Run wp alttextstudio generate to process attachments. Useful flags:
--limit=<n>— cap how many images to process.--batch-size=<1-10>— images per batch (default 10).--force— overwrite existing alt text.--dry-run— show what would be processed without using credits.--porcelain— print only the processed count, for scripts.
wp alttextstudio generate --limit=100
wp alttextstudio generate --force --batch-size=5
wp alttextstudio generate --dry-run2
Check status and credits
wp alttextstudio status prints whether the key is configured, your languages and text length, the total image count, and how many are missing alt text. wp alttextstudio credits shows your available, subscription, purchased, and promotional credits. Both accept --format=table|json|yaml.
Related guides
- Bulk generate alt text for existing images— Process your whole Media Library, or a filtered subset, in one run with pause and resume.
- WordPress plugin settings reference— Every setting on the Alt Text Studio settings page and what it does.