Magento Open Source/Adobe Commerce Extension

Generate AI Product Content
in One Click

Write SEO-optimized descriptions, short descriptions, meta titles and meta descriptions for any product — using any OpenAI-compatible AI provider, right inside the Magento Open Source/Adobe Commerce admin.

Works with any OpenAI-compatible provider · All generation happens server-side · API key stored encrypted, never exposed to the browser

Everything you need

One-click generation

A single button on the product edit page triggers the AI. No page reload required.

Preview & approve modal

Review generated content before applying. Choose which fields to update individually.

Multi-provider support

Switch between OpenAI, OpenRouter, Groq, DeepSeek, Gemini, or any self-hosted endpoint.

Test Connection button

Verify your API key and model directly on the config page — no guessing.

8 writing styles

Professional, Casual, Luxury, Technical, Playful, Minimalist, Persuasive, Storytelling.

4 description structures

Paragraphs + list, paragraphs only, list-focused, or structured with H3 headings.

Multi-language output

Generate content in any language. The AI translates and rewrites fully — no mixed languages.

Encrypted API key

Keys are stored using Magento's built-in Encrypted backend model.

ACL-controlled access

Separate permissions for generating content and managing configuration.

PageBuilder-aware

Descriptions are wrapped correctly whether or not PageBuilder is enabled on the store.

Anti-hallucination rules

The AI is instructed to use only facts present in the product data — no invented specs.

Fully configurable

Word count limits, max tokens, temperature, custom instructions, and per-field toggles.

Supported Providers

All providers use the standard /chat/completions API. Switch anytime without reinstalling.

OpenAIhttps://api.openai.com/v1
OpenRouterhttps://openrouter.ai/api/v1
Groqhttps://api.groq.com/openai/v1
DeepSeekhttps://api.deepseek.com/v1
Google Geminihttps://generativelanguage.googleapis.com/v1beta/openai
Custom endpointAny OpenAI-compatible URL

Installation

Requires the module to be available via Composer. Get it from the Adobe Commerce Marketplace.

Via Composer

Recommended

composer require bahrami/module-ai-content-generator
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Manual install

Download the zip from the Marketplace and extract to Magento root

mkdir -p app/code/Bahrami/AiContentGenerator
# Copy module files into that directory, then:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Requirements: Magento 2.4.4+ · PHP 8.1, 8.2, or 8.3 · An API key from any supported provider

How it works

01

Configure once

Go to Stores > Configuration > Bahrami > AI Content Generator. Set your provider, API key, writing style, and per-field toggles. Click Test API Connection to confirm.

02

Click Generate

Open any product in the Magento Open Source/Adobe Commerce admin. Click the Generate AI Content button in the product toolbar.

03

Review & approve

A modal shows all generated fields side by side. Select which ones to apply — or apply all at once.

04

Save the product

Fields are populated instantly in the product form. Save as usual. Done.