This module allows to generate a new product image from a cropped product image with DALL-E.
On a product, select DALL-E tab, add a PNG image with transparency or add a mask image, and write a description of the result you want:
You can also set an image ratio.
Go in menu Action and select Edit Product Image with DALL-E:
Select the image you prefer and click on Apply Image to set is as product image :
Action Edit Product Image with DALL-E is also available from the product list view.
Leave the Source Image field empty, select Edit Product Image with DALL-E action.
This option will turn any product into a DALL-E playground...
You can also update the template "edit_product_image_template" to create your own prompt from your product properties.
openai_connector is required.
This module requires the Python client library for OpenAI API
pip install openai
- This module is maintained by Michel Perrocheau.
- Contact me on LinkedIn.