Apps Page Background Image
Workflows/E-commerce: Background Image Generation Based On Text

E-commerce: Background Image Generation Based On Text

Save it for me
Operate
@
MimicPC
03/21/2025
ComfyUI
Image Editing
E-Commerce
1 / 0
Detailed Introduction

Introduction

This template contains two workflows. The first workflow is named text2img, and its function is to generate a background based on the prompt word. It can make the product blend with the background and retain the text details. The second workflow is named img2img, and it has two functions. The first function is to generate a product background of the same style based on the background image provided by the user. It can also make the product blend with the background and retain the text details. The second function is to generate the desired background image based on the prompt word (just generate the background image).

https://www.shakker.ai/modelinfo/6985806ba87b4e479e46aaed825ae087/E-commerce-quality-Flux-lora?from=search

Workflow Overview

How to use this workflow:

Part 1 :text2img

In the upper left corner select text2img workflow.

Step 1: Upload product images

Upload product images.

Step 2: Image Adjustment

1.Fill in the resolution of the image in the first red box.

2.This is the first 'LayerUtility: ImageBlendAdvance V2' node.

3.In the second red box, adjust the position and size of the product in the background image.Adjust the 'x_percent' and 'y_percent' parameters to adjust the position of the product in the image,Adjust the 'scale' parameter to adjust the size of the item.

Step 3: Enter the prompt word and select the lora model

Step 4: Product Fusion

1.This is the second 'LayerUtility: ImageBlendAdvance V2' node. The 'scale' parameter must be 1 larger than the first 'LayerUtility: ImageBlendAdvance V2' node.

Step 5: Upcale

1.Enter the image in the first red box.

2.In the second red box, adjust the resolution multiplier.Adjust the 'upscale_by' parameter to adjust the factor by which the image resolution can be increased.

Part 2 :img2img

In the upper left corner select img2img workflow.

Step 1: Upload product images

Upload product images.

Step 2: Image Adjustment

1.Fill in the resolution of the image in the first red box.

2.This is the first 'LayerUtility: ImageBlendAdvance V2' node.

3.In the second red box, adjust the position and size of the product in the background image.Adjust the 'x_percent' and 'y_percent' parameters to adjust the position of the product in the image,Adjust the 'scale' parameter to adjust the size of the item.

Step 3: Upload background reference image and Enter the prompt word


Step 4: Product Fusion

1.This is the second 'LayerUtility: ImageBlendAdvance V2' node. The 'scale' parameter must be 1 larger than the first 'LayerUtility: ImageBlendAdvance V2' node.

Step 5: Upcale

1.Enter the image in the first red box.

2.In the second red box, adjust the resolution multiplier.Adjust the 'upscale_by' parameter to adjust the factor by which the image resolution can be increased.

Step 6: Background image generation

Select the lora model in the left box and enter the prompt word in the right box.

Details
APPComfyUI(v0.3.23)
Update Time03/21/2025
File Space24.5 GB
Models2
Extensions16