← See All Custom Node Packs

Inspire Pack

791
By Dr.Lt.Data
Updated 7 months ago
View on GitHub →See Common Issues →

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
Get Started

This extension provides various nodes to support Lora Block Weight, Regional Nodes, Backend Cache, Prompt Utils, List Utils and the Impact Pack.

Available Nodes

FloatRange //Inspire

ComfyUI-Inspire-Pack: Float Range Node Documentation

Overview

The FloatRange (Inspire) node in the ComfyUI-Inspire-Pack is a utility for generating a list of floating-point numbers within a specified range. This node is designed to facilitate iterative processes and automation workflows where a sequence of numerical values is required.

Functionality

What This Node Does

The FloatRange (Inspire) node generates a list of floating-point numbers starting from a defined start value and incrementing by a specified step value until it reaches or surpasses a stop value. It is particularly useful for automated workflows that require parameter sweep over a range of values or simply need a series of numbers within certain bounds.

Inputs

The node accepts the following inputs:

  • Start: This is the initial value of the range. It determines where the sequence of numbers will begin.
  • Stop: This is the endpoint of the range. The sequence will aim to reach or exceed this value, depending on the step size and limit.
  • Step: This is the increment between subsequent numbers in the sequence. It defines how much each number will increase as the list is generated.
  • Limit: This defines the maximum number of elements in the generated list. It restricts how many numbers can be created in case the range is particularly large or incremental.
  • Ensure End: This is a boolean toggle that ensures the last value of the list is always equal to the stop value if possible.

Outputs

The node has the following output:

  • FLOAT (List): The output is a list of floating-point numbers generated according to the specified start, stop, step, and limit settings.

Special Features

  • Reversing Capability: If the start value is greater than the stop value, the node automatically adjusts to generate a reversed list, effectively counting down.
  • Dynamic Range Adjustment: When ensure_end is enabled and the loop mathematically can't reach stop with the given step, the node will adjust the final element to be exactly stop.

Use in ComfyUI Workflows

The FloatRange (Inspire) node is versatile and can be integrated into a variety of ComfyUI workflows, such as:

  • Parameter Tuning: Use this node in scenarios where you want to iterate over different parameter values to find optimal settings for a particular process.
  • Batch Processing: Generate stepwise test data for batch processing tasks.
  • Animation or Transition Effects: Make gradual value transitions or animations by generating a sequence of frames composed of floating-point values.
  • Simulation Workflows: When simulations need different gravitational constants, temperatures, or other varying conditions, the node can systematically provide these variations.

Considerations

  • Zero Step Size: Ensure the step size is not zero to avoid infinite loops or static output.
  • Output Limit: Be aware of the limit parameter, as it imposes an upper boundary on the number of outputs the list can contain.
  • Large Ranges: Large numerical ranges with small steps can generate significant amounts of data, which should be handled efficiently to avoid memory constraints.

The FloatRange (Inspire) node is a powerful tool for any ComfyUI user looking to automate tasks involving sequences of numbers and can significantly simplify the automation processes by reducing the need for manual entry of each step in a range.