Batch Slider
How many images per run, without hunting for the right widget
- INT
Batch size is one of those settings you fiddle with every run - 1 for a quick check, 4 when you're exploring, 8 when you're willing to burn VRAM on variety. Batch Slider is the Flux Continuum pack's front-panel control for exactly that: a 1–10 slider that outputs the batch count as an integer, ready to feed whatever latent-creation or sampling node drives your batch.
How it works
Same pattern as the rest of the pack's slider family: a FLOAT slider internally, rounded to INT on the way out (the source uses round, not truncation, so the value you see is the value you get). It doesn't create latents or manage memory itself - it just produces the number, and the workflow's unified control layer routes it to wherever the batch size is consumed.
The 1–10 range is a deliberate ceiling. Batches on Flux chew through VRAM fast - each image is a full 1024×1024 latent plus attention memory - so most people live in the 1–4 range anyway. The slider being capped at 10 is the pack protecting you from yourself as much as anything.
Inputs and outputs
- value -
FLOAT, 1 to 10, default 1, step 1.
Output is one INT (the rounded batch size). Feed it to the batch-count input of your latent node or KSampler. In the Flux Continuum workflow, flip the batch count here and every module that respects batch size picks it up.
Installing it
Part of robertvoy/ComfyUI-Flux-Continuum:
cd ComfyUI/custom_nodes
git clone https://github.com/robertvoy/ComfyUI-Flux-Continuum
or ComfyUI Manager → "Flux Continuum", then restart. No extra dependencies.
Where people get burned
Batch size interacts badly with inpainting and img2img modules if the underlying nodes expect a single image - a "batch of 4" into an inpainting path can produce four outputs from the same masked input, or crash if the node assumed a single frame. If you see weird duplicated outputs, drop the batch slider back to 1 and check what the active module actually accepts. Also, batch >1 means every step runs for every image, so a 4-image batch at 25 steps is four times the render time - the slider makes it easy to forget that math.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT | 11–10 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |