This Magento 2 extension uses OpenAI’s GPT models (ChatGPT) to automatically generate high-quality short and long product descriptions based on product attributes like name, features, material, etc. It’s a powerful tool to save time and improve the content quality across your catalog.
❤️ The goal of this extension is to remain fully open-source and continuously expand by integrating every possible way to use AI with Magento 2. From writing content to helping customers, improving SEO, or automating tasks — the idea is to make Magento and AI work great together. I’m building it to be flexible and helpful for everyone, and I’d love for others to join in. If you’re into Magento or AI, your ideas and contributions are always welcome. Let’s create something awesome together!
- Choose OpenAI model (gpt-4, gpt-3.5-turbo, text-davinci-003, etc.)
- Customize prompt templates using %s (attribute) and %d (word count)
- Set target word count for short and full descriptions
- Supports both:
- text-davinci-003 (completion endpoint)
- gpt-3.5-turbo, gpt-4, gpt-4o, etc. (chat endpoint)
- Clean, valid HTML output ready to use in WYSIWYG editor
- Compatible with Page Builder
- Go to
Stores > Configuration > Mageprince > Mage AI
- Add your OpenAI API Secret (ensure your quota allows access to the chosen model)
- Open any product and click “Generate content with MageAI” in the Short/Long Description editor
- Watch the AI generate polished, HTML-ready content instantly
- Save Product
Run the following command in Magento 2 root folder:
composer require mageprince/magento2-mage-ai
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Contributions are highly welcome and encouraged! 🙌
This project is a personal open-source effort to bring the power of AI to Magento 2. Whether you want to:
- Add new features
- Improve prompts or logic
- Fix bugs
- Help with translations or documentation
- Or just share feedback…
You’re very welcome to join in.
To contribute:
- Fork the repository
- Create your feature branch:
git checkout -b feature/my-feature
- Commit your changes:
git commit -m 'Add new feature'
- Push to the branch:
git push origin feature/my-feature
- Create a new Pull Request