ComfyUI_AdvancedRefluxControl
Run ComfyUI Easily with InstaSD
Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
Available Nodes
Documentation
ComfyUI Advanced Redux Control
Introduction
The ComfyUI Advanced Redux Control repository provides custom nodes designed to enhance the functionality of the Redux model in image generation workflows. This repository addresses limitations present in the Redux model, such as its inability to modify images based on a user's prompt. By allowing users to control the strength of the Redux effect, it provides more flexibility and precision in generating variations of images.
Installation
To install the ComfyUI Advanced Redux Control repository in your ComfyUI setup, follow these steps:
- Navigate to your local ComfyUI directory.
- Clone the repository using Git:
git clone https://github.com/kaibioinfo/ComfyUI_AdvancedRefluxControl.git - Install any dependencies if required by accessing the cloned repository and following any installation instructions.
Repository Purpose
This repository is designed to overcome the limitations of the Redux model, specifically its inability to incorporate prompts into image variations effectively. With custom nodes introduced in this repository, users can control the extent to which the conditioning image affects the final output. Additionally, it offers expanded functionality like masking and support for non-square images.
Provided Nodes
The repository includes two main nodes:
-
- A replacement for the ComfyUI StyleModelApply node.
- Allows users to control the influence of the conditioning image using a single strength option.
-
- Offers advanced customization options for image generation.
- Inputs: conditioning prompt, Redux style model, CLIP vision model, and optional mask.
- Parameters include downsampling factor, downsampling function, cropping mode, weight, and auto-crop margin.
Special Features and Capabilities
Masking
Version 2 of the repository introduces the capability to mask conditioning images. This allows selective application of the conditioning effect on specified parts of the image, providing users the ability to generate images with precise alterations.
Non-Square Image Support
The repository improves the handling of non-square images by automatically adding padded borders to create square images and generating an appropriate mask to ensure borders do not impact the output.
Customization Options
The nodes provide several options for tuning the generation process:
- Downsampling Factor: Controls how strongly the conditioning image influences the generated image.
- Downsampling Function: Different resizing functions (e.g., area, bicubic, nearest_exact) can be used, affecting the outcome.
- Cropping Mode: Options like center crop, keep aspect ratio, and autocrop with mask provide different methods to handle image aspect ratios.
Utility in ComfyUI Workflows
The ComfyUI Advanced Redux Control nodes can significantly enhance image generation workflows by:
- Enabling effective use of prompts to modify images, overcoming Redux's default limitations.
- Providing flexibility with masking and custom influence settings to produce a wide range of artistic effects.
- Supporting non-square images, which broadens the scope of input images that can be used in workflows.
These capabilities make it an essential tool for users looking to push the boundaries of image generation in ComfyUI, offering both basic and advanced options to cater to diverse user needs.