ComfyUI Node: GridSwapper

Authored by kinfolk0117

Created

Updated

28 stars

Category

sampling/custom_sampling

Inputs

model MODEL
seed INT
steps INT
cfg FLOAT
sampler_name
  • euler
  • euler_cfg_pp
  • euler_ancestral
  • euler_ancestral_cfg_pp
  • heun
  • heunpp2
  • dpm_2
  • dpm_2_ancestral
  • lms
  • dpm_fast
  • dpm_adaptive
  • dpmpp_2s_ancestral
  • dpmpp_2s_ancestral_cfg_pp
  • dpmpp_sde
  • dpmpp_sde_gpu
  • dpmpp_2m
  • dpmpp_2m_cfg_pp
  • dpmpp_2m_sde
  • dpmpp_2m_sde_gpu
  • dpmpp_3m_sde
  • dpmpp_3m_sde_gpu
  • ddpm
  • lcm
  • ipndm
  • ipndm_v
  • deis
  • res_multistep
  • res_multistep_cfg_pp
  • res_multistep_ancestral
  • res_multistep_ancestral_cfg_pp
  • gradient_estimation
  • ddim
  • uni_pc
  • uni_pc_bh2
scheduler
  • normal
  • karras
  • exponential
  • sgm_uniform
  • simple
  • ddim_uniform
  • beta
  • linear_quadratic
  • kl_optimal
positive CONDITIONING
negative CONDITIONING
latent_image LATENT
denoise FLOAT
rows INT
cols INT

Outputs

LATENT

Extension: Gridswapper

Gridswapper takes a batch of latents and spreads them over the necessary amount of grids. It then automatically shuffles the images in the grids for each step. So, a batch of 12 latents for a 2x2 grid will generate 3 grid images in each step. It will then shuffle around the images for the next step. This makes it possible for all images to influence the others during the denoising process. This approach works well for generating 2-4 grids.

Authored by kinfolk0117

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