Nodes/CRT-Nodes/KSampler Batch (CRT)
ComfyUI Node

KSampler Batch (CRT)

A ComfyUI node in CRT/Sampling with 23 inputs and 3 outputs.

By PGCRT·Created 2 years ago·Updated 7 days ago· 129
KSampler Batch (CRT)
  • model
  • vae
  • positive
  • negative
  • latent_image
  • image
  • images
  • comparison_grid
  • latents
seed0
increment_seedtrue
steps8
cfg1.0
sampler_name
scheduler
denoise1.00
modeBatch (Parallel)
image_megapixels1.00
edit_model_flux2kleinfalse
reference_modeper_item
enable_vae_decodetrue
create_comparison_gridtrue
save_imagestrue
save_folder_path.\ComfyUI\output
save_subfolder_nameKSAMPLER_BATCH
save_filename_prefixoutput
CategoryCRT/Sampling

Inputs (23)

NameTypeDefaultDescription
modelMODEL
vaeVAE
positiveCONDITIONING
seedINT00–18446744073709550000
increment_seedBOOLEANtrueIf enabled, each batch item gets seed+1, seed+2, etc. If disabled, all items use the same seed.
stepsINT81–10000
cfgFLOAT1.00–100
sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
denoiseFLOAT1.000–1
modeCOMBOBatch (Parallel)2 options: Batch (Parallel), Sequential
image_megapixelsFLOAT1.000.1–16Target resolution in megapixels. Images are resized (lanczos) preserving aspect ratio and quantized to VAE boundaries before encoding.
edit_model_flux2kleinBOOLEANfalseEnable ReferenceLatent-style conditioning for edit/fill models (flux2klein). Forces denoise=1 and samples from an empty latent. Requires image input.
reference_modeCOMBOper_itemper_item: each image in the batch is used as its own reference latent. shared: image[0] is used as the reference for every batch item.
enable_vae_decodeBOOLEANtrueDecode latents to images using the VAE.
create_comparison_gridBOOLEANtrueCreate a horizontal side-by-side comparison grid of all batch outputs.
save_imagesBOOLEANtrueSave output images to disk.
save_folder_pathSTRING.\ComfyUI\outputRoot folder where outputs will be saved.
save_subfolder_nameSTRINGKSAMPLER_BATCHSubfolder inside the root folder for organizing outputs.
save_filename_prefixSTRINGoutputPrefix for output filenames. Seed is appended automatically.
negativeoptCONDITIONING
latent_imageoptLATENTStarting latent. If image is also connected, image takes priority. If neither input is connected, a dummy empty latent is auto-generated using VAE channel info.
imageoptIMAGEInput image batch. Resized to image_megapixels before encoding. In normal mode: VAE-encoded as the starting latent. In edit_model_flux2klein mode: used as reference latent; sampling starts from an empty latent.

Outputs (3)

NameTypeDescription
imagesIMAGE
comparison_gridIMAGE
latentsLATENT