Image Background Generation

Introduction

Image Background Generation can automatically extract the main object from an image and generate high-quality product images in various scene styles based on the product's characteristics. The product is equipped with multiple scene styles and design references, aiming to improve the efficiency of content creation and optimize scene variety, thereby increasing store conversion rates. Currently, the product supports both API and editor integration methods to meet diverse needs.

Use Cases

  • Product Image Optimization: Generate realistic images with AI-generated scenes to optimize the visuals of products in e-commerce scenarios.

  • Content Diversity: Supports multiple scene styles to match different product positioning and marketing milestones, enhancing the efficiency of content production.

Key Features

  • It supports automatic generation of suitable backgrounds based on product category and characteristics.

  • It also provides diverse style scenes and design references, and we will continuously iterate to create better-performing scene themes.

  • It supports both API and editor integration methods to meet the needs of different users.

Samples

Original image(input)Result image(output)

Pricing

To use the API, you are required to choose and purchase an API resource pack from us on a subscription basis.

  • Each resource pack is valid for one calendar year upon successful purchase, and enables you to access the API up to the number of requests specified in the pack. No refunds can be provided.

  • If you need to purchase more QPS due to business requirements, please contact us via navigation bar or email us (aidge_support@service.alibaba.com).

  • Resource packs cannot be used across different products. For example, if you need to use both product text translation and image translation, you must purchase separate resource packs for each.

The prices are as follows:

CapacityPrice (USD)Unit Price(USD)Maximum QPS

1,000 images

128

$0.128 /image

1

10,000 images

1170

$0.117 /image

1

100,000 images

7200

$0.072 /image

1

Interface

It supports both API and editor integration methods.

  • It is recommended to use the editor integration method for a better experience and generation effect. The editor integration capabilities will be launched soon. Please contact us via navigation bar or email us (aidge_support@service.alibaba.com) if you have any needs before the launch.

interfacesupported featuresuse casescompetitive advantageslimitations

API interface

1)Recommend suitable scenes based on the input product title and other information, and obtain the required scene numbers.

2)Input the specified scene number to generate product scene images in the corresponding style.

Suitable for users with minimal custom requirements for generated background images; Also for users with high demands for automation and ease of interface.

1)More simple and convenient than editor.

1)Unable to freely adjust the product position; the generation mode is singular, limiting the effects.

2)Limited selection of scenes, unable to meet diverse and differentiated needs.

Editor interface

1)With the control page of users.

2)Users can select suitable scenes or reference images within the editor, and adjust the position and size of the product within the image.

Suitable for users with high customization and diverse scene generation needs; and for systems with corresponding user interfaces and interactions.

1)It supports multiple scene image generation modes, including text-to-image and image-to-image.

2)Over 100 optimized preset scenes and reference images, enabling quick generation of suitable scene content.

3)It supports custom input of scene descriptions and reference images.

1)The develop cost is more than API interface.

Quick Start

  • Take the API interface as an example to demonstrate the invocation example.

Description of the API Stringing Process Involved

Step 1: Call the Scene Recommendation and Query API to get suitable scenes and their numbers based on product information (such as title, image, category, etc.). Currently, there are over 70 scenes with different content and styles to choose from.

Step 2: Call the Image Background Generation API, input the specified scene number, initiate the generation task, and obtain the task ID.

Step 3: Call the Image Background Generation Query API, input the task ID, and obtain the generated result of the product scene image in the corresponding style.

For related request and response samples, please refer to the content of each API reference.

FAQ

  1. Why do the generated results vary?

Background Generation can create matching scenes, but it also has a certain degree of randomness and unpredictability. The quality of the generated results can be affected by the quality of the input images and the category of product. The scene generation capability performs better on consumer goods, but there may be variations in generated results for categories such as hardware and accessories.

  1. What is the difference between the AI Scene mode and the Reference Image mode when generating using the editor?

In AI Scene mode, the generation will be more divergent, with greater diversity and richness, but it will also have higher unpredictability. In Reference Image mode, the generation will be more controllable, with a higher correlation to the reference image, resulting in smaller differences in the output. The choice of mode should depend on the actual image generation needs.

  1. How many scene images can be generated in one API call?

A single task generates a minimum of 2 and a maximum of 10 scene images. If not specified, the default is to generate 4 images. For details, refer to the Image Background Generation API documentation.

Last updated