ComfyUI > Nodes > CRT-Nodes > WAN 2.2 Batch Sampler (CRT)

ComfyUI Node: WAN 2.2 Batch Sampler (CRT)

Class Name

CRT_WAN_BatchSampler

Category
CRT/Sampling
Author
CRT (Account age: 1707days)
Extension
CRT-Nodes
Latest Updated
2026-03-16
Github Stars
0.1K

How to Install CRT-Nodes

Install this extension via the ComfyUI Manager by searching for CRT-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter CRT-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

WAN 2.2 Batch Sampler (CRT) Description

Facilitates efficient batch processing in AI art generation, creating comparison grids and detailed logs.

WAN 2.2 Batch Sampler (CRT):

The CRT WAN Batch Sampler is a sophisticated node designed to facilitate batch processing in AI art generation workflows. Its primary function is to efficiently handle multiple image samples simultaneously, optimizing the process of generating high-quality outputs. This node is particularly beneficial for artists and developers who require the generation of numerous images in a single operation, as it streamlines the workflow by managing the complexities of batch processing internally. The CRT WAN Batch Sampler is capable of creating comparison grids, which are useful for visualizing differences between generated images, and it provides detailed logging to track the progress and settings used during the batch sampling process. This node is essential for users looking to enhance productivity and maintain consistency across large sets of generated images.

WAN 2.2 Batch Sampler (CRT) Input Parameters:

batch_count

The batch_count parameter determines the number of image samples to be processed in a single batch. It directly impacts the node's execution by defining the workload size, which can affect both the processing time and the memory usage. A higher batch count can lead to faster overall processing but may require more system resources. Conversely, a lower batch count might be more manageable for systems with limited resources. The minimum value is 1, and there is no explicit maximum, but it should be set according to the system's capabilities.

create_comparison_grid

The create_comparison_grid parameter is a boolean option that, when enabled, instructs the node to generate a visual grid comparing the different images produced in the batch. This is particularly useful for artists who want to quickly assess variations between outputs. Enabling this option can slightly increase processing time and memory usage, especially with larger batch sizes.

increment_seed

The increment_seed parameter is a boolean option that, when enabled, ensures that each image in the batch is generated with a unique seed value. This is crucial for producing diverse outputs, as it prevents the generation of identical images. When disabled, all images in the batch will use the same seed, resulting in identical outputs. This parameter does not have a minimum or maximum value, as it is a toggle option.

WAN 2.2 Batch Sampler (CRT) Output Parameters:

samples

The samples output parameter provides the processed image samples from the batch. This output is crucial as it contains the high-noise batch outputs, which are the initial results before any post-processing or refinement. These samples are essential for further processing or analysis in the AI art generation workflow.

final_latent_batch_out

The final_latent_batch_out output parameter contains the refined image samples after processing. This output is significant as it represents the final, polished results that are ready for use or display. It is the culmination of the batch processing and reflects the node's ability to produce high-quality images.

images_out

The images_out output parameter, if available, contains the decoded images from the batch. This output is important for users who need immediate access to the visual results of the batch processing. It provides a straightforward way to view and assess the generated images.

grid_out

The grid_out output parameter, if generated, contains the comparison grid of the batch images. This output is valuable for users who want to visually compare the differences between the images in the batch. It is particularly useful for quality assessment and artistic evaluation.

settings_str

The settings_str output parameter provides a string detailing the settings used during the batch processing. This output is useful for documentation and reproducibility, as it allows users to keep track of the parameters and configurations that led to the generated results.

WAN 2.2 Batch Sampler (CRT) Usage Tips:

  • To optimize performance, adjust the batch_count according to your system's capabilities. A higher count can speed up processing but requires more memory.
  • Enable create_comparison_grid when you need to visually compare outputs, but be mindful of the additional resources it may require.

WAN 2.2 Batch Sampler (CRT) Common Errors and Solutions:

"Out of memory"

  • Explanation: This error occurs when the system does not have enough memory to process the specified batch size.
  • Solution: Reduce the batch_count or close other applications to free up memory.

"Invalid seed range"

  • Explanation: This error happens when the seed values are not correctly set, possibly due to an incorrect configuration of the increment_seed parameter.
  • Solution: Ensure that the seed values are correctly configured and that increment_seed is set appropriately for your needs.

WAN 2.2 Batch Sampler (CRT) Related Nodes

Go back to the extension to check out more related nodes.
CRT-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

WAN 2.2 Batch Sampler (CRT)