This ComfyUI workflow takes raw product photos, removes backgrounds, applies consistent studio lighting, and outputs standardized e-commerce images at 1024x1024 resolution. Batch processing handles 50+ images automatically.
TL;DR — Key Takeaways
- Batch Product Photo Enhancement with ComfyUI — Advanced level
- Tool: ComfyUI
- 5 steps with detailed instructions
- Prerequisites: ComfyUI installed, SAM model (ViT-H), IC-Light model, GPU with 8GB+ VRAM
Use Case
E-commerce stores with 50-500 product SKUs needing consistent, professional product photos without a photographer.
Prerequisites
ComfyUI installed, SAM model (ViT-H), IC-Light model, GPU with 8GB+ VRAM
Workflow Diagram
Batch Product Photo Enhancement with ComfyUI
Step-by-Step Guide
-
Input Batch Node
Use the Load Image Batch node to point at a directory of product photos. Set the batch size to match your folder. Enable auto-resize to 1024x1024.
-
Background Removal
Add a Segment Anything (SAM) node with the ViT-H model. Use the 'auto' mode to detect and mask the product. Add an alpha channel output node to save the cutout.
-
Relighting Pipeline
Connect to an IC-Light node for AI relighting. Set lighting direction to upper-left at 45 degrees. Choose a soft studio lighting preset. This creates consistent shadows and highlights across all products.
-
Background Compositing
Add an Image Composite node to place the product on a clean white/gradient background. Match your brand guidelines by adjusting the background color value.
-
Output and Naming
Use the Save Image node with a filename template: {original_name}_enhanced_{timestamp}.png. Save to an output directory. Enable metadata embedding for tracking which model/prompt was used.
Tags
This workflow answers:
- How to set up batch product photo enhancement with comfyui
- What tools and access you need
- How to troubleshoot common issues