AI Product Description Generator for Magento 2
Bulk-generate descriptions, short descriptions, meta titles and meta descriptions for Magento 2 catalog products using OpenAI (GPT-4o / gpt-4o-mini with optional vision). Built for stores onboarding hundreds of products at once and for agencies preparing client catalogs.
Features
- Three entry points — admin mass-action on the product grid, CLI command (
bin/magento ainpd:generate), or a JSON endpoint you can wire to a custom button on the product edit form. - Optional vision — the first product image is sent to GPT-4 along with the prompt for richer, image-aware descriptions.
- Multi-store / multi-language — prompts can be overridden per-store, and the configured store locale is passed to the model as a hint.
- Customizable prompts — full prompt templates (description, short description, meta title, meta description) with variables:
{{name}},{{sku}},{{categories}},{{attributes}},{{store_lang}}. - Skip-or-overwrite mode — bulk runs can either skip products that already have a description or overwrite everything.
- Encrypted API key storage — Magento's standard
obscure/Encryptedbackend. - Per-batch limit — configurable cap (default 25) so a runaway bulk action can't burn through your OpenAI quota in one click.