Visit ComfyUI Online for ready-to-use ComfyUI environment
ComfyI2I enhances ComfyUI with custom nodes for advanced image-to-image processing, enabling users to perform complex transformations and manipulations within the interface.
ComfyI2I is an extension designed to enhance the capabilities of ComfyUI by providing a set of custom nodes specifically for image-to-image (I2I) functions. This extension is particularly useful for AI artists who want to manipulate and transform images with ease. Whether you are looking to transfer colors between images, create masks, or perform complex image editing tasks, ComfyI2I offers a range of tools to help you achieve your creative goals.
ComfyI2I operates by adding custom nodes to ComfyUI, each designed to perform specific image manipulation tasks. Think of these nodes as individual tools in a digital artist's toolkit. Each node can be connected to others to create a workflow that processes images in a step-by-step manner. For example, you might use one node to create a mask from an image, another to transfer colors, and yet another to combine and paste the final result. This modular approach allows for great flexibility and creativity.
ComfyShop is a painting application integrated into ComfyI2I, offering intuitive and comfortable painting features.
Access ComfyShop: Right-click on any image node that outputs an image and mask, then select ComfyShop from the pop-up menu. Access ComfyShop
Brush Menu: Press Shift + Right Mouse Button anywhere on the canvas to access the brush menu. You can also use keyboard shortcuts to change brush settings. Brush Menu
Zoom In/Out: Use Ctrl + Space + Mouse Move Left/Right to zoom in and out, and Ctrl + Space + Click and Drag to pan the canvas. Zoom Out Zoom In
Save to Node: Save anything painted in greyscale to the 'MASK' output and anything painted in RGB mode to the 'IMAGE' output. Save Outputs
This node allows you to transfer colors from one image to another, offering various customization options.
No_of_Colors: Choose the number of colors to extract from each image. Typically, 5-20 colors are sufficient. No_of_Colors
Blur_Radius and Blur_Amount: Control how the edges of the color segments blur. Blur_Radius
Strength: Adjust the strength of the color transfer effect. Strength
Gamma, Contrast, and Brightness: Fine-tune the gamma, contrast, and brightness of the resulting image. Gamma Contrast Brightness
Masked Color Transfer: Transfer colors to specific masked regions for more control. Masked Color Transfer
This node performs various operations on masks created from images or text prompts.
Separate_Mask: Decide whether to keep all mask islands in one image or separate them. Separate_Mask
Text and Use_Text: Create a mask from a text prompt. [Text_Sigma](https://github.com/ManglerFTW/ComfyI2I/blob/main/Guide_Images/Use_Text_Sigma 1.JPG?raw=true) [Text_Sigma](https://github.com/ManglerFTW/ComfyI2I/blob/main/Guide_Images/Use_Text_Sigma 2.JPG?raw=true)
Blend_Percentage: Blend your mask with a black and white image of what's underneath. Blend_Percentage
Black Level, Mid Level, White Level: Adjust these settings to change the levels of your mask. Levels
Shrink_Grow and Invert: Shrink, grow, or invert your mask. Shrink_Grow Invert
Blur_Radius: Blur your mask. Blur_Radius
This node segments and crops your mask and image based on bounding boxes, then upscales them for further processing. Inpaint Segments
This node resizes new images to the bounding boxes of your mask and pastes them over the original image. Combine and Paste
Basic Workflow: A basic workflow combining all nodes is available in the workflows directory under I2I workflow.json
.
Workflow
Color Transfer Workflow: A workflow for color transfer is available under Color Xfer Workflow.json
.
Color Transfer Workflow
Multi Color Transfer Workflow: A workflow for multi-color transfer is available under Multi_XFer_Workflow.json
.
Multi Color Transfer Workflow
How do I access ComfyShop? Right-click on any image node that outputs an image and mask, then select ComfyShop from the pop-up menu.
How do I adjust brush settings? Press Shift + Right Mouse Button to access the brush menu or use keyboard shortcuts.
What is the best way to transfer colors between images? Use the Color Transfer node and adjust the number of colors, blur radius, strength, gamma, contrast, and brightness settings.
For additional resources, tutorials, and community support, consider visiting the following:
© Copyright 2024 RunComfy. All Rights Reserved.