generate_batch
Generate up to four images at once from different prompts, each with custom size and filename, in parallel browser tabs. Speeds up batch workflows while preserving exact output dimensions.
Instructions
Generate several DIFFERENT prompts at once, one browser tab per prompt, in parallel. Much faster than calling generate_image repeatedly. Up to 4 jobs; each can have its own size and filename. Reference images are not supported here — use generate_image for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | How to fit into `size`: "cover" crops to fill, "contain" fits everything and pads the edges. | cover |
| jobs | Yes | The jobs to run in parallel. Each needs a prompt; size (e.g. 1200x630), aspect and basename are optional per job. | |
| format | No | Output format. | jpg |
| out_dir | No | Destination folder. Defaults to FLOW_OUTPUT_DIR. | |
| background | No | Padding color for fit="contain", as a CSS color ("#0f172a", "black"). White by default. |