ComfyUI  >  Workflows  >  PuLID Flux II | Consistent Character Generation

PuLID Flux II | Consistent Character Generation

PuLID Flux II solves the model pollution challenge in character-based image generation. By injecting character features while preserving artistic integrity, it maintains high consistency across any style without disrupting the model's creative capabilities. Compatible with TeaCache and WaveSpeed for faster processing, PuLID Flux II is optimized for rapid production scenarios requiring clean style preservation and precise character control.

ComfyUI PuLID Flux II Workflow

PuLID Flux II in ComfyUI | Consistent Character AI Generation
Want to run this workflow?
  • Fully operational workflows
  • No missing nodes or models
  • No manual setups required
  • Features stunning visuals

ComfyUI PuLID Flux II Examples

pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_01.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_02.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_03.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_04.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_05.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_06.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_07.webp
pulid-flux-ii-in-comfyui-consistent-character-ai-generation-1204-example_08.webp

ComfyUI PuLID Flux II Description

1. What is PuLID Flux II?

PuLID Flux II is an advanced consistent character technique for AI image generation in ComfyUI. It solves the critical "model pollution" issue that plagued earlier character insertion methods, allowing you to organically integrate specific characters into AI-generated art while maintaining the original model's artistic style, lighting, and composition integrity. Think of PuLID Flux II as giving the AI a reference photo and saying, "Preserve this person's unique features while maintaining your artistic vision for everything else."

2. Key Improvements in PuLID Flux II:

  • Zero Model Pollution: Major improvement over the original - insert characters without compromising background, style, or lighting quality
  • TeaCache Compatibility: Dramatically accelerates workflows by supporting caching of intermediate results
  • WaveSpeed Support: Turbocharges generation times for production environments
  • Attention Mask Control: Fine-tunes how the model focuses on different image elements for enhanced detail

3. How to Use ComfyUI PuLID Flux II

3.1 Creating Dual Character Images with PuLID Flux II

This PuLID Flux II workflow is designed to create scenes featuring two different people with perfectly consistent characters:

Basic Setup for Dual Character Generation with PuLID Flux II:

  1. Upload your reference images:
    • Add your first person's reference image to the left Load Image node
    • Add your second person's reference image to the right Load Image node
  2. Create your scene:
    • Enter a prompt describing a scene with two people in the CLIP Text Encode node
  3. Configure character consistency in PuLID Flux II:
    • Adjust both Apply PuLID Flux nodes' weight parameters (higher values = stronger character consistency)
    • Fine-tune FluxGuidance settings (recommendation: start with 2.5–3.5)
    PuLID Flux II PuLID Flux II
  4. Generate your image with Queue

TIP: When using PuLID Flux II to generate scenes with two people, the order of your Load Image nodes is important. The left reference image typically corresponds to the first person described in your prompt, and the right reference image to the second person. Using descriptive characteristics in your prompt may help guide the model to place characters correctly. Note that attention mask settings can also influence the final character placement.

Tips for Best Results with PuLID Flux II:

  • Use clear, front-facing reference photos with good lighting
  • Create prompts that naturally incorporate two people
  • Balance the weight parameters for consistent character representation across both subjects

3.2 Parameter Reference for PuLID Flux II

Apply PuLID Flux Node in PuLID Flux II:

  • weight: Controls character consistency strength (1.0 = strongest)
  • start_at: Controls when in the diffusion process to begin applying character features (0.0 = start from the beginning of generation)
  • end_at: Controls when in the diffusion process to stop applying character features (1.0 = continue until the end of generation)
  • attn_mask: Enables attention masking for enhanced detail control

Understanding the Timing Parameters in PuLID Flux II: AI image generation happens through a multi-step diffusion process (typically 20–50 steps). The start_at and end_at parameters control when during this process the character features are applied:

  • Default values (0.0 to 1.0) apply character features throughout the entire generation process
  • Adjusting these values (e.g., 0.3 to 0.7) applies character features only during specific portions of the generation
  • This fine control can help balance character consistency with artistic freedom
PuLID Flux II

Masking System in PuLID Flux II: The PuLID Flux II workflow includes a masking system (SolidMask, MaskComposite, InvertMask nodes) that provides fine-grained control over which areas of the image receive character consistency:

  • This advanced feature allows you to selectively apply character features to specific regions
  • Useful for complex scenes where you want character consistency only on faces, not backgrounds
  • For most use cases, the default settings work well without manual mask adjustments
PuLID Flux II

WaveSpeed & TeaCache Integration with PuLID Flux II:

  • This PuLID Flux II workflow has already been optimized with proper node connections for both WaveSpeed and TeaCache
  • The correct order of nodes is pre-configured to ensure maximum performance
  • When using WaveSpeed with PuLID Flux II, remember that fp8_e5m2 data type generally provides the best balance of speed and quality

3.3 Advanced Optimization Tips for PuLID Flux II

Balancing Dual Characters in PuLID Flux II:

  • For equal prominence, use similar weight values for both characters
  • To make one character more dominant, increase its weight value relative to the other
  • Start with medium values (0.6–0.8) and adjust based on results

Timing Control for Better Results with PuLID Flux II:

  • For stronger character consistency with more creative composition, try start_at=0.0, end_at=0.8
  • For stronger artistic style with subtle character hints, try start_at=0.2, end_at=1.0
  • Experiment with different combinations to find the perfect balance for your specific needs

Performance Tuning for PuLID Flux II:

  • Enable TeaCache for repeat generations of similar prompts
  • Utilize WaveSpeed for rapid results in production environments
  • For other configuration options and single-character workflows, refer to the

Acknowledgements

This workflow is based on PuLID Flux II developed by lldacing, which improves upon the original PuLID Flux by solving the model pollution problem. The PuLID Flux II integration enables high-fidelity character consistency while maintaining artistic integrity across diverse generation scenarios. Full credit goes to the original author for their awesome work on PuLID Flux II.

Want More ComfyUI Workflows?

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.