All integrations
Native image accessibility integration

WriteAlt for Payload CMS

Fill missing descriptions directly in your Payload upload collection, with separate WebP or AVIF optimization for compatible local files.

A WriteAlt account and API key are required for generation.

The WriteAlt workflow in Payload CMS.
  • Runs inside Payload CMS
  • Keep existing alt text
  • Your WriteAlt API key

How to install

Set up WriteAlt in your Payload CMS project, then test it on one image.

1. Install and register the plugin

Register writeAlt({ collection: "media", altField: "alt" }) in payload.config.ts. Use the handles of your existing upload collection and editable alt field.

npm install @writealt/payload-plugin-writealt
View on Payload Market

2. Connect your account

Set WRITEALT_API_KEY on the server, then run npx payload generate:importmap and rebuild or restart your app.

3. Generate for your uploads

Open WriteAlt in the Payload admin and generate a description for one upload before processing a batch.

Work with image alt text inside Payload CMS

Fill missing descriptions directly in your Payload upload collection, with separate WebP or AVIF optimization for compatible local files.

Payload 3native admin plugin
Bulkfill missing descriptions
WebP / AVIFoptional local conversion

Find gaps by filename

Search your upload collection and filter the current page by missing or existing alt text.

Work on selected uploads

Generate a single description, fill a selected batch, or process only missing descriptions on the current page.

Use your existing alt field

Save back to the top-level editable text or textarea field your frontend already reads.

Control which descriptions change

Missing-only generation keeps your existing text. Regenerate a particular description only when you choose to.

Choose language, style, and keywords

Set the writing preferences once for the current batch instead of configuring each upload separately.

Optimize images separately

For supported local uploads, opt in to WebP, AVIF, or original-format compression. Optimization does not change alt text or use WriteAlt credits.

Preserve media relationships

Optimization updates the existing upload record. Converting formats can change direct URLs, so test manually pasted links on staging.

Respect Payload access controls

The plugin uses collection and field permissions and respects update locks. Keep the WriteAlt key in the server environment.

Use the same media field for your storefront

Select product photos with missing alt text and fill the existing media field in bulk. Review the saved descriptions, and make sure your storefront renders that field instead of falling back to filenames.

1

Find gaps by filename

Search your upload collection and filter the current page by missing or existing alt text.

2

Work on selected uploads

Generate a single description, fill a selected batch, or process only missing descriptions on the current page.

3

Control which descriptions change

Missing-only generation keeps your existing text. Regenerate a particular description only when you choose to.

4

Choose language, style, and keywords

Set the writing preferences once for the current batch instead of configuring each upload separately.

Get started with WriteAlt for Payload CMS.

Fill missing descriptions directly in your Payload upload collection, with separate WebP or AVIF optimization for compatible local files.

View on npm