ComfyUI Node
KSampler Batch (CRT)
A ComfyUI node in CRT/Sampling with 23 inputs and 3 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| vae | VAE | — | |
| positive | CONDITIONING | — | |
| seed | INT | 00–18446744073709550000 | — |
| increment_seed | BOOLEAN | true | If enabled, each batch item gets seed+1, seed+2, etc. If disabled, all items use the same seed. |
| steps | INT | 81–10000 | — |
| cfg | FLOAT | 1.00–100 | — |
| sampler_name | COMBO | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 | |
| scheduler | COMBO | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 | |
| denoise | FLOAT | 1.000–1 | — |
| mode | COMBO | Batch (Parallel) | 2 options: Batch (Parallel), Sequential |
| image_megapixels | FLOAT | 1.000.1–16 | Target resolution in megapixels. Images are resized (lanczos) preserving aspect ratio and quantized to VAE boundaries before encoding. |
| edit_model_flux2klein | BOOLEAN | false | Enable ReferenceLatent-style conditioning for edit/fill models (flux2klein). Forces denoise=1 and samples from an empty latent. Requires image input. |
| reference_mode | COMBO | per_item | per_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_decode | BOOLEAN | true | Decode latents to images using the VAE. |
| create_comparison_grid | BOOLEAN | true | Create a horizontal side-by-side comparison grid of all batch outputs. |
| save_images | BOOLEAN | true | Save output images to disk. |
| save_folder_path | STRING | .\ComfyUI\output | Root folder where outputs will be saved. |
| save_subfolder_name | STRING | KSAMPLER_BATCH | Subfolder inside the root folder for organizing outputs. |
| save_filename_prefix | STRING | output | Prefix for output filenames. Seed is appended automatically. |
| negativeopt | CONDITIONING | — | |
| latent_imageopt | LATENT | Starting 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. | |
| imageopt | IMAGE | Input 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)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| comparison_grid | IMAGE | — |
| latents | LATENT | — |