grok_batch
Run multiple image generation jobs in one batch, validating job count and daily quota before anything starts. Failed jobs don't stop the rest, so you get all results in a single call.
Instructions
Run several image jobs one after another. Each job: {"prompt", "name", "aspect"?, "n"? (1..4, default 1),
"mode"?, "max_side"?, "size"?, "keep_original"?, "timeout_s"?, "out_dir"?}.
The whole batch is checked first (job count, total submissions vs today's budget); nothing runs if it does not fit.
Batches needing more than confirm_over submissions need confirm=true (ask the user first).
Returns {"results": [...], "submissions_planned", "usage"}; a failed job gets an "error" and the batch goes on,
except budget/no-extension errors, which stop it and mark the rest "skipped".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| confirm | No | ||
| out_dir | No |