Back to Top

User Guide For Magento 2 AI Base Image Generator

Updated 21 November 2025

Magento 2 AI Base Image Generator allows admins to create realistic product images using AI, with the ability to customize the model’s age, gender, body build, and skin color.

It helps merchants save time, reduce photoshoot costs, and maintain visual consistency across their product catalog.

Using this module, admins can generate AI-based product images by customizing the model’s age, gender, body type, and skin tone — all with just a few clicks.

Apart from that, Custom Option with Stock and Images for Magento 2 extension allows you to display custom options as text swatches on the product page.

Additionally, you can check the Magento 2 Image Gallery module, which allows the admin to add and manage images in multiple galleries and organize those galleries into various groups as needed.

Searching for an experienced
Magento 2 Company ?
Find out More

Features

  • Generate product images automatically using AI.
  • Customize the model’s age, gender, body type, and skin color.
  • Save generated images directly to the product gallery.
  • Automatically link images to the Magento product catalog.
  • Easy to configure with Gemini API integration.

Installation

Customers will get a zip folder then they have to extract the contents of this zip folder on their system.

The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento 2 root directory on the server, as shown below.

Move module to magento directory

After the successful installation, you have to run these commands in the Magento 2 root directory:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush

Multi-lingual Support

For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German

(the language into which the admin wants to translate his store content).

multi-language

Language Translation

For Magento 2 AI Base Image Generator translation, navigate to the following path in your system src/app/code/Webkul/AIBaseImageGenerator/i18n.

Open the file named en_US.CSV for editing as shown in the below screenshot.

tranlation dir path

Now, upload it to the path src/app/code/Webkul/AIBaseImageGenerator/i18n where the installation of Magento 2 is on the server. The module gets translated into the desired language.

The user can edit the CSV like the image below.

translate file

After editing and translating the CSV file, you need to save the translated file name according to your region, language, and country code, such as – de_DE.CSV.

Followed by uploading the translated file to the same folder from where you have obtained it. Now your module translation is complete.

translate files

How to get the Gemini Key?

To get the Gemini key, please refer Link

Module Configuration

For Magento 2 AI Base Image Generator configuration, the admin needs to navigate “Store > Configuration > Webkul > AI Base Image Generator”.

module configuration

Note: Please ensure you have an active paid Google Gemini API plan to use all features of the AI Base Image Generator.

Here, the admin will be able to see the following configuration under General Settings

  • Enable Module – Dropdown to enable or disable the extension.
  • Gemini API Key – Enter the Gemini Key
  • Gemini Model – Enter the Gemini Model

Once configured, the admin needs to save the settings to apply the changes.

Workflow of Magento 2 AI Base Image Generator

Once the setup is complete, the admin can generate AI images for existing products.

Navigate to the product add/edit page, click on the Generate Images button from the Images And Video section

product image section

Select the Image that you want to generate

select the img to gererate new ai image

Select the following before generating the image: Age, Gender, Body Type, and Skin Tone.

generated image using ai

Click Add Images To Product to save the image, or Try Again to generate a new one.

Save generated image

After saving the product, make sure the Magento cron is running to update and display the generated image properly on the frontend.

generated image on frontend

Once the AI image is generated and saved, you can view it directly on the product page.

That’s all for the Magento 2 AI Base Image Generator.

However, if you still have any issues, feel free to add a ticket and let us know your views to make the module better at Webkul.uvdesk.com

Current Product Version - 4.0.0

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

User Guide For Magento 2 AI Base Image Generator