← See All Custom Node Packs

Comfyroll Studio

1275
By Suzie1
Updated almost 2 years ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup and run ComfyUI online. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

175 custom nodes for artists, designers and animators.

Available Nodes

CR Cycle LoRAs

CR Cycle LoRAs Node Documentation

Overview

The CR Cycle LoRAs node is part of the Comfyroll Custom Nodes suite designed for ComfyUI. This node facilitates the sequential application of LoRA (Low-Rank Adaptation) models to base models, allowing for dynamic and varied output across animation frames. It provides flexibility and automation in modifying models during animation or iterative renderings within ComfyUI workflows.

Functionality

The primary function of the CR Cycle LoRAs node is to sequentially apply multiple LoRA configurations to a model and CLIP, cycling through a list of LoRA models over the course of rendering frames. This cycling is controlled by several parameters, which determine the timing and order of LoRA application.

Inputs

The node accepts the following inputs:

  • Mode: Selectable options are "Off" and "Sequential". Choosing "Sequential" will enable cycling through the provided LoRA list.
  • Model: The base model to which the LoRAs will be applied.
  • CLIP: The CLIP model associated with the base model.
  • LoRA List: A list of LoRA configurations to cycle through. Each configuration includes LoRA attributes necessary for application.
  • Frame Interval: An integer controlling the number of frames each LoRA model will remain active before cycling to the next. Default is 30 frames.
  • Loops: The number of cycles through the LoRA list. This allows for repeated application of the entire list during the animation.
  • Current Frame: An integer representing the current frame number. This parameter determines which LoRA to apply based on its value in relation to the Frame Interval.

Outputs

The node produces the following outputs:

  • Model: The base model with the current LoRA applied.
  • CLIP: The CLIP model with the current LoRA applied.
  • Show Help: A URL linking to the online documentation providing detailed help and examples related to the node.

Usage in ComfyUI Workflows

The CR Cycle LoRAs node is particularly useful in animation workflows where multiple LoRA models can be applied sequentially to achieve varied visual styles or effects over time. It is ideal for projects where dynamic model adaptation is desired without manual intervention for each frame.

Example Use Case

In an animation scenario, you might have a sequence where different styles need to transition seamlessly. By setting up a list of LoRAs where each represents a style, you can automate the transition by adjusting the Frame Interval to match the desired style duration and setting the Loops to iterate the styles over the animation timeline.

Special Features and Considerations

  • Flexibility: The node allows for great flexibility in terms of the number of LoRAs used and the duration each is applied.
  • Automation: Once set, the LoRA application is fully automated across the animation, reducing the need for manual changes.
  • Help URL: The output includes a URL linking to further documentation and examples, which provides users with additional support and guidance.

Considerations

  • Ensure that the LoRA list is properly configured for the base model to avoid compatibility issues.
  • The node is optimized for animation but can be used in any iterative process that benefits from cyclical parameter adjustments.
  • Always verify the loaded models and LoRAs to ensure that they function correctly within the constraints of ComfyUI and the broader workflow.

This documentation serves to assist users in understanding the function and utility of the CR Cycle LoRAs node within ComfyUI, offering insights into its setup and application possibilities.

Want to try Comfyroll Studio without installing anything? Run ComfyUI online on InstaSD's cloud GPUs — no setup required.