Description
Without alternative text, people who use screen readers, and image search, often cannot tell what an image shows (unless the text around it already says so). ZA-ONE AI Alt Text writes it for you with Claude (Anthropic), using your own Anthropic API key. Every text is marked “written by AI, not checked” until you check it, and every change can be undone.
It is made for small company sites and for the people who look after them: many images, and alternative text that was never filled in.
Three ways to write
- One image: a “Generate with AI” button under the alternative text field, in the media details (the media window and the edit screen of an image) and in the settings of the Image block.
- On upload (off by default): new images get their text right after the upload.
- For all images without text: Media Alt text “Generate for N images”. One image at a time from your browser, with a progress bar, the time left, pause and stop. Filter by the page the images are attached to, or by the month of the upload. Images that already have alternative text are never changed here.
You stay in control
- The text goes into WordPress’ own alternative text field. Turn the plugin off or delete it, and the texts stay.
- “Undo” brings back the previous text (one step). “Mark as decorative” leaves the text empty on purpose, for dividers and ornaments.
- “Waiting for your check”: the newest texts written by the AI, to read with the image, edit in place or mark as checked. Editing a text counts as checked.
- The list of media gets an Alt text column (has text / missing / written by AI, not checked / decorative) and a filter.
- Summary cards: images, images without text (and how many of them the AI cannot read, such as SVG), texts not checked yet.
- Images already placed in posts: an Image block keeps its own copy of the alternative text. When that copy is empty, the text of the media library is added when the page is shown (on by default; the saved HTML of your posts is not changed). In the Image block, “Use the text of the media library” puts it into the block without using the API.
- A daily limit (200 images by default) and the number of images and tokens used today and this month.
Good texts
- Short (about 125 characters, 80 in Japanese; or a shorter setting), about what the image shows and why it is on the page.
- Words written in the image (signs, menus, headings) are kept as written.
- Names of people are never written, and no names or places are guessed.
- The file name, title, caption, description and the title of the page the image is attached to help Claude (can be turned off). The current alternative text is never sent.
- Written in the language of the site (Japanese or English), or the language you choose.
Not in this version
Ideas for later versions: the Gallery, Cover and Media & Text blocks, images inside the text of the classic editor, titles and captions, writing in the background without the page open, and WP-CLI commands.
Not linked to “Mark as decorative” of the Image block in WordPress 7.1. For an image made decorative, empty its alternative text in the media library.
What you need
- An Anthropic account with API access and an API key (created in the Anthropic Console). The plugin is free; the use of the API is paid to Anthropic, by your own account, following Anthropic’s pricing.
External services
This plugin connects to the Anthropic API (Claude), a service of Anthropic PBC, to write alternative text for images. Nothing is sent until you save your own API key, and then only when you press a button, run “Generate for all”, or turn on “Write the text automatically when an image is uploaded”.
- Where:
https://api.anthropic.com/v1/messages(to write a text) andhttps://api.anthropic.com/v1/models(to check the key; uses no tokens). - What is sent to write a text: a reduced copy of the image (base64; a size made by WordPress, or a copy saved again without the camera data), the file name (in a readable form), and — when “Use the text around the image” is on (the default) — the title, caption and description of the image and the title of the page it is attached to (each cut to 200 characters), the language to write in, and your API key (in the request header). This includes images attached to private or draft pages, and the titles of those pages, when you run it. The current alternative text is not sent. To check the key: only the key.
- When: when you press “Generate with AI” / “Regenerate with AI” / “Try this image” / “Try again”, while “Generate for all” runs (one request per image), when an image is uploaded by a user who may upload files and “automatic on upload” is on, and when you save a new key or press “Check the key”.
- Your account and the costs: the requests use your Anthropic account and your key; the usage fees are paid by you to Anthropic, following Anthropic’s pricing. A daily limit of images can be set in the plugin.
- People: the instructions sent with every image ask Claude never to name or identify people.
- Nothing is sent to ZA-ONE or to any other server. There is no telemetry.
- This plugin calls the Anthropic API directly (not through the WordPress AI Client) so that it works from WordPress 6.3 and uses only your own Anthropic key.
- Anthropic Privacy Policy: https://www.anthropic.com/legal/privacy
- Anthropic Commercial Terms of Service (API use): https://www.anthropic.com/legal/commercial-terms
日本語
このプラグインは、画像の代替テキストを書くために Anthropic API(Claude。Anthropic PBC のサービス)に接続します。利用者が自分の API キーを保存するまでは何も送りません。保存後も、ボタンを押した時・「まとめて作る」を実行している時・「アップロード時に自動で作る」をオンにした時だけ送ります。
- 送り先:
https://api.anthropic.com/v1/messages(代替テキストを作る時)とhttps://api.anthropic.com/v1/models(キーの確認。トークンを使いません)。 - 送る内容(作る時): 画像の縮小版(base64。WordPress が作った中間サイズか、撮影情報を除いて保存し直した複製)、読みやすくしたファイル名、「周りの文脈を使う」がオン(既定)の時は画像のタイトル・キャプション・説明と添付先の記事タイトル(各 200 字まで)、出力する言語、API キー(リクエストのヘッダー)。非公開・下書きの記事に添付した画像とその記事タイトルも、実行すれば送ります。いま入っている代替テキストは送りません。キーの確認ではキーだけを送ります。
- いつ送るか: 「AI で作る」「AI で作り直す」「この画像で試す」「もう一度」を押した時、「まとめて作る」の実行中(1 枚につき 1 回)、「アップロード時に自動」がオンでメディアをアップロードできる利用者が画像をアップロードした時、新しいキーを保存した時と「キーを確認」を押した時。
- アカウントと費用: 利用者の Anthropic アカウントとキーで送ります。利用料は Anthropic の料金表に従って利用者が Anthropic に支払います。プラグインで 1 日の上限枚数を決められます。
- 人物: 画像ごとに送る指示で、人物の名前を書かない・個人を特定しないよう Claude に求めています。
- ZA-ONE やその他のサーバーには何も送りません。利用状況の収集もありません。
- WordPress 6.3 から動き、利用者自身の Anthropic キーだけを使うため、WordPress の AI Client を通さず Anthropic API に直接接続します。
- Anthropic のプライバシーポリシー: https://www.anthropic.com/legal/privacy
- Anthropic の商用利用規約(API の利用): https://www.anthropic.com/legal/commercial-terms
Screenshots




Installation
- Install and activate the plugin.
- Open Media Alt text. The three steps “Enter your API key”, “Try one image” and “Fill in the rest” are shown.
- On the Settings tab, paste your Anthropic API key and save. The key is checked right away (“The API key works.”).
- Press Try this image, then Generate for N images — or turn on “automatic on upload”.
The key can also be set in wp-config.php: define( 'ZAAT_API_KEY', 'sk-ant-...' ); (it then comes first).
For developers: the filter zaat_auto_alt_allowed (bool, attachment ID) can keep “automatic on upload” away from some images.
For developers: the filter zaat_fill_alt_skip_classes (array of classes, default the background of the Cover block) lists the images whose empty alternative text is never filled when shown.
FAQ
-
Is it free?
-
The plugin is free, with no limits and no paid version. You need an Anthropic account and an API key, and the use of the API is paid to Anthropic (by your account, following Anthropic’s pricing).
-
Which image data is sent?
-
A reduced copy of the image: a size made by WordPress (usually 768 to 1024 pixels on the long side). When an image has no such size, it is saved again (at most 1024 pixels on the long side) and that copy is sent, so the camera data of the original file (EXIF, location) is never sent. With it go short context texts. Everything that is sent, when, and to whom, is listed under “External services” below.
-
What about images already placed in posts and pages?
-
An Image block keeps its own copy of the alternative text. Text typed directly into a block is separate from the media library and is never changed. If the block’s text is left empty, the text of the media library is added when the page is shown (Image blocks: images with the class wp-image-ID; not the background of the Cover block) (Settings “Images in posts”, on by default; the saved HTML is not changed). In the block settings, “Use the text of the media library” copies it into the block without using the API.
-
Where is my API key kept?
-
In the option
zaat_api_key(not loaded on every page, never shown again on the screen). The safest way is the constantZAAT_API_KEYinwp-config.php: the key is then not stored in the database, so plugins that log changes of options cannot record it. -
Will it change my texts on its own?
-
No. Existing alternative text is never touched by “Generate for all” or by “automatic on upload” (which is off by default, and only reacts to uploads by people who may upload files to the media library). Replacing a text happens only when you press “Regenerate with AI” on that image, and every change has “Undo”.
-
Does it write the names of people?
-
No. People are described in general words (“a staff member at the reception desk”), never named or identified.
-
What happens when I turn the plugin off or delete it?
-
The alternative texts stay: they are WordPress’ own texts of your images. Deleting the plugin removes its settings, its key and (by default) its records of which texts the AI wrote.
-
Multisite?
-
Each site has its own settings and its own key, also when the plugin is network-activated.
-
Which image types work?
-
JPEG, PNG, GIF and WebP. For AVIF images, a JPEG or PNG size made by WordPress is sent when there is one. SVG, HEIC, BMP, TIFF and PDF are not supported. Animated GIFs are read from their first frame.
-
“The service is busy”
-
When the API is busy, “Generate for all” waits 20 seconds and sends the same image once more. With a single image, press the button again a little later.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ZA-ONE AI Alt Text” is open source software. The following people have contributed to this plugin.
Contributors“ZA-ONE AI Alt Text” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “ZA-ONE AI Alt Text” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release: “Generate with AI” in the media details and in the Image block, automatic text on upload, “Generate for all” with progress, pause and stop, “Undo” and “Mark as decorative” for every text, “Waiting for your check”, the Alt text column and filter in the list of media, summary cards, the key check, a daily limit, and the empty alternative text of images in posts filled from the media library when shown.
