> 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FXVhxHY1waznFNS3tmRoL%2Fimage.png?alt=media&amp;token=9619a86b-2220-48b2-bad2-ac8de3ed9c73" 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FGkFfiQA0UCxTH5s4GdYY%2Fimage.png?alt=media&amp;token=424894da-ddb0-4e10-ae90-cef4a19a4807" 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.
