Mastering Image Retouching: A Comprehensive Workflow for E-commerce

CN
ComfyUI.org
2025-03-28 10:42:23

1. Workflow Overview

m8snk0s1v0rjrqih5z52b3d799bba37df2ce29271a9d545fe84da717847a1031d390af4937a69c7f9b.gif

Purpose: Automatically retouch product images with HD upscaling, detail enhancement, and color correction.
Core Models:

  • Base Model: åŸēįĄ€įŽ—æŗ•_F.1 (General-purpose, FP8 optimized).

  • LoRA: HyperL-F.1-加速器-PAseer_AcceleratorV3.1 (Speeds up sampling and enhances details).

  • VAE: ae.sft (Improves color decoding).

  • CLIP: t5xxl_fp8_e4m3fn (Multimodal text encoder).


2. Key Nodes

Node

Function

Installation

FluxForward/ReverseODESampler

Flux-based ODE sampler for stable generation.

Requires ComfyUI-Flux (GitHub manual).

Image Lucy Sharpen

Sharpening algorithm for edges/textures.

Install via ComfyUI Manager.

InFluxModelSamplingPred

Dynamic noise scheduling (params: width=1024, height=1024).

Part of ComfyUI-Flux.

ImageResize+

Resizes images (default 1536px, preserves aspect ratio).

Bundled with ComfyUI-Essentials.

Dependencies:

  • LoRA Model: Download HyperL-F.1-加速器 → save to models/loras.

  • Input Image: Replace 1.png path in LoadImage node.


3. Workflow Groups

Group

Function

Inputs/Outputs

Inverse Sampling

Encodes input image to latent space for initial denoising.

Input: Product image → Output: Latent.

Resampling

Enhances details via LoRA and Flux sampler.

Input: Latent → Output: HD image.

Post-Processing

Sharpening (Image Lucy Sharpen) and A/B comparison (Image Comparer).

Input: Generated image → Final output.


4. Inputs & Outputs

Input Parameters:

  • Image: Customize path in LoadImage node.

  • Resolution: Default 1536px (adjust in ImageResize+).

  • Steps: Fixed 8 (speed-quality balance).

Output:

  • HD product image (sharpened), previewed via PreviewImage and Image Comparer.


5. Tips & Warnings

  • VRAM: â‰Ĩ8GB GPU recommended for 1536px.

  • Common Errors:

    • Invalid image path → Check LoadImage node.

    • LoRA not working → Verify model name/strength (default 1.0).

  • Optimizations:

    • Reduce Image Lucy Sharpen values (e.g., 3→2) if oversharpened.

    • Tweak FluxReverseODESampler denoise (0.9) for detail control.

Share to