ComfyUI Node
CSV Batch Prompter
Parse CSV text into batches of prompts, negatives, and reference image paths. This node accepts CSV content as a string and parses it into lists that can be fed into a loop or batch sampler. It handles missing values by using defaults. Note: This node does NOT read files. Feed it CSV text from an upstream node that handles file I/O, or paste CSV content directly.
CSV Batch Prompter
- prompts_json
- negatives_json
- ref_images_json
- row_count
◄csv_text►
◄positive_colpositive►
◄negative_colnegative►
◄batch_size1►
◄ref_image_col►
CategoryParametric/Data
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| csv_text | STRING | Csv text. | |
| positive_col | STRING | positive | Positive col. Default positive. |
| negative_col | STRING | negative | Negative col. Default negative. |
| batch_size | INT | 11–10000 | How many to make at once. From 1 to 10000. Default 1. |
| ref_image_colopt | STRING | Ref image col. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| prompts_json | STRING | — |
| negatives_json | STRING | — |
| ref_images_json | STRING | — |
| row_count | INT | — |