Minimalist Masterpiece: AI-Powered Workflow for Gradient-Style Art

CN
ComfyUI.org
2025-04-01 14:34:20

1. Workflow Overview

m8yllq9db8spccitdxi865ff543bd29b7656aade3808929743cc9a7ffbf54ac86ad4ee69cd8e07da565.GIF

This workflow converts real photos into minimalist gradient-style illustrations by:

  • Triple ControlNet (Canny/Depth/Scribble) for structure preservation

  • IPAdapter style transfer for gradient color effects

  • Chibi LoRA enhancing cartoonish style

  • Outputs HD illustrations at 896x1184 resolution


2. Core Models

Model Name

Function

Key Files/Params

RealVisXL Turbo

Base model (realistic→illustration)

RealVisXL Turbo _v4 lightning

XLSLSH-Chibi LoRA

Flat style enhancement

Strength=0.3

CLIP-ViT-H-14 Encoder

Image feature extraction

CLIP-ViT-H-14-laion2B-s32B-b79K


3. Key Nodes

Node Name

Function

Installation

Triple ControlNet

Canny edge + Depth + XDoG scribble

Install ComfyUI-ControlNet

IPAdapterAdvanced

Style transfer (weight=0.3)

Install IPAdapter-ComfyUI

Scribble_XDoG_Preprocessor

Hand-drawn sketch generation

Install ComfyUI-ScribbleNodes


4. Workflow Structure

  • Group 1: Input Processing

    • LoadImage: Resizes input to 896x1184

    • Canny/Depth/XDoG: Generates control maps

  • Group 2: Style Transfer

    • IPAdapter: Injects gradient style (prompt: "Flat gradient illustration, beige background")

    • LoRA Loader: Applies Chibi style

  • Group 3: Generation

    • ControlNetApplyAdvanced: Multi-control (edge=0.4/depth=0.2/scribble=0.2)

    • KSampler: Uses DPM++ 2M (30 steps, CFG=7)


5. Inputs & Outputs

  • Required Inputs:

    • Any real photo (clear subject recommended)

    • Style prompt (e.g., "Clean modern design with flat gradients")

  • Outputs:

    • PNG illustration (896x1184)

    • Auto-saved to ComfyUI/output


6. Notes

⚠️ Critical Configs:

  1. VRAM Optimization:

    • Enable VAEDecodeTiled for 8GB GPUs

    • Reduce resolution to 768x1024 if needed

  2. Plugin Dependencies:

    # ControlNet
    git clone https://github.com/comfyanonymous/ComfyUI-ControlNet
    # IPAdapter
    git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
    # Scribble
    git clone https://github.com/space-nuko/ComfyUI-ScribbleNodes
  3. Style Tuning:

    • Adjust weight in IPAdapterAdvanced (0.3-0.6)

    • Modify threshold in XDoG_Preprocessor (default=30)

Share to