AI Image Edit & Upscale Module Help

Your guide to generating, editing, and enhancing product images with AI.

Introduction

This module integrates directly into your PrestaShop product page, providing powerful AI tools to create new image variations and improve the quality of existing ones. The workflow is divided into two main functionalities: AI Image Generation (Editing) and AI Image Upscaling.

The main interface is located in the product editing page, under the "Modules" tab, by clicking on "AI Image Edit".

Workflow

The process is designed to be iterative and flexible:

  1. Select a Base Image: Click on any image from the "Original Product Images" gallery at the top, or on any previously generated result from the bottom area. The selected image will appear in the "Current Base Image (Position 1)" box. This image is now the input for all AI operations.
  2. Generate or Upscale: Use the tools in the right-hand columns to either generate a new version of the base image (edit) or to increase its resolution (upscale).
  3. Review and Re-use: New images appear in the "Generated / Upscaled Results" area at the bottom. You can save them directly to the product or click on them to make them the new base for further edits or upscaling.

AI Image Generation (Editing)

This feature uses the 'Current Base Image' and a text description (prompt) to create a new, edited version of the image. It's perfect for changing backgrounds, modifying styles, or adding elements.

Generation Parameters

  • Prompt: A mandatory text description of the changes you want to make. Be descriptive for better results. (e.g., 'Change the background to a sunny beach', 'make the product look like a watercolor painting').
  • Number of Images to Generate: Select how many variations (1-4) you want the AI to create in a single request. Each generation consumes credits.
  • Advanced Generation Settings (Click to expand):
    • Model: Choose between different AI models. They may have different capabilities and credit costs.
      • Pro: Standard, high-quality model. (5 credits)
      • Ultra: Advanced, potentially more detailed model. (10 credits)
    • Moderation Level: Controls the content filter strictness. A lower value is stricter. The default (2) is recommended for most e-commerce uses. (0=strict, 6=permissive).
    • Seed: An optional number. If you use the same seed with the same prompt and base image, the AI will try to produce a very similar result. Leave it empty for random variations.
    • Output Format: The format of the generated image (JPEG or PNG). This is different from the final format saved to PrestaShop, which depends on your store's global image settings.
    • Prompt Upsampling: A technical option from the BFL.AI API. When checked, it may improve the final detail of the generated image by better interpreting the prompt during the generation process.

AI Image Upscaling

This feature increases the resolution (size and quality) of the 'Current Base Image'. It's ideal for improving low-quality source images or creating high-resolution versions for zoom features.

Upscaling Parameters

  • Scale to original base dimensions: This option will upscale the current base image to match the dimensions of the first original product image you selected in your session. This is useful for making all your AI-generated images have a consistent, high resolution.
  • Scale current image x2: A simple option to double the width and height of the current base image.
  • Custom Scale x: Allows you to specify a precise scaling factor (e.g., 1.5 for a 50% increase, or 2.5 for a 150% increase).
  • Face Enhance: If the image contains faces, this option uses a specialized AI to improve the quality and detail of the faces during the upscaling process. It is recommended to keep this checked if people are present in the image.

Managing Results

Each image that appears in the 'Generated / Upscaled Results' area is a temporary preview. It is not part of the product until you click the 'Save' button.

  • Save: Clicking the 'Save' button below a result will permanently add that image to your product's image gallery and save it to your server according to your store's image settings (JPEG, WEBP, etc.).
  • Scale: For images created with 'Generate AI Images', a 'Scale' button appears. Clicking it is a shortcut that selects that image as the new base and immediately runs the upscaler on it using your current upscale settings.
  • Select as Base: Clicking on the image itself (not the buttons) will move it to the 'Current Base Image (Position 1)' area, allowing you to perform further edits or upscaling on it.