floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

ComfyUI-Loop

8

Last updated
2025-05-01

ComfyUI-Loop is a specialized extension for ComfyUI that facilitates interactive image manipulation and flexible file looping within workflows. It provides four distinct nodes that enable users to crop, paste, loop, and save various file types, enhancing the efficiency of inpainting and image processing tasks.

  • Designed for seamless looping of multiple file types, including images, masks, latents, audio, and text.
  • Features interactive cropping with live previews and customizable tile sizes for precise image adjustments.
  • Allows for the pasting of cropped images onto source images, enhancing the creative process through blending and masking options.

Context

ComfyUI-Loop is an extension tailored for ComfyUI, aimed at improving the workflow of image manipulation and file handling. Its primary purpose is to enable users to create dynamic loops of files, particularly beneficial in inpainting scenarios where iterative adjustments are required.

Key Features & Benefits

The tool offers practical features such as the ability to loop various file types, which simplifies the process of reusing outputs in subsequent iterations. The interactive cropping functionality allows users to define specific areas of images to manipulate, providing greater control over the creative process. The pasting feature further enhances this by enabling users to blend cropped images with source images, allowing for more complex compositions.

Advanced Functionalities

ComfyUI-Loop includes advanced capabilities such as the ability to save files with versioned backups, ensuring that users can track changes and revert to previous iterations if necessary. The looping mechanism intelligently overwrites files in the designated path, making them immediately available for the next processing step. This reduces manual file management and streamlines the workflow.

Practical Benefits

By integrating ComfyUI-Loop into their workflows, users can significantly enhance their control over image processing tasks, leading to improved quality and efficiency. The ability to loop files automatically and interactively crop images reduces repetitive tasks and accelerates the creative process, allowing artists and developers to focus on their work rather than file management.

Credits/Acknowledgments

This tool is developed under the MIT License, with contributions from several individuals including rgthree, chrisgoringe, and pythongosssss. The project acknowledges the use of icons based on the PAOMedia icon set, licensed under Creative Commons Attribution 3.0 Unported, and all other images in examples are sourced from CC0 (Wikimedia Commons).