Unlock Professional E-commerce Product Enhancement with AI-Powered Workflow

CN
ComfyUI.org
2025-04-21 09:47:25

Unlock stunning e-commerce visuals with our AI-powered workflow! Enhance products with auto background replacement, IC lighting simulation, and 4K upscaling. Discover how to elevate your online store's visual game.

Use Case
Ecommerce
Best For
Ecommerce
Models
Lora
Key Nodes
Upscaler
VRAM
Low VRAM (≤8GB)
Reading Time
3 min
View Required ModelsMore Ecommerce Workflows

Workflow Overview

Unlock stunning e-commerce visuals with our AI-powered workflow! Enhance products with auto background replacement, IC lighting simulation, and 4K upscaling. Discover how to elevate your online store's visual game.

Content type: Workflow

Primary intent: Download

Required Models

  • Lora

Required Nodes

  • Upscaler

Setup Notes

  • Install the required models before opening the workflow template.
  • Recommended hardware: Low VRAM (≤8GB).

1. Workflow Overview

m9qw6gkj5ay57rggltl5a1467f474fb67c2ec97a448c32e05f14849f92880a059a6949c8245d650f51b.png

This e-commerce product enhancement workflow integrates three core functions:

  1. Auto Background Replacement: Isolate products from white-background images (e.g., cosmetics → forest/lab scenes)

  2. IC Lighting Simulation: Physically accurate lighting via ICLight model

  3. 4K Upscaling: Detail-preserving super-resolution (4x_NMKD-Siax_200k)

2. Core Models

Model Name

Function

All-in-One E-commerce Model 1.0

Main model (product-scene fusion)

iclight_sd15_fc.safetensors

IC Lighting simulator

segmentation_mask_brushnet_sdxl_v1

Precision matting model

4x_NMKD-Siax_200k

4x upscaler (material-aware)

3. Key Nodes

Node Name

Function

Installation

SegmentAnythingUltra V2

AI matting (sam_vit_h backbone)

Requires ComfyUI-SegmentAnything

ICLightConditioning

Light direction/intensity control

Install ComfyUI-IC-Light

UltimateSDUpscale

Tile-based 4K upscaling

Built-in

DetailTransfer

Texture preservation

Needs ComfyUI-Detailer

4. Workflow Groups

  1. Input Group

    • Nodes: LoadImage (product + style reference)

    • Input: 1080x1080 white-background product image

  2. Matting & Preprocessing

    • Nodes: SegmentAnythingUltraGrowMaskWithBlur

    • Output: Feather-edged product mask

  3. Background Generation

    • Nodes: KSampler + BrushNet

    • Params:

      • Prompt: "masterpiece, RAW photo, 8k details"

      • LoRA: E-commerce Forest Scene XL (weight 0.5)

  4. IC Lighting

    • Nodes: LightSource + ICLightConditioning

    • Params: Top Right Light, strength 0.185

  5. Final Output

    • Nodes: UltimateSDUpscaleSaveImage

    • Params: Tile size 512x512, CRF 19

5. Inputs & Outputs

  • Inputs:

    • Product image: White/plain background (≥1080x1080)

    • Style prompt: e.g., "lab scene, metallic texture, cool tone"

    • Lighting: Direction/color/intensity (default: top-right white)

  • Output:

    • 4K PNG (optional transparency)

    • Metadata includes all generation parameters

6. Notes

  1. VRAM Optimization:

    • 6GB VRAM min (8GB+ recommended for upscaling)

    • Enable tile_size=512 to avoid OOM

  2. Matting Tips:

    • Adjust GrowMaskWithBlur radius for complex edges (default 1px)

  3. Troubleshooting:

    • Unnatural lighting: Reduce ICLightConditioning weight (e.g., 0.1→0.05)

    • Background leaks: Increase BrushNet mask_grow (default 10px)


FAQ