Revolutionize Your Visual Content: High-Efficiency Image Editing Workflow

CN
ComfyUI.org
2025-06-23 10:04:27

1. Workflow Overview

mc8xgzxk1pdt8odv7c3压缩版本.jpg

This workflow is designed for high-efficiency image editing and compositing, with key features:

  • Multi-Image Fusion: Intelligently combines inputs (e.g., background replacement).

  • Advanced Editing: Uses FluxKontextPro/Max for object replacement/style transfer.

  • Aspect Ratio Adaptation: Auto-adjusts images (16:9, 1:1) without distortion.

2. Core Models & Nodes

Model/Node Name

Function

Installation

FluxKontextProImageNode

Cost-effective editing with prompt control.

Install FluxKontext plugin

FluxKontextMaxImageNode

Advanced edits (e.g., "Replace goose head with snake head").

Same as above

LayerUtility: ImageScaleByAspectRatio

Smart resizing (crop/letterbox modes).

Via ComfyUI Manager

3. Key Nodes

  • Input Phase:

    • LoadImage: Loads multiple inputs (e.g., social media images).

    • LibLibTranslate: Translates Chinese prompts to English.

  • Processing Phase:

    • PRO Mode: FluxKontextPro for basic edits (color/lighting).

    • MAX Mode: FluxKontextMax for complex modifications.

    • Fusion: ImageConcatMulti merges images horizontally/vertically.

  • Output & Comparison:

    • Image Comparer (rgthree): Side-by-side PRO/MAX results.

    • CR Simple Meme Template: Adds labels (e.g., "PRO"/"MAX").

4. Workflow Structure

  1. Group 1: Upload Images

    • Input: Multiple images (e.g., portrait + background).

    • Process: Unified scaling via ImageScaleByAspectRatio.

  2. Group 2: Chinese Prompts

    • Translates prompts (e.g., "Generate front/side/back views").

  3. Group 3 & 4: PRO/MAX Generation

    • Generates edits using FluxKontextPro/Max.

  4. Group 6: Comparison

    • Compares outputs with Image Comparer.

5. Inputs & Outputs

  • Inputs:

    • Images (various aspect ratios supported).

    • Chinese prompts (translated automatically).

    • Seed value (optional).

  • Output: Edited PNGs with comparison view.

6. Notes

  • Dependencies: Requires FluxKontext and rgthree plugins.

  • VRAM: 10GB+ recommended (e.g., RTX 3080).

  • Debug Tips:

    • Test with PRO mode first, then refine with MAX.

    • Use letterbox in ImageScaleByAspectRatio to avoid cropping.