ComfyUI > Nodes > ComfyUI PhotoMaker Plus

ComfyUI Extension: ComfyUI PhotoMaker Plus

Repo Name

ComfyUI-PhotoMaker-Plus

Author
shiimizu (Account age: 1766 days)
Nodes
View all nodes(3)
Latest Updated
2024-08-05
Github Stars
0.19K

How to Install ComfyUI PhotoMaker Plus

Install this extension via the ComfyUI Manager by searching for ComfyUI PhotoMaker Plus
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI PhotoMaker Plus 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI PhotoMaker Plus Description

ComfyUI PhotoMaker Plus integrates PhotoMaker models into ComfyUI, enhancing photo editing capabilities. Users must delete the old custom_nodes/ComfyUI-PhotoMaker directory and reinstall due to a repository name change.

ComfyUI PhotoMaker Plus Introduction

ComfyUI-PhotoMaker-Plus is an extension for ComfyUI that integrates the capabilities of PhotoMaker. This extension allows AI artists to create highly realistic human photos with customizable features, ensuring better face resemblance and efficient memory usage. It is designed to be fast and compatible with future updates of ComfyUI, making it a reliable tool for your creative projects.

How ComfyUI PhotoMaker Plus Works

ComfyUI-PhotoMaker-Plus leverages the power of PhotoMaker to generate realistic human photos by using a technique called "Stacked ID Embedding." This method involves embedding identity features into the generated images, ensuring that the output closely resembles the input photos. The extension uses the CLIPImageProcessor to enhance face resemblance and automatically detects and loads PhotoMaker LoRA (Low-Rank Adaptation) models, which are specialized models that fine-tune the generation process.

Imagine you have a digital artist who can draw portraits based on a set of instructions and reference images. ComfyUI-PhotoMaker-Plus acts like this artist, taking your input images and prompts to create new, realistic photos that maintain the identity of the subjects.

ComfyUI PhotoMaker Plus Features

Better Face Resemblance

The extension uses the CLIPImageProcessor to ensure that the generated faces closely resemble the input images. This feature is particularly useful for creating realistic portraits where maintaining the subject's identity is crucial.

Automatic LoRA Detection and Loading

ComfyUI-PhotoMaker-Plus automatically detects and loads PhotoMaker LoRA models in the LoraLoader nodes. This automation simplifies the workflow, allowing you to focus more on the creative aspects rather than the technical setup.

Customizable Trigger Word

You can define a trigger word that activates specific features or styles in the generated images. This customization allows for greater control over the final output, making it easier to achieve the desired artistic effect.

Multiple Trigger Words

The extension supports multiple trigger words in the prompt, giving you the flexibility to combine different styles and features in a single image. This feature can be particularly useful for complex projects that require a blend of various elements.

Extra Nodes

ComfyUI-PhotoMaker-Plus includes additional nodes such as PhotoMakerStyles and PrepImagesForClipVisionFromPath. These nodes provide more options for customizing the image generation process, allowing for a more tailored and refined output.

ComfyUI PhotoMaker Plus Models

The extension uses the PhotoMaker model, which can be downloaded from Hugging Face. This model is designed to generate realistic human photos with high fidelity to the input images. By using different LoRA models, you can further customize the output to achieve various artistic styles and effects.

What's New with ComfyUI PhotoMaker Plus

2024-01-24

  • Official support for PhotoMaker has been integrated into ComfyUI. The repository name has been updated, and the PhotoMakerEncode node is now PhotoMakerEncodePlus.

2024-01-21

  • Due to updates and changes in various nodes, you may need to recreate the node setup.
  • The ref_images_path input has been removed, and a new PrepImagesForClipVisionFromPath node has been added.

2024-01-18

  • Manual extraction of the LoRA model is no longer necessary, simplifying the setup process.

Troubleshooting ComfyUI PhotoMaker Plus

Common Issues and Solutions

Issue: Model Not Loading

  • Solution: Ensure that the PhotoMaker model is placed in the correct directory (ComfyUI/models/photomaker). Verify that the model files are not corrupted and are compatible with the extension.

Issue: Poor Face Resemblance

  • Solution: Check if the CLIPImageProcessor is correctly configured. Adjust the input images and prompts to improve the resemblance. Experiment with different LoRA models to find the best match.

Issue: Trigger Words Not Working

  • Solution: Verify that the trigger words are correctly defined in the prompt. Ensure that the extension supports the specific trigger words you are using.

Frequently Asked Questions

Q: Can I use multiple LoRA models simultaneously? A: Yes, ComfyUI-PhotoMaker-Plus supports the use of multiple LoRA models, allowing you to blend different styles and features.

Q: How do I update the extension? A: You can update the extension by pulling the latest changes from the repository or using the ComfyUI Manager.

Learn More about ComfyUI PhotoMaker Plus

For additional resources, tutorials, and community support, you can explore the following links:

ComfyUI PhotoMaker Plus Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.