generate_images
Generate multiple images in parallel from separate prompts and output paths, useful for sprite sets, icons, or batched concept art. Returns results in job order and reports errors per job.
Instructions
Generate several images in parallel (e.g. every pose of a sprite set).
jobs: list of {"prompt", "output_path", optional "reference_images" and any per-job override of the shared options}. concurrency: parallel Codex runs (default 3; higher may hit rate limits). Returns one result per job in order; failed jobs carry "error".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jobs": "<jobs>"
},
"name": "generate_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| trim | No | ||
| max_size | No | ||
| overwrite | No | ||
| tolerance | No | ||
| chroma_key | No | ||
| concurrency | No | ||
| reasoning_effort | No | low |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |