> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/chatgpt-ai-pro-for-magento-2/product-image-alt-text.md).

# Product Image Alt Text

To generate AI-curated image alt texts for products,

* Go to **Catalog > Products**.
* Create New Product or open any existing product in Edit mode.
* Navigate to the **Images and Videos** option and expand it.
* Upload an image or open any existing one.
* Click on the **Generate AI Content** button to automatically create or update the product’s image alt text using the OpenAI API.
* Close the Image Detail popup and click on **Save**.

<figure><img src="/files/OZnbCZNBpeMA0SW4ErvV" alt=""><figcaption></figcaption></figure>

Every time the admin clicks on the Generate AI Content button, it generates a new content variant. Admin can even edit the content if necessary.

**Frontend Display of AI-Generated Product Image Alt Text**

Go to the respective product page in frontend and Right Click > View Page Source or press Ctrl+U.

<figure><img src="/files/oOHP2euCnAHJpdgdMM0p" alt=""><figcaption></figcaption></figure>

The AI-generated Alt Text has been added to the product image, which will help in better crawling of images by search engines.
