> ## Documentation Index
> Fetch the complete documentation index at: https://www.alttextlab.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Craft CMS plugin

> Automatically generate alt text for images in your Craft CMS media library.

The AltTextLab plugin for Craft CMS connects your asset volumes to the AltTextLab API and generates accurate, descriptive alt text for your images — automatically on upload or in bulk for existing content.

## Key features

* **Automatic generation** — new uploads are processed the moment they land in your asset volume
* **Bulk processing** — generate alt text for your entire existing library, or select specific assets
* **Multi-site support** — generates alt text in each site's configured language; one API call per unique language, results shared across sites that use the same language
* **Language and style control** — choose from 130+ languages and four writing styles
* **Flexible field targeting** — write alt text to the native Alt field or any Plain Text custom field
* **Craft Commerce support** — e-commerce mode uses product name, brand, color, and material for product images

## Requirements

* Craft CMS 5.0.0 or later
* PHP 8.2 or later
* An active AltTextLab subscription
* An API key from the [AltTextLab dashboard](https://app.alttextlab.com/settings/api-keys)

## Next steps

<CardGroup cols={2}>
  <Card title="Installation" icon="plug" href="/integrations/craftcms/installation">
    Install the plugin and connect your API key.
  </Card>

  <Card title="Usage" icon="images" href="/integrations/craftcms/usage">
    Generate alt text automatically or in bulk.
  </Card>

  <Card title="Settings" icon="sliders" href="/integrations/craftcms/settings">
    Configure language, style, field targeting, and more.
  </Card>

  <Card title="Troubleshooting" icon="circle-exclamation" href="/integrations/craftcms/troubleshooting">
    View logs and diagnose generation issues.
  </Card>

  <Card title="Craft Commerce" icon="bag-shopping" href="/integrations/craftcms/commerce">
    Set up e-commerce mode for product images.
  </Card>
</CardGroup>
