ComfyUI Node
CoachBate Batch Prompter
Outputs one prompt per queue run, iterating through all non-blank lines in a multiline text block. The starting position advances automatically after each run via the frontend; set it back to 1 to restart. Use with ComfyUI Auto Queue to generate one image per prompt line without manual re-queuing.
CoachBate Batch Prompter
- prompt
◄prepend_text►
◄multiline_texta beautiful sunset over the ocean
a mountain landscape at dawn
a city skyline at night►
◄append_text►
◄starting_number1►
◄max_prompts1000►
◄queue_all_at_oncetrue►
◄job_index0►
◄job_total0►
◄randomizefalse►
CategoryCoachBate
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| prepend_text | STRING | Text prepended to every prompt before it is output. | |
| multiline_text | STRING | a beautiful sunset over the ocean a mountain landscape at dawn a city skyline at night | One prompt per line. Blank lines are ignored. |
| append_text | STRING | Text appended to every prompt before it is output. | |
| starting_number | INT | 11–9999 | Prompt number (1-based) to start from, matching the gutter numbers — blank lines don't count. Advanced automatically during a run; restored to its original value when the batch finishes. |
| max_prompts | INT | 10001–9999 | Maximum number of prompts to run. Blank lines don't count. |
| queue_all_at_once | BOOLEAN | true | ON — Queue All At Once (default): Pressing Queue immediately posts every prompt as a separate job into ComfyUI's queue. All jobs are visible in the queue panel up front and run back-to-back without any delay between them. Fast, but you won't see individual prompts appear in real time — they all land in the queue before the first one even starts. OFF — One At A Time (sequential): Works exactly like the Shot Loader node. Pressing Queue runs a single prompt, then waits for it to fully finish before firing the next one. You see each result appear before the next job starts. Because there is a gap between jobs, you can tweak the workflow — change a sampler setting, swap a LoRA, adjust a prompt — and the change will be picked up by the next job. To restart from the beginning, set Starting Number back to 1. The Stop button halts the sequence at any point. |
| job_indexopt | INT | 00–9999 | Set automatically by Queue All Prompts. 1-based position of this job in the bulk batch. |
| job_totalopt | INT | 00–9999 | Set automatically by Queue All Prompts. Total number of jobs in the bulk batch. |
| randomizeopt | BOOLEAN | false | Execute the prompts in random order — never repeating — until max_prompts is reached. Reshuffled on every Run press. With max_prompts = 1 this runs a single randomly chosen prompt, handy for injecting one random prompt into a workflow. Prompts before starting_number are excluded from the pool. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |