Generate several images in parallel
antigravity_image_swarmGenerate multiple images in parallel using distinct workers for each prompt. Specify prompts, output paths, and concurrency limits for efficient batch image creation.
Instructions
Generate several images IN PARALLEL with Antigravity (one worker per prompt).
Like antigravity_image, but runs N image generations concurrently in isolated
workers (capped at max_concurrency). Returns one block listing each image's
final path/format/size (or its error). Extensions are corrected to the real
bytes, exactly like antigravity_image. Same unsandboxed privileges/caveats as
antigravity_swarm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompts | Yes | One image description per parallel worker. | |
| output_paths | No | Where to save each image (aligned to prompts). Omit to write timestamped files in the first workspace (or server cwd). | |
| workspaces | No | Working directory per worker (same shorthand as antigravity_swarm). | |
| max_concurrency | No | Max workers running at once (default 4). | |
| timeout_s | No | Per-worker timeout in seconds. Default 240 (images are slower). | |
| watch | No | If true, open the live dashboard; each finished image shows in its pane, and clicking a row opens that agent's window beside the dashboard. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |