---
title: "Batch ControlNet Task with WAS Node Suite"
date: 2024-10-28T15:30:17.000Z
author: Z.SHINCHVEN
tags: [ComfyUI, controlnet, was-node-suite-comfyui, batch task]
canonical: https://atlassc.net/2024/10/29/batch-controlnet-task-with-was-node-suite
---
Say you have a folder of images of poses you want to mimic using the ControlNet OpenPose model in ComfyUI. It's wise to load and process those images one by one in a batch task like `automatic1111`. The [was-node-suite-comfyui](https://github.com/WASasquatch/was-node-suite-comfyui) has the custom node you need to load images from a folder, and you can use `Auto Queue` to iterate the image loading.

Here's a guide on how to do that:
1. You need to add the `Load Image Batch` node from `was-node-suite-comfyui`.
      1. Draw `index` on the left to create an `PrimitiveNode` input, set `value` to `0` and `control_after_generate` to `increment`.
      2. Drag `image` on the right to your ControlNet node.
      3. Set `mode` to `single_image`.
      4. Set a random `seed` if you like.
      5. Set `path` to your image folder.
2. Auto queue the `Load Image Batch` node.
      1. Click `Extra options` on the right of your ComfyUI.
      2. Check `Auto Queue`.
      3. Click the `Queue Prompt` button to go.
