Generate several images in parallel
antigravity_image_swarmGenerate multiple images in parallel from separate prompts, each running in its own worker, and receive final file paths, formats, sizes, or per-image errors.
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 |
|---|---|---|---|
| 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. | |
| prompts | Yes | One image description per parallel worker. | |
| timeout_s | No | Per-worker timeout in seconds. Default 240 (images are slower). | |
| workspaces | No | Working directory per worker (same shorthand as antigravity_swarm). | |
| output_paths | No | Where to save each image (aligned to prompts). Omit to write timestamped files in the first workspace (or server cwd). | |
| max_concurrency | No | Max workers running at once (default 4). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |