Zum Inhalt springen
Node packÜberprüftExtern
Quelle öffnen

ComfyUI-PuLID-Flux-Chroma

PuLID face identity preservation for FLUX and Chroma models in ComfyUI

Betreuer@PaoloC68UnratedBewertung

Paketprofil

Status
Überprüft
Verleger
@PaoloC68
Quelle
GitHub

README

ComfyUI-PuLID-Flux-Chroma

🎨 The first PuLID implementation with full Chroma model support for ComfyUI!

Face-consistent character generation using PuLID (Pure and Lightning ID) with both FLUX and Chroma models in ComfyUI.

🌟 Key Features

  • Full Chroma Compatibility: First working implementation of PuLID with Chroma guidance
  • Dual Model Support: Works seamlessly with both standard FLUX and Chroma models
  • Automatic Model Detection: Intelligently switches between FLUX and Chroma implementations
  • Face Identity Preservation: Maintains consistent character faces across generations
  • AMD GPU Optimized: Tested and optimized for AMD RX 6900 XT (16GB VRAM)

🚀 What's New

Chroma Model Support

This fork introduces groundbreaking Chroma model compatibility, allowing you to use PuLID's powerful face identity preservation with Chroma's enhanced detail and artistic capabilities.

Tested with: chroma-unlocked-v35-detail-calibrated_float8_e4m3fn_scaled_stochastic.safetensors

Technical Improvements

  • Resolved dtype compatibility issues between BFloat16/Half precision
  • Implemented Chroma's custom modulation system
  • Fixed missing time_in attribute in Chroma models
  • Comprehensive dtype conversion throughout the pipeline

See CHANGELOG.md for detailed technical achievements.

📦 Installation

  1. Navigate to your ComfyUI custom nodes directory:

    cd ComfyUI/custom_nodes
    
  2. Clone this repository:

    git clone https://github.com/[your-username]/ComfyUI-PuLID-Flux-Chroma.git
    
  3. Install requirements:

    cd ComfyUI-PuLID-Flux-Chroma
    pip install -r requirements.txt
    
  4. Download the PuLID model:

    • Download pulid_flux_v0.9.1.safetensors (1.06GB)
    • Place it in ComfyUI/models/pulid/

🎮 Usage

Basic Workflow

  1. Load your Chroma or FLUX model as usual
  2. Add the "Apply PuLID Flux" node
  3. Connect your reference face image(s)
  4. The node automatically detects and adapts to your model type

Example Workflows

  • examples/chroma_pulid_basic.json - Basic Chroma + PuLID workflow with clear documentation
  • examples/chroma_pulid_fashion_showcase.json - Fashion showcase demonstrating face consistency across multiple outfits
  • examples/flux_pulid_multi.json - Multi-face FLUX workflow (legacy FLUX support)

🎭 Fashion Showcase Demo

The fashion showcase workflow demonstrates PuLID's remarkable ability to maintain facial identity across completely different scenarios. This three-stage workflow creates:

  1. Reference Portrait: A neutral, professional headshot generated with Chroma
  2. Swimsuit Scene: The same face in an elegant swimsuit on a fashion catwalk
  3. Evening Dress Scene: The same face in a haute couture gown on a fashion catwalk
Reference PortraitSwimsuit SceneEvening Dress Scene
ReferenceSwimsuitEvening Dress
Base face generated with ChromaSame identity in swimsuitSame identity in evening wear

Notice how PuLID preserves the facial features, bone structure, and overall identity while allowing complete freedom in styling, outfit, and pose. This demonstrates the power of combining Chroma's artistic capabilities with PuLID's identity preservation.

Optimal Settings for Chroma

  • Resolution: 768x768
  • Steps: 26 (Chroma's optimal)
  • PuLID weight: 0.9-1.0
  • Sampler: Euler Simple or Euler Beta

🔧 Advanced Features

All original PuLID-Flux-Enhanced features are preserved:

Fusion Methods

  • mean (official) - Balanced fusion of multiple faces
  • concat - Concatenate embeddings
  • max/max_token - Emphasize dominant features
  • train_weight - Novel fast embedding self-training

Additional Options

  • RGB/Gray image toggle
  • Prior image support for guided training

Knoten in diesem Paket

4 Knoten (Plural)
  • ApplyPulidFlux
  • PulidFluxEvaClipLoader
  • PulidFluxInsightFaceLoader
  • PulidFluxModelLoader

Quellen

3 Quellen
GitHubQuelle
github.com/PaoloC68/ComfyUI-PuLID-Flux-Chroma

Verifiziert 4. Nov.

GitHubQuelleVersion 52dc5068e0fc304e51273cfa5fbdd031e1ddb824
github.com/PaoloC68/ComfyUI-PuLID-Flux-Chroma

Verifiziert 23. Okt.

Quellenauszüge

1 Auszug

Source context: Repo PaoloC68/ComfyUI-PuLID-Flux-Chroma