ComfyUI Node: Advanced Random Integer Generator

Authored by Jaminanim

Created

Updated

0 stars

Category

Custom/Random

Inputs

min_width INT
max_width INT
width_divisors STRING
min_height INT
max_height INT
height_divisors STRING
randomize_width BOOLEAN
randomize_height BOOLEAN
maintain_aspect_ratio BOOLEAN
aspect_ratio FLOAT
aspect_ratio_basis
  • width
  • height
max_aspect_ratio_deviation FLOAT
randomization_type
  • Uniform
  • Gaussian
gaussian_mean_width INT
gaussian_std_width INT
gaussian_mean_height INT
gaussian_std_height INT
exclude_widths STRING
exclude_heights STRING
max_total_megapixels FLOAT
max_aspect_ratio_any_direction FLOAT

Outputs

INT

INT

Extension: ComfyUI-Random-Int-Divisor-Node

A set of custom ComfyUI nodes for generating random integers within a range, adjusted to the nearest multiple of a user-defined divisor. Needlessly includes both an efficient and simple list implementation. Updates with each generation.

Authored by Jaminanim

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more