Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-ReferenceLatentPlus

ComfyUI Extension: comfyui-ReferenceLatentPlus

Repo Name

comfyui-ReferenceLatentPlus

Author
shootthesound (Account age: 1386 days)
Nodes
View all nodes(1)
Latest Updated
2026-05-07
Github Stars
0.02K

How to Install comfyui-ReferenceLatentPlus

Install this extension via the ComfyUI Manager by searching for comfyui-ReferenceLatentPlus
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-ReferenceLatentPlus in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

comfyui-ReferenceLatentPlus Description

comfyui-ReferenceLatentPlus enhances ComfyUI's ReferenceLatent node by offering per-image strength, timestep gating, MediaPipe auto-masks, and supports 1–4 image inputs with a megapixel cap on attention cost.

comfyui-ReferenceLatentPlus Introduction

The comfyui-ReferenceLatentPlus extension is a powerful enhancement for ComfyUI, designed to provide more control and flexibility over the reference latents used in AI art generation. This extension serves as a drop-in replacement for the standard ReferenceLatent node, offering a suite of advanced features that allow you to fine-tune how reference images influence your artwork. Whether you're looking to adjust the strength of influence, apply specific masks, or manage multiple reference images efficiently, ReferenceLatentPlus provides the tools you need to achieve your creative vision. It is particularly useful for AI artists who want to incorporate specific elements from reference images without unwanted artifacts or influences.

How comfyui-ReferenceLatentPlus Works

At its core, comfyui-ReferenceLatentPlus enhances the way reference images are used in the AI art generation process. In traditional setups, a reference image might simply be added to the conditioning process, influencing the output in a binary on/off manner. However, this extension allows for more nuanced control. Imagine you have a reference image of a person, but you only want to use the face and not the background. With ReferenceLatentPlus, you can apply a mask to isolate the face, adjust the strength of its influence, and even specify which parts of the denoising process it should affect. This is akin to having a dimmer switch for each reference image, allowing you to control how much light (or influence) it casts on your final artwork.

comfyui-ReferenceLatentPlus Features

  • Per-Image Strength Control: Adjust the influence of each reference image individually. You can set a strength value from -5.0 to 50.0, where 1.0 represents the default strength. Negative values can be used for experimental "anti-reference" effects, where the model is encouraged to diverge from the reference features.
  • Timestep Gating: Define specific portions of the denoising schedule during which a reference image is active. This allows you to control when the reference image influences the output, enabling more precise artistic effects.
  • Compositional Masks: Use MediaPipe auto-detection to create masks for specific regions like the face, hair, body, clothes, or background. This feature helps isolate parts of the reference image, ensuring only desired elements affect the final output.
  • Mask Fill Modes: Choose from three modes to handle masked-out regions: pixel_grey, latent_zero, and latent_noise. Each mode offers a different approach to neutralizing masked areas, affecting how the reference image integrates with the rest of the artwork.
  • Megapixel Cap: Control the computational cost by setting a maximum megapixel limit for reference images. This ensures that larger images do not disproportionately increase processing time, maintaining efficiency.
  • Multiple Image Inputs: Seamlessly manage up to four reference images within a single node. As you connect each image, additional slots become available, simplifying the workflow and reducing manual setup.

comfyui-ReferenceLatentPlus Models

The extension is compatible with a variety of models that utilize reference_latents, including:

  • Flux Family: Flux1, Flux2/Klein, LongCatImage
  • Lumina2 / Z-Image
  • Wan Family: Wan21, Wan22, Wan21_HuMo, Wan22_Animate
  • Hunyuan
  • Qwen-Image These models can leverage the enhanced capabilities of ReferenceLatentPlus to produce more refined and controlled outputs.

What's New with comfyui-ReferenceLatentPlus

Compared to the stock ReferenceLatent, this extension introduces several significant improvements:

  • Per-Image Signed Strength: Allows for more granular control over the influence of each reference image.
  • Per-Image Timestep Range: Offers the ability to restrict reference influence to specific parts of the denoising process.
  • Advanced Masking Options: Provides built-in MediaPipe-driven masks and multiple fill modes for greater flexibility.
  • Efficiency Enhancements: Includes a megapixel cap to manage computational resources effectively.

Troubleshooting comfyui-ReferenceLatentPlus

Here are some common issues and solutions:

  • MediaPipe Not Installed: If the auto-mask feature isn't working, ensure that MediaPipe is installed in your ComfyUI environment. Without it, the auto-mask feature will not function.
  • Unexpected Output: If the output doesn't match expectations, check the strength and timestep settings for each reference image. Adjusting these can significantly alter the influence of the reference images.
  • Performance Issues: If processing is slow, consider lowering the megapixel cap or reducing the number of reference images used simultaneously.

Learn More about comfyui-ReferenceLatentPlus

To further explore the capabilities of comfyui-ReferenceLatentPlus, consider checking out community forums and tutorials where AI artists share their experiences and tips. Engaging with these resources can provide valuable insights and inspiration for your projects. Additionally, reviewing example workflows, such as those provided in the extension's documentation, can help you understand how to effectively integrate this tool into your creative process.

comfyui-ReferenceLatentPlus Related Nodes

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 Models, enabling artists to harness the latest AI tools to create incredible art.

comfyui-ReferenceLatentPlus detailed guide | ComfyUI