Skip to content

Latest commit

 

History

History
64 lines (29 loc) · 1.81 KB

File metadata and controls

64 lines (29 loc) · 1.81 KB

License: AGPL-3

OpenAI Edit Product Image

OpenAI Logo

This module allows to generate a new product image from a cropped product image with DALL-E.

Usage

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.

image

Go in menu Action and select Edit Product Image with DALL-E:

image

Select the image you prefer and click on Apply Image to set is as product image :

image

image

Action Edit Product Image with DALL-E is also available from the product list view.

Create a product image from scratch

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.

image image

Requirements

openai_connector is required.

This module requires the Python client library for OpenAI API

pip install openai

Maintainer